Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collection of fixes for building without pre-compiled headers #1672

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Nov 3, 2021

Description of Change(s)

ie, if -DPXR_ENABLE_PRECOMPILED_HEADERS=OFF

wanted to build without precompiled headers to help with debugging a
strange build issue (ie, create more transparent + atomic build steps)

also, turning off PCH usage allows stashed.io (a
caching compiler wrapper for MSVC) to operate when using PDB
(see: https://github.com/playscale/stashed.io/wiki/PDB-and-PCH-generation)

most fixes are pretty self-explanatory - adding some missing headers to
individual source / header files

in stackTrace.cpp, the include of Winsock2.h must happen before windows.h,
which is brought in via fileSystem.h

ie, if -DPXR_ENABLE_PRECOMPILED_HEADERS=OFF

wanted to build without precompiled headers to help with debugging a
strange build issue (ie, create more transparent + atomic build steps)

also, turning off PCH usage allows stashed.io (a
caching compiler wrapper for MSVC) to operate when using PDB
(see: https://github.com/playscale/stashed.io/wiki/PDB-and-PCH-generation)

most fixes are pretty self-explanatory - adding some missing headers to
individual source / header files

in stackTrace.cpp, the include of Winsock2.h must happen before windows.h,
which is brought in via fileSystem.h

See:
PixarAnimationStudios#1672
@jilliene
Copy link

jilliene commented Nov 4, 2021

Filed as internal issue #USD-7002

@sunyab sunyab changed the base branch from release to dev November 12, 2021 19:38
@pixar-oss pixar-oss merged commit 60755d3 into PixarAnimationStudios:dev Nov 25, 2021
lkerley pushed a commit to imageworks/USD that referenced this pull request Jan 7, 2022
ie, if -DPXR_ENABLE_PRECOMPILED_HEADERS=OFF

wanted to build without precompiled headers to help with debugging a
strange build issue (ie, create more transparent + atomic build steps)

also, turning off PCH usage allows stashed.io (a
caching compiler wrapper for MSVC) to operate when using PDB
(see: https://github.com/playscale/stashed.io/wiki/PDB-and-PCH-generation)

most fixes are pretty self-explanatory - adding some missing headers to
individual source / header files

in stackTrace.cpp, the include of Winsock2.h must happen before windows.h,
which is brought in via fileSystem.h

See:
PixarAnimationStudios#1672
buddly27 pushed a commit to untwine/pxr-arch that referenced this pull request Aug 20, 2023
ie, if -DPXR_ENABLE_PRECOMPILED_HEADERS=OFF

wanted to build without precompiled headers to help with debugging a
strange build issue (ie, create more transparent + atomic build steps)

also, turning off PCH usage allows stashed.io (a
caching compiler wrapper for MSVC) to operate when using PDB
(see: https://github.com/playscale/stashed.io/wiki/PDB-and-PCH-generation)

most fixes are pretty self-explanatory - adding some missing headers to
individual source / header files

in stackTrace.cpp, the include of Winsock2.h must happen before windows.h,
which is brought in via fileSystem.h

See:
PixarAnimationStudios/OpenUSD#1672
buddly27 pushed a commit to untwine/pxr-arch that referenced this pull request Mar 24, 2024
ie, if -DPXR_ENABLE_PRECOMPILED_HEADERS=OFF

wanted to build without precompiled headers to help with debugging a
strange build issue (ie, create more transparent + atomic build steps)

also, turning off PCH usage allows stashed.io (a
caching compiler wrapper for MSVC) to operate when using PDB
(see: https://github.com/playscale/stashed.io/wiki/PDB-and-PCH-generation)

most fixes are pretty self-explanatory - adding some missing headers to
individual source / header files

in stackTrace.cpp, the include of Winsock2.h must happen before windows.h,
which is brought in via fileSystem.h

See:
PixarAnimationStudios/OpenUSD#1672
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants