You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to build OpenUSD v24.11 on Windows. For reference, my last successful build using the exact same setup was OpenUSD v23.11. Also the last version, OpenUSD v24.08, and was successfully compiled.
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(386): error C2440: '': cannot convert from 'pxrInternal_v0_24_11__pxrReserved__::SdfPath' to 'std::optional<pxrInternal_v0_24_11__pxrReserved__::SdfReference>' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(386): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(475): note: see reference to function template instantiation 'void pxrInternal_v0_24_11__pxrReserved__::`anonymous-namespace'::ProcessListOpCompositionFieldEditsAtSite<pxrInternal_v0_24_11__pxrReserved_::SdfReference>(const pxrInternal_v0_24_11__pxrReserved__::PcpLayerStackRefPtr &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::TfToken &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,std::vector<pxrInternal_v0_24_11__pxrReserved__::PcpDependentNamespaceEdits::CompositionFieldEdit,std::allocator<Ty>> *)' being compiled
with
[ Ty=pxrInternal_v0_24_11__pxrReserved::PcpDependentNamespaceEdits::CompositionFieldEdit
]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(389): error C2039: 'SetPrimPath': is not a member of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:/OpenUSD-release_v24.11/pxr/usd/pcp/primIndex.h(47): note: see declaration of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath'
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(487): note: see reference to function template instantiation 'void pxrInternal_v0_24_11__pxrReserved__::`anonymous-namespace'::ProcessListOpCompositionFieldEditsAtSite<pxrInternal_v0_24_11__pxrReserved_::SdfPath>(const pxrInternal_v0_24_11__pxrReserved__::PcpLayerStackRefPtr &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::TfToken &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,std::vector<pxrInternal_v0_24_11__pxrReserved__::PcpDependentNamespaceEdits::CompositionFieldEdit,std::allocator<Ty>> *)' being compiled
with
[ Ty=pxrInternal_v0_24_11__pxrReserved::PcpDependentNamespaceEdits::CompositionFieldEdit
]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(389): error C2039: 'this': is not a member of 'pxrInternal_v0_24_11__pxrReserved::SdfPath' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:/OpenUSD-release_v24.11/pxr/usd/pcp/primIndex.h(47): note: see declaration of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath'
ERROR: Failed to run 'cmake --build . --config Release --target install -- /M:8' in C:\OpenUSD-release_v24.11\Build_2017\build\OpenUSD-release_v24.11.
See C:\OpenUSD-release_v24.11\Build_2017\build\OpenUSD-release_v24.11\log.txt for more details.
Description of Issue
Failed to build OpenUSD v24.11 on Windows. For reference, my last successful build using the exact same setup was OpenUSD v23.11. Also the last version, OpenUSD v24.08, and was successfully compiled.
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(386): error C2440: '': cannot convert from 'pxrInternal_v0_24_11__pxrReserved__::SdfPath' to 'std::optional<pxrInternal_v0_24_11__pxrReserved__::SdfReference>' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(386): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(475): note: see reference to function template instantiation 'void pxrInternal_v0_24_11__pxrReserved__::`anonymous-namespace'::ProcessListOpCompositionFieldEditsAtSite<pxrInternal_v0_24_11__pxrReserved_::SdfReference>(const pxrInternal_v0_24_11__pxrReserved__::PcpLayerStackRefPtr &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::TfToken &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,std::vector<pxrInternal_v0_24_11__pxrReserved__::PcpDependentNamespaceEdits::CompositionFieldEdit,std::allocator<Ty>> *)' being compiled
with
[
Ty=pxrInternal_v0_24_11__pxrReserved::PcpDependentNamespaceEdits::CompositionFieldEdit
]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(389): error C2039: 'SetPrimPath': is not a member of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:/OpenUSD-release_v24.11/pxr/usd/pcp/primIndex.h(47): note: see declaration of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath'
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(487): note: see reference to function template instantiation 'void pxrInternal_v0_24_11__pxrReserved__::`anonymous-namespace'::ProcessListOpCompositionFieldEditsAtSite<pxrInternal_v0_24_11__pxrReserved_::SdfPath>(const pxrInternal_v0_24_11__pxrReserved__::PcpLayerStackRefPtr &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::TfToken &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,const pxrInternal_v0_24_11__pxrReserved__::SdfPath &,std::vector<pxrInternal_v0_24_11__pxrReserved__::PcpDependentNamespaceEdits::CompositionFieldEdit,std::allocator<Ty>> *)' being compiled
with
[
Ty=pxrInternal_v0_24_11__pxrReserved::PcpDependentNamespaceEdits::CompositionFieldEdit
]
C:\OpenUSD-release_v24.11\pxr\usd\pcp\dependentNamespaceEditUtils.cpp(389): error C2039: 'this': is not a member of 'pxrInternal_v0_24_11__pxrReserved::SdfPath' [C:\OpenUSD-release_v24.11\build_2017\build\OpenUSD-release_v24.11\pxr\usd\pcp\pcp.vcxproj]
C:/OpenUSD-release_v24.11/pxr/usd/pcp/primIndex.h(47): note: see declaration of 'pxrInternal_v0_24_11__pxrReserved__::SdfPath'
ERROR: Failed to run 'cmake --build . --config Release --target install -- /M:8' in C:\OpenUSD-release_v24.11\Build_2017\build\OpenUSD-release_v24.11.
See C:\OpenUSD-release_v24.11\Build_2017\build\OpenUSD-release_v24.11\log.txt for more details.
Steps to Reproduce
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
"C:\Python310_x64\python.exe" "build_scripts\build_usd.py" "C:\OpenUSD-release_v24.11\Build_2017" --no-docs --no-embree --no-python --no-python-docs --no-debug-python --no-draco --no-prman --no-materialx --no-alembic --no-hdf5 --no-opencolorio --no-openimageio --no-usdview --no-openvdb --no-ptex --no-imaging
System Information (OS, Hardware)
Windows (64-bit)
Package Versions
OpenUSD v24.11
Visual Studio C++ 2017 (Version 15.8.5)
Cmake 3.28.0
Python 3.10.6 (64-bit)
Powershell 5.1
Build Flags
--no-docs --no-embree --no-python --no-python-docs --no-debug-python --no-draco --no-prman --no-materialx --no-alembic --no-hdf5 --no-opencolorio --no-openimageio --no-usdview --no-openvdb --no-ptex --no-imaging
The text was updated successfully, but these errors were encountered: