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

Failure to build on Windows with OIIO, VS 2022 #3506

Open
lightwolf opened this issue Jan 30, 2025 · 1 comment
Open

Failure to build on Windows with OIIO, VS 2022 #3506

lightwolf opened this issue Jan 30, 2025 · 1 comment

Comments

@lightwolf
Copy link
Contributor

lightwolf commented Jan 30, 2025

Building using the following command line errors out. It worked with the previous release.

Building with settings:
  USD source directory          G:\Projekte\usd
  USD install directory         G:\Projekte\usd_inst
  3rd-party source directory    G:\Projekte\usd_inst\src
  3rd-party install directory   G:\Projekte\usd_inst
  Build directory               G:\Projekte\usd_inst\build
  CMake generator               Default
  CMake toolset                 Default
  Downloader                    curl

  Building                      Shared libraries
    Variant                     Release
    Target
    UsdValidation               On
    Imaging                     On
      Ptex support:             Off
      OpenVDB support:          Off
      OpenImageIO support:      On
      OpenColorIO support:      Off
      PRMan support:            Off
    UsdImaging                  On
      usdview:                  Off
    MaterialX support           On
    Python support              Off
      Python Debug:             Off
      Python docs:              Off
    Documentation               Off
    Tests                       Off
      Mayapy Tests:             Off
      AnimX Tests:              Off
    Examples                    On
    Tutorials                   On
    Tools                       On
    Alembic Plugin              Off
      HDF5 support:             Off
    Draco Plugin                Off

Dependencies                  MaterialX, OpenSubdiv, zlib, boost, JPEG, TIFF, PNG, OpenEXR, OpenImageIO
STATUS: Installing MaterialX...
STATUS: Installing OpenSubdiv...
STATUS: Installing zlib...
STATUS: Installing boost...
STATUS: Installing JPEG...
STATUS: Installing TIFF...
STATUS: Installing PNG...
STATUS: Installing OpenEXR...
STATUS: Installing OpenImageIO...
2025-01-30 10:09
cmake -DCMAKE_INSTALL_PREFIX="G:\Projekte\usd_inst" -DCMAKE_PREFIX_PATH="G:\Projekte\usd_inst" -DCMAKE_BUILD_TYPE=Release  -G "Visual Studio 17 2022" -A x64  -DOIIO_BUILD_TOOLS=OFF -DOIIO_BUILD_TESTS=OFF -DBUILD_DOCS=OFF -DUSE_PYTHON=OFF -DSTOP_ON_WARNING=OFF -DOPENEXR_ROOT="G:\Projekte\usd_inst" -DUSE_PTEX=OFF -DBoost_NO_BOOST_CMAKE=On -DBoost_NO_SYSTEM_PATHS=True -DCMAKE_DEBUG_POSTFIX="" "G:\Projekte\usd_inst\src\OpenImageIO-2.5.16.0"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The CXX compiler identification is MSVC 19.42.34436.0
-- The C compiler identification is MSVC 19.42.34436.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.5.16.0
-- CMake 3.29.5-msvc4
-- CMake system           = Windows-10.0.22631
-- CMake system name      = Windows
-- Project source dir     = G:/Projekte/usd_inst/src/OpenImageIO-2.5.16.0
-- Project build dir      = G:/Projekte/usd_inst/build/OpenImageIO-2.5.16.0
-- Project install prefix = G:/Projekte/usd_inst
-- Configuration types    = Debug;Release;MinSizeRel;RelWithDebInfo
-- Build type             = Release
-- Supported release      = ON
-- CMAKE_UNITY_BUILD_MODE =
-- CMAKE_UNITY_BUILD_BATCH_SIZE =
-- Setting Namespace to: OpenImageIO_v2_5
-- CMAKE_CXX_COMPILER     = C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID  = MSVC
-- Building with C++14, downstream minimum C++14
-- Using Boost::filesystem
-- clang-format found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/Llvm/x64/bin/clang-format.exe
--
-- * Checking for dependencies...
-- *   - Missing a dependency 'Package'?
-- *     Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- *     For many dependencies, we supply src/build-scripts/build_Package.bash
-- *   - To exclude an optional dependency (even if found),
-- *     -DUSE_Package=OFF or set environment var USE_Package=OFF
--
-- Boost_COMPONENTS = thread;filesystem
-- Boost library not found
--     Try setting Boost_ROOT ?
CMake Error at src/cmake/checked_find_package.cmake:184 (message):
  Boost is required, aborting.
Call Stack (most recent call first):
  src/cmake/externalpackages.cmake:71 (checked_find_package)
  CMakeLists.txt:176 (include)


-- Configuring incomplete, errors occurred!

ERROR: Failed to run 'cmake -DCMAKE_INSTALL_PREFIX="G:\Projekte\usd_inst" -DCMAKE_PREFIX_PATH="G:\Projekte\usd_inst" -DCMAKE_BUILD_TYPE=Release  -G "Visual Studio 17 2022" -A x64  -DOIIO_BUILD_TOOLS=OFF -DOIIO_BUILD_TESTS=OFF -DBUILD_DOCS=OFF -DUSE_PYTHON=OFF -DSTOP_ON_WARNING=OFF -DOPENEXR_ROOT="G:\Projekte\usd_inst" -DUSE_PTEX=OFF -DBoost_NO_BOOST_CMAKE=On -DBoost_NO_SYSTEM_PATHS=True -DCMAKE_DEBUG_POSTFIX="" "G:\Projekte\usd_inst\src\OpenImageIO-2.5.16.0"' in G:\Projekte\usd_inst\build\OpenImageIO-2.5.16.0.
See G:\Projekte\usd_inst\build\OpenImageIO-2.5.16.0\log.txt for more details.
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10618

(This is an automated message. See here for more information.)

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