Skip to content
New issue

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

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

Already on GitHub? # to your account

Boost_PYTHON_LIBRARY not populated with Boost1.70+ unless -DBoost_NO_BOOST_CMAKE is specified #1255

Closed
kaarrot opened this issue Jun 29, 2020 · 1 comment

Comments

@kaarrot
Copy link

kaarrot commented Jun 29, 2020

The Boost_PYTHON_LIBRARY variable is not populated when built with boost1.70+ unless explicitly pass Boost_NO_BOOST_CMAKE=ON (this is not documented in BUILDING.md)

Most bindings are built as expected only failing at runtime due to unresolved symbols.

Would it be possible to improve logic how Boost Python is detected and report problems at CMake configuration step?

I was able to built and link successfully with the following command.
cmake .. -DPXR_USE_PYTHON_3=ON -DCMAKE_INSTALL_PREFIX=~/toolchains/usd_boost_1_71_1 -DPXR_BUILD_TESTS=OFF -DBOOST_INCLUDEDIR=~/boost_1_71_0 -DBOOST_LIBRARYDIR=~/boost_1_71_0/stage/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_NO_BOOST_CMAKE=ON

@jtran56
Copy link

jtran56 commented Jul 2, 2020

Filed as internal issue #USD-6196.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants