Skip to content

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

Description

@msf567

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions