Closed DDoS closed 2 months ago
Hi, thanks for filing the issue -- we ran into the same problems as well and have a fix that will be pushed up to the dev branch shortly.
Feel free to close this then. Thanks.
Closing this out per comments above. Thanks!
Description of Issue
The
dev
branch doesn't build because OpenImageIO can't find OpenEXR. This is because commit 5332d627cb28991e812acd67b8971e87367d9191 removed the OpenEXR path from the OpenImageIO CMake variables (-DOPENEXR_ROOT=...
), and attempted to turn off the feature using-DUSE_OPENEXR=OFF
. Unfortunately this is a required dependency of OpenImageIO v2.3.21.0, and the flagUSE_OPENEXR
doesn't exist.See
<install path>/src/OpenImageIO-2.3.21.0/src/cmake/externalpackages.cmake
:As the message on the previous code mentions, I think this still builds for some people because it's instead finding a system install of OpenImageIO.
Also even the latest version of OpenImageIO required OpenEXR, see:
https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/8ae48b280439abae6b971062e9413be938469b3d/src/cmake/externalpackages.cmake#L63
, so I believe this commit should just be reverted.Steps to Reproduce
System Information (OS, Hardware)
Package Versions
dev@5332d627cb28991e812acd67b8971e87367d9191
Build Flags
python -u build_scripts/build_usd.py --generator Ninja --build-variant relwithdebuginfo --build build/Release install/Release --tests --cmake-build-args="-DPXR_ENABLE_VULKAN_SUPPORT=ON -DPXR_BUILD_GPU_SUPPORT=ON"