Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Could NOT find Boost (missing: python312) (found version "1.76.0") #48

Open
msf567 opened this issue Jun 24, 2024 · 1 comment
Open

Comments

@msf567
Copy link

msf567 commented Jun 24, 2024

I'm trying to build this project and I'm getting this cmake error.

A:\USDPluginExamples\build>cmake .. -G "Visual Studio 17 2022" -DUSD_ROOT="A:\USDInstall" -DCMAKE_INSTALL_PREFIX="A:\USDPluginExamples\"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- TBB_ROOT not set, defaulting to A:\USDInstall
CMake Warning (dev) at cmake/Packages.cmake:30 (find_package):
  Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
  variables.  Run "cmake --help-policy CMP0144" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  CMake variable BOOST_ROOT is set to:

    A:\USDInstall\include\boost-1_76

  For compatibility, find_package is ignoring the variable, but code in a
  .cmake module might still use it.
Call Stack (most recent call first):
  CMakeLists.txt:25 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Disabling boost-provided cmake config
CMake Error at C:/Python312/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: python312) (found version "1.76.0")
Call Stack (most recent call first):
  C:/Python312/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  C:/Python312/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/FindBoost.cmake:2393 (find_package_handle_standard_args)
  cmake/Packages.cmake:47 (find_package)
  CMakeLists.txt:25 (include)

-- Configuring incomplete, errors occurred!

my cmake command is cmake .. -G "Visual Studio 17 2022" -DUSD_ROOT="A:\USDInstall" -DCMAKE_INSTALL_PREFIX="A:\USDPluginExamples\"

Any idea of where I should look to debug this? my USD install is a fresh build form the repo...

@n-burk
Copy link

n-burk commented Dec 30, 2024

The boost dependency has changed in OpenUsd so this section of Packages.cmake may no longer be relevant. As of right now, for python bindings, boost python bindings are now internal to the OpenUsd lib and no longer an external dependency

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

No branches or pull requests

2 participants