google / usd_from_gltf

Apache License 2.0
547 stars 85 forks source link

Installation error #56

Open ZeroSOFAD opened 4 years ago

ZeroSOFAD commented 4 years ago

I have error. Please help. I installed on Win10 with Python 3.7.4 Visual Studio 14 2015

-------- Installing USD_FROM_GLTF -------- USD_FROM_GLTF: CWD: c:\OpenServer\domains\3d\usd_from_gltf_build\build\usd_from_gltf USD_FROM_GLTF: Run: cmake c:\OpenServer\domains\3d\usd_from_gltf -DCMAKE_INSTALL_PREFIX=c:\OpenServer\domains\3d\usd_from_gltf_build -DCMAKE_PREFIX_PATH=c:\OpenServer\domains\3d\usd_from_gltf_build -DUSD_DIR=c:\OpenServer\domains\3d\usdp -DCMAKE_GENERATOR_PLATFORM=x64 USD_FROM_GLTF: CWD: c:\OpenServer\domains\3d\usd_from_gltf_build\build\usd_from_gltf USD_FROM_GLTF: Run: cmake --build . --config Release --target install -- /m Microsoft (R) Build Engine ўҐабЁЁ 14.0.25420.1 (C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў  § йЁйҐ­л.

gltf.vcxproj -> C:\OpenServer\domains\3d\usd_from_gltf_build\build\usd_from_gltf\gltf\Release\gltf.lib config.cc c:\OpenServer\domains\3d\usdp\include\pxr/base/tf/diagnosticHelper.h(35): fatal error C1083: Cannot open include file: 'boost/any.hpp': No such file or directory [C:\OpenServer\domains\3d\usd_from_gltf_build\build\usd_from_gltf\common\common.vcxproj] logging.cc c:\OpenServer\domains\3d\usdp\include\pxr/base/tf/diagnosticHelper.h(35): fatal error C1083: Cannot open include file: 'boost/any.hpp': No such file or directory [C:\OpenServer\domains\3d\usd_from_gltf_build\build\usd_from_gltf\common\common.vcxproj] Generating Code...

jornejongsma commented 4 years ago

Same here: Win10; Python 2.7.18; VS 2019; USD-20.05:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>python E:_repos\usd_from_gltf-master/tools/ufginstall/ufginstall.py C:\UFG C:\USD --testdata Install Settings: Source Directory: E:_repos\usd_from_gltf-master Install Directory: C:\UFG USD Directory: C:\USD Download Directory: C:\UFG\src Build Directory: C:\UFG\build Build Config: Release CMake Generator: Default Already Installed: DRACO, GIF, JPG, JSON, ZLIB, PNG, STB_IMAGE, TCLAP, TESTDATA_SAMPLES, TESTDATA_REFERENCE Installing: USD_FROM_GLTF

-------- Installing USD_FROM_GLTF -------- USD_FROM_GLTF: CWD: C:\UFG\build\usd_from_gltf-master USD_FROM_GLTF: Run: cmake E:_repos\usd_from_gltf-master -DCMAKE_INSTALL_PREFIX=C:\UFG -DCMAKE_PREFIX_PATH=C:\UFG -DUSD_DIR=C:\USD -DCMAKE_GENERATOR_PLATFORM=x64 USD_FROM_GLTF: CWD: C:\UFG\build\usd_from_gltf-master USD_FROM_GLTF: Run: cmake --build . --config Release --target install -- /m Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Checking Build System gltf.vcxproj -> C:\UFG\build\usd_from_gltf-master\gltf\Release\gltf.lib config.cc C:\USD\include\pxr/base/tf/diagnosticHelper.h(35,10): fatal error C1083: Cannot open include file: 'boost/any.hpp': No such file or directory [C:\UFG\build\usd_from_gltf-master\common\common.vcxproj] logging.cc C:\USD\include\pxr/base/tf/diagnosticHelper.h(35,10): fatal error C1083: Cannot open include file: 'boost/any.hpp': No such file or directory [C:\UFG\build\usd_from_gltf-master\common\common.vcxproj] Generating Code...

USD_FROM_GLTF: ERROR: Command failed: cmake --build . --config Release --target install -- /m USD_FROM_GLTF: See log at: C:\UFG\build\usd_from_gltf-master\log.txt

v-prgmr commented 3 years ago

Any update on this? I have the same issue with any.hpp

droetker commented 3 years ago

I solved this error by changing the boost directory in CMakeList.txt. Included boost version was 1.65 in CMakeList.txt but usd installed a different version of boost which was 1.70 for me.

v-prgmr commented 3 years ago

@droetker Thank you. Fixing the boost version in the CmakeList.txt fixed the issue (y)

motadon-atharva commented 3 years ago

I solved this error by changing the boost directory in CMakeList.txt. Included boost version was 1.65 in CMakeList.txt but usd installed a different version of boost which was 1.70 for me.

Where is this file located?