When running the build script from the "x64 Native Command Prompt for VS 2022", cmake runs into an error in concurrentList.h at (133,16):
C:\src\USD\pxr\base\trace\concurrentList.h(133,16): error C2039: "construct" ist kein Member von "tbb::detail::d1::cache_aligned_allocator<pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>::Node>". [C:\src\USD\build\USD\pxr\base\trace\trace.vcxproj]
"ist kein Member von" means "is no member of"
This is the whole output, when I run cmake again:
C:\src\USD\build\USD>cmake --build . --config Release --target install -- /M:16
MSBuild-Version 17.8.3+195e7f5a3 für .NET Framework
arch.vcxproj -> C:\src\USD\build\USD\pxr\base\arch\Release\usd_arch.dll
tf.vcxproj -> C:\src\USD\build\USD\pxr\base\tf\Release\usd_tf.dll
garch.vcxproj -> C:\src\USD\build\USD\pxr\imaging\garch\Release\usd_garch.dll
js.vcxproj -> C:\src\USD\build\USD\pxr\base\js\Release\usd_js.dll
gf.vcxproj -> C:\src\USD\build\USD\pxr\base\gf\Release\usd_gf.dll
cameraUtil.vcxproj -> C:\src\USD\build\USD\pxr\imaging\cameraUtil\Release\usd_cameraUtil.dll
collector.cpp
C:\src\USD\pxr\base\trace\concurrentList.h(133,16): error C2039: "construct" ist kein Member von "tbb::detail::d1::cache_aligned_allocator<pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceColl
ector::_PerThreadData>::Node>". [C:\src\USD\build\USD\pxr\base\trace\trace.vcxproj]
(Quelldatei "../../../../../pxr/base/trace/collector.cpp" wird kompiliert)
C:\src\USD\pxr\base\trace\concurrentList.h(144,10):
Siehe Deklaration von "tbb::detail::d1::cache_aligned_allocator<pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>::Node>"
C:\src\USD\pxr\base\trace\concurrentList.h(133,16):
der Vorlageninstanziierungskontext (der älteste zuerst) ist
C:\src\USD\pxr\base\trace\collector.h(618,41):
Siehe Verweis auf die gerade kompilierte Klasse Vorlage-Instanziierung "pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>".
C:\src\USD\pxr\base\trace\concurrentList.h(131,14):
beim Kompilieren der Klasse Vorlage-Memberfunktion "pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>::iterator pxrInternal_v0_23__pxrReserved__::TraceConcurr
entList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>::Insert(void)"
C:\src\USD\pxr\base\trace\collector.cpp(67,20):
Ersten Verweis auf "pxrInternal_v0_23__pxrReserved__::TraceConcurrentList<pxrInternal_v0_23__pxrReserved__::TraceCollector::_PerThreadData>::Insert" in "pxrInternal_v0_23__pxrReserved__::TraceCollector::_GetThreadData" a
nzeigen
I tried it with Visual Studio 2019 as well as 2022. They both fail at the same step.
I would consider myself to be a noob, so it might very well be an error on my side. Either way, I hope someone understands the cause, as I have been trying to build usd since yesterday morning :)
If there is any additional information I could provide that might be helpful, please let me know!
Steps to Reproduce
clone OpenUSD
install Python 3.10 (through the Microsoft Store)
pip3.10 install PySide6 (6.6.1) and PyOpenGL (3.1.7)
open the "x64 Native Tools Command Prompt for VS 2022" as administrator
Description of Issue
When running the build script from the "x64 Native Command Prompt for VS 2022", cmake runs into an error in concurrentList.h at (133,16):
"ist kein Member von" means "is no member of"
This is the whole output, when I run cmake again:
Content of the log.txt
I tried it with Visual Studio 2019 as well as 2022. They both fail at the same step. I would consider myself to be a noob, so it might very well be an error on my side. Either way, I hope someone understands the cause, as I have been trying to build usd since yesterday morning :) If there is any additional information I could provide that might be helpful, please let me know!
Steps to Reproduce
C:\>python3.10 src\USD\build_scripts\build_usd.py "C:\src\USD"
System Information (OS, Hardware)