microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.36k stars 6.46k forks source link

[openimageio[pybind11]:x64-windows] build failure #19619

Closed OlivierArgentieri closed 2 years ago

OlivierArgentieri commented 3 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: Edit \ports\pybind11\CONTROL and replace "Build-Depends: python3" to "Build-Depends: python2" then ./vcpkg install openimageio[pybind11]:x64-windows

Failure logs Console Log :

Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,pybind11]:x64-windows...
-- Using cached D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/OpenImageIO-oiio-5167b11277fffcd9fe18fe4dc35b3eb2669d8c44.tar.gz
-- Cleaning sources at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/OpenImageIO-oiio-5167b11277fffcd9fe18fe4dc35b3eb2669d8c44.tar.gz
-- Applying patch fix-config-cmake.patch
-- Applying patch fix-dependency.patch
-- Applying patch fix_static_build.patch
-- Using source at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/openimageio/portfile.cmake:36 (vcpkg_check_features)
  scripts/ports.cmake:142 (include)

-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
    Command failed: ninja -v
    Working Directory: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\Projet\Temp\vcpkg_test\vcpkg-2021.05.12\buildtrees\openimageio\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:323 (vcpkg_execute_required_process)
  ports/openimageio/portfile.cmake:54 (vcpkg_configure_cmake)
  scripts/ports.cmake:142 (include)

config-x64-windows-out.log:

[1/2] cmd /c "cd .. && "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean" "-DUSE_LIBRAW=OFF" "-DUSE_OCIO=OFF" "-DUSE_FFMPEG=OFF" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=OFF" "-DUSE_GIF=OFF" "-DUSE_OPENCV=OFF" "-DUSE_OPENJPEG=OFF" "-DUSE_WEBP=OFF" "-DUSE_PYTHON=ON" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DHIDE_SYMBOLS=ON" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=OFF" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12" "-D_VCPKG_INSTALLED_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows""
FAILED: ../CMakeCache.txt 
cmd /c "cd .. && "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean" "-DUSE_LIBRAW=OFF" "-DUSE_OCIO=OFF" "-DUSE_FFMPEG=OFF" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=OFF" "-DUSE_GIF=OFF" "-DUSE_OPENCV=OFF" "-DUSE_OPENJPEG=OFF" "-DUSE_WEBP=OFF" "-DUSE_PYTHON=ON" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DHIDE_SYMBOLS=ON" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=OFF" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12" "-D_VCPKG_INSTALLED_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows""
-- The CXX compiler identification is MSVC 19.27.29111.0
-- The C compiler identification is MSVC 19.27.29111.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/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 (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.2.10.0
-- CMake 3.20.2
-- CMake system           = Windows-10.0.19041
-- CMake system name      = Windows
-- Project source dir     = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean
-- Project build dir      = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-rel
-- Project install prefix = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows
-- Configuration types    = 
-- Build type             = Release
-- Setting Namespace to: OpenImageIO_v2_2
-- CMAKE_SYSTEM_NAME      = Windows
-- CMAKE_SYSTEM_VERSION   = 10.0.19041
-- CMAKE_SYSTEM_PROCESSOR = AMD64
-- CMAKE_CXX_COMPILER     = C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID  = MSVC
-- Building for C++11
-- Performing Test USE_STD_REGEX
-- Performing Test USE_STD_REGEX - Success
-- clang-format not found.
-- Setting SOVERSION to: 2.2
-- CMAKE_INSTALL_RPATH = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows/lib
-- 
-- * 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 
-- 
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE  
-- Found Boost: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include (found version "1.75.0") found components: filesystem system thread chrono date_time atomic 
-- Found Boost 107500 
--     Boost_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     Boost_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     Boost_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_filesystem-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_filesystem-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_system-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_system-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_thread-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_thread-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_chrono-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_chrono-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_date_time-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_date_time-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_atomic-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_atomic-vc140-mt-gd.lib
-- Found ZLIB: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11") 
-- Found ZLIB 1.2.11 
--     ZLIB_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ZLIB_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ZLIB_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Found TIFF: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/tiff.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/tiffd.lib (found version "4.1.0")  
-- Found JPEG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib (found version "62") 
-- Found TIFF 4.1.0 
--     TIFF_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     TIFF_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     TIFF_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/tiff.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/lzma.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Found OpenEXR 2.5.0 
--     OPENEXR_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OpenEXR_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OPENEXR_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OPENEXR_LIBRARIES = OpenEXR::IlmImfUtil;OpenEXR::IlmImf
CMake Warning (dev) at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (JPEG) does
  not match the name of the calling package (JPEGTurbo).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  src/cmake/modules/FindJPEGTurbo.cmake:36 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/externalpackages.cmake:106 (checked_find_package)
  CMakeLists.txt:121 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found JPEG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib  
-- Found JPEGTurbo  
--     JPEG_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib
-- Using internal PugiXML
CMake Error at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython/Support.cmake:609 (list):
  list index: 2 out of range (-2, 1)
Call Stack (most recent call first):
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython/Support.cmake:2916 (_python_get_version)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython.cmake:535 (include)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/pythonutils.cmake:30 (checked_find_package)
  src/cmake/externalpackages.cmake:126 (find_python)
  CMakeLists.txt:121 (include)

-- Found Python: C:/rez/packages/softwares/python/2.7/python.exe (found version "2.7.0") found components: Interpreter Development Development.Module Development.Embed 
-- Found Python 2.7.0 
--     Python_INCLUDE_DIRS = C:/rez/packages/softwares/python/2.7/include
--     Python_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/python27.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/python27_d.lib
--     Python_VERSION = 2.7.0
--     Python_EXECUTABLE = C:/rez/packages/softwares/python/2.7/python.exe
--     Python_Development_FOUND = TRUE
--     Python_Interpreter_FOUND = TRUE
--     Python site packages dir lib/python2.7/site-packages
--     Python to include 'lib' prefix: OFF
--     Python to include SO version: OFF
-- Found PNG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/libpng16.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37") 
-- Found PNG 1.6.37 
--     PNG_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     PNG_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     PNG_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/libpng16.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/libpng16d.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) 
-- BZip2 library not found 
--     Try setting BZip2_ROOT ? 
-- Not using Freetype -- disabled  
-- Could NOT find OpenColorIO (missing: OPENCOLORIO_INCLUDE_DIR OPENCOLORIO_LIBRARY) 
-- OpenColorIO library not found 
--     Try setting OpenColorIO_ROOT ? 
--     Maybe this will help:  src/build-scripts/build_OpenColorIO.bash 
-- Not using OpenCV -- disabled  
-- Could NOT find TBB (missing: TBB_INCLUDE_DIRS TBB_LIBRARIES) (Required is at least version "2017")
-- TBB library not found 
--     Try setting TBB_ROOT ? 
-- Not using DCMTK -- disabled  
-- Not using FFMPEG -- disabled  
-- Not using Field3D -- disabled  
-- Not using GIF -- disabled  
-- Found libheif 1.10.0.0 
-- Not using LibRaw -- disabled  
-- Not using OpenJPEG -- disabled  
CMake Warning (dev) at src/cmake/checked_find_package.cmake:77 (set):
  Cannot set "ENABLE_OpenVDB": current scope has no parent.
Call Stack (most recent call first):
  src/cmake/externalpackages.cmake:171 (checked_find_package)
  CMakeLists.txt:121 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Not using OpenVDB -- disabled (because TBB was not found) 
-- Not using ptex -- disabled  
-- Not using WebP -- disabled  
-- Not using R3DSDK -- disabled  
-- Not using Nuke -- disabled  
-- Found OpenGL: opengl32   
-- Found OpenGL  
--     OPENGL_LIBRARIES = opengl32;glu32
CMake Warning at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/externalpackages.cmake:199 (checked_find_package)
  CMakeLists.txt:121 (include)

-- Qt5 library not found 
--     Try setting Qt5_ROOT ? 
-- Could NOT find Libsquish (missing: LIBSQUISH_INCLUDE_DIR LIBSQUISH_LIBRARY) 
-- Libsquish library not found 
--     Try setting Libsquish_ROOT ? 
-- Found fmt 7.1.3 
--     FMT_INCLUDES = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
-- Found Robinmap: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include  
-- Found Robinmap  
--     ROBINMAP_INCLUDES = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ROBINMAP_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
CMake Warning at src/dicom.imageio/CMakeLists.txt:11 (message):
  DICOM plugin will not be built, no DCMTK

-- FFmpeg not found: ffmpeg plugin will not be built
CMake Warning at src/gif.imageio/CMakeLists.txt:11 (message):
  GIF plugin will not be built

CMake Warning at src/heif.imageio/CMakeLists.txt:10 (message):
  heif plugin will not be built

CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:11 (message):
  Jpeg-2000 plugin will not be built

CMake Warning at src/raw.imageio/CMakeLists.txt:11 (message):
  Raw plugin will not be built

-- WebP plugin will not be built
-- Create imagio_pvt.h from imageio_pvt.h.in
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- Found pybind11: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include (found version "2.6.0" )
-- Found pybind11 2.6.0 
--     pybind11_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
-- Create oiioversion.h from oiioversion.h.in
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests gpsread;oiiotool;oiiotool-attribs;oiiotool-copy;oiiotool-readerror;oiiotool-xform;oiiotool-fixnan;maketx;oiiotool-maketx;misnamed-file;missingcolor;texture-interp-bicubic;texture-blurtube;texture-crop;texture-cropover;texture-derivs;texture-fill;texture-filtersize;texture-flipt;texture-gettexels;texture-gray;texture-mip-nomip;texture-mip-trilinear;texture-overscan;texture-pointsample;texture-uint8;texture-width0blur;texture-fat;texture-skinny;texture-wrapfill;texture-missing;texture-res;texture-maxres;texture-udim;texture-udim2
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: nonwhole-tiles;oiiotool-composite;oiiotool-pattern;oiiotool-subimage;oiiotool-text;diff;dither;dup-channels;jpeg-corrupt;null;rational
-- TESTS: jpeg-corrupt-header
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests python-typedesc;python-paramlist;python-imagespec;python-roi;python-deep;python-colorconfig;python-imageinput;python-imageoutput;python-imagebuf;python-imagebufalgo
--   -> You can find it at 

-- TESTS: oiiotool-color
-- TESTS: texture-half;texture-uint16;texture-interp-bilinear;texture-interp-closest;texture-mip-onelevel
-- TESTS: texture-icwrite
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../bmpsuite
--   -> Will not run tests bmp
--   -> You can find it at http://entropymine.com/jason/bmpsuite/bmpsuite.zip

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests dpx
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: field3d;texture-field3d
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../fits-images
--   -> Will not run tests fits
--   -> You can find it at http://www.cv.nrao.edu/fits/data/tests/

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests gif
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: heif
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests ico
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests iff
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../j2kp4files_v1_5
--   -> Will not run tests jpeg2000
--   -> You can find it at http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../openexr-images
--   -> Will not run tests openexr-suite;openexr-multires;openexr-chroma;openexr-v2;openexr-window;perchannel;oiiotool-deep
--   -> You can find it at http://www.openexr.com/downloads.html

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../openexr-images
--   -> Will not run tests openexr-damaged
--   -> You can find it at http://www.openexr.com/downloads.html

-- TESTS: openvdb
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests png
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests pnm
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests psd;psd-colormodes
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: ptex
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images/raw
--   -> Will not run tests raw
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests rla
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests sgi
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests targa-tgautils
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../libtiffpic
--   -> Will not run tests tiff-suite;tiff-depths;tiff-misc
--   -> You can find it at http://www.simplesystems.org/libtiff/images.html

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images/webp
--   -> Will not run tests webp
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests zfile
--   -> You can find it at Recent checkout of oiio-images

-- Configuring incomplete, errors occurred!
See also "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-rel/CMakeFiles/CMakeOutput.log".
See also "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-rel/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd ../../x64-windows-dbg && "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean" "-DUSE_LIBRAW=OFF" "-DUSE_OCIO=OFF" "-DUSE_FFMPEG=OFF" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=OFF" "-DUSE_GIF=OFF" "-DUSE_OPENCV=OFF" "-DUSE_OPENJPEG=OFF" "-DUSE_WEBP=OFF" "-DUSE_PYTHON=ON" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DHIDE_SYMBOLS=ON" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=OFF" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12" "-D_VCPKG_INSTALLED_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows/debug""
FAILED: ../../x64-windows-dbg/CMakeCache.txt 
cmd /c "cd ../../x64-windows-dbg && "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean" "-DUSE_LIBRAW=OFF" "-DUSE_OCIO=OFF" "-DUSE_FFMPEG=OFF" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=OFF" "-DUSE_GIF=OFF" "-DUSE_OPENCV=OFF" "-DUSE_OPENJPEG=OFF" "-DUSE_WEBP=OFF" "-DUSE_PYTHON=ON" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DHIDE_SYMBOLS=ON" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=OFF" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12" "-D_VCPKG_INSTALLED_DIR=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows/debug""
-- The CXX compiler identification is MSVC 19.27.29111.0
-- The C compiler identification is MSVC 19.27.29111.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/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 (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.2.10.0
-- CMake 3.20.2
-- CMake system           = Windows-10.0.19041
-- CMake system name      = Windows
-- Project source dir     = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean
-- Project build dir      = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-dbg
-- Project install prefix = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows/debug
-- Configuration types    = 
-- Build type             = Debug
-- Setting Namespace to: OpenImageIO_v2_2
-- CMAKE_SYSTEM_NAME      = Windows
-- CMAKE_SYSTEM_VERSION   = 10.0.19041
-- CMAKE_SYSTEM_PROCESSOR = AMD64
-- CMAKE_CXX_COMPILER     = C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID  = MSVC
-- Building for C++11
-- Performing Test USE_STD_REGEX
-- Performing Test USE_STD_REGEX - Success
-- clang-format not found.
-- Setting SOVERSION to: 2.2
-- CMAKE_INSTALL_RPATH = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/packages/openimageio_x64-windows/debug/lib
-- 
-- * 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 
-- 
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE  
-- Found Boost: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include (found version "1.75.0") found components: filesystem system thread chrono date_time atomic 
-- Found Boost 107500 
--     Boost_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     Boost_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     Boost_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_filesystem-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_filesystem-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_system-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_system-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_thread-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_thread-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_chrono-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_chrono-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_date_time-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_date_time-vc140-mt-gd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/boost_atomic-vc140-mt.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/boost_atomic-vc140-mt-gd.lib
-- Found ZLIB: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11") 
-- Found ZLIB 1.2.11 
--     ZLIB_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ZLIB_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ZLIB_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Found TIFF: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/tiff.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/tiffd.lib (found version "4.1.0")  
-- Found JPEG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib (found version "62") 
-- Found TIFF 4.1.0 
--     TIFF_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     TIFF_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     TIFF_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/tiff.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/lzma.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Found OpenEXR 2.5.0 
--     OPENEXR_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OpenEXR_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OPENEXR_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     OPENEXR_LIBRARIES = OpenEXR::IlmImfUtil;OpenEXR::IlmImf
CMake Warning (dev) at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (JPEG) does
  not match the name of the calling package (JPEGTurbo).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  src/cmake/modules/FindJPEGTurbo.cmake:36 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/externalpackages.cmake:106 (checked_find_package)
  CMakeLists.txt:121 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found JPEG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib  
-- Found JPEGTurbo  
--     JPEG_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/jpeg.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/jpegd.lib
-- Using internal PugiXML
CMake Error at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython/Support.cmake:609 (list):
  list index: 2 out of range (-2, 1)
Call Stack (most recent call first):
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython/Support.cmake:2916 (_python_get_version)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/share/cmake-3.20/Modules/FindPython.cmake:535 (include)
  D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/pythonutils.cmake:30 (checked_find_package)
  src/cmake/externalpackages.cmake:126 (find_python)
  CMakeLists.txt:121 (include)

-- Found Python: C:/rez/packages/softwares/python/2.7/python.exe (found version "2.7.0") found components: Interpreter Development Development.Module Development.Embed 
-- Found Python 2.7.0 
--     Python_INCLUDE_DIRS = C:/rez/packages/softwares/python/2.7/include
--     Python_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/python27.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/python27_d.lib
--     Python_VERSION = 2.7.0
--     Python_EXECUTABLE = C:/rez/packages/softwares/python/2.7/python.exe
--     Python_Development_FOUND = TRUE
--     Python_Interpreter_FOUND = TRUE
--     Python site packages dir lib/python2.7/site-packages
--     Python to include 'lib' prefix: OFF
--     Python to include SO version: OFF
-- Found PNG: optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/libpng16.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37") 
-- Found PNG 1.6.37 
--     PNG_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     PNG_INCLUDE_DIRS = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     PNG_LIBRARIES = optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/libpng16.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/libpng16d.lib;optimized;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/lib/zlib.lib;debug;D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/debug/lib/zlibd.lib
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) 
-- BZip2 library not found 
--     Try setting BZip2_ROOT ? 
-- Not using Freetype -- disabled  
-- Could NOT find OpenColorIO (missing: OPENCOLORIO_INCLUDE_DIR OPENCOLORIO_LIBRARY) 
-- OpenColorIO library not found 
--     Try setting OpenColorIO_ROOT ? 
--     Maybe this will help:  src/build-scripts/build_OpenColorIO.bash 
-- Not using OpenCV -- disabled  
-- Could NOT find TBB (missing: TBB_INCLUDE_DIRS TBB_LIBRARIES) (Required is at least version "2017")
-- TBB library not found 
--     Try setting TBB_ROOT ? 
-- Not using DCMTK -- disabled  
-- Not using FFMPEG -- disabled  
-- Not using Field3D -- disabled  
-- Not using GIF -- disabled  
-- Found libheif 1.10.0.0 
-- Not using LibRaw -- disabled  
-- Not using OpenJPEG -- disabled  
CMake Warning (dev) at src/cmake/checked_find_package.cmake:77 (set):
  Cannot set "ENABLE_OpenVDB": current scope has no parent.
Call Stack (most recent call first):
  src/cmake/externalpackages.cmake:171 (checked_find_package)
  CMakeLists.txt:121 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Not using OpenVDB -- disabled (because TBB was not found) 
-- Not using ptex -- disabled  
-- Not using WebP -- disabled  
-- Not using R3DSDK -- disabled  
-- Not using Nuke -- disabled  
-- Found OpenGL: opengl32   
-- Found OpenGL  
--     OPENGL_LIBRARIES = opengl32;glu32
CMake Warning at D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/scripts/buildsystems/vcpkg.cmake:861 (_find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  src/cmake/checked_find_package.cmake:89 (find_package)
  src/cmake/externalpackages.cmake:199 (checked_find_package)
  CMakeLists.txt:121 (include)

-- Qt5 library not found 
--     Try setting Qt5_ROOT ? 
-- Could NOT find Libsquish (missing: LIBSQUISH_INCLUDE_DIR LIBSQUISH_LIBRARY) 
-- Libsquish library not found 
--     Try setting Libsquish_ROOT ? 
-- Found fmt 7.1.3 
--     FMT_INCLUDES = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
-- Found Robinmap: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include  
-- Found Robinmap  
--     ROBINMAP_INCLUDES = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
--     ROBINMAP_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
CMake Warning at src/dicom.imageio/CMakeLists.txt:11 (message):
  DICOM plugin will not be built, no DCMTK

-- FFmpeg not found: ffmpeg plugin will not be built
CMake Warning at src/gif.imageio/CMakeLists.txt:11 (message):
  GIF plugin will not be built

CMake Warning at src/heif.imageio/CMakeLists.txt:10 (message):
  heif plugin will not be built

CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:11 (message):
  Jpeg-2000 plugin will not be built

CMake Warning at src/raw.imageio/CMakeLists.txt:11 (message):
  Raw plugin will not be built

-- WebP plugin will not be built
-- Create imagio_pvt.h from imageio_pvt.h.in
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- Found pybind11: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include (found version "2.6.0" )
-- Found pybind11 2.6.0 
--     pybind11_INCLUDE_DIR = D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/installed/x64-windows/include
-- Create oiioversion.h from oiioversion.h.in
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests gpsread;oiiotool;oiiotool-attribs;oiiotool-copy;oiiotool-readerror;oiiotool-xform;oiiotool-fixnan;maketx;oiiotool-maketx;misnamed-file;missingcolor;texture-interp-bicubic;texture-blurtube;texture-crop;texture-cropover;texture-derivs;texture-fill;texture-filtersize;texture-flipt;texture-gettexels;texture-gray;texture-mip-nomip;texture-mip-trilinear;texture-overscan;texture-pointsample;texture-uint8;texture-width0blur;texture-fat;texture-skinny;texture-wrapfill;texture-missing;texture-res;texture-maxres;texture-udim;texture-udim2
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: nonwhole-tiles;oiiotool-composite;oiiotool-pattern;oiiotool-subimage;oiiotool-text;diff;dither;dup-channels;jpeg-corrupt;null;rational
-- TESTS: jpeg-corrupt-header
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests python-typedesc;python-paramlist;python-imagespec;python-roi;python-deep;python-colorconfig;python-imageinput;python-imageoutput;python-imagebuf;python-imagebufalgo
--   -> You can find it at 

-- TESTS: oiiotool-color
-- TESTS: texture-half;texture-uint16;texture-interp-bilinear;texture-interp-closest;texture-mip-onelevel
-- TESTS: texture-icwrite
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../bmpsuite
--   -> Will not run tests bmp
--   -> You can find it at http://entropymine.com/jason/bmpsuite/bmpsuite.zip

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests dpx
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: field3d;texture-field3d
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../fits-images
--   -> Will not run tests fits
--   -> You can find it at http://www.cv.nrao.edu/fits/data/tests/

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests gif
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: heif
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests ico
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests iff
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../j2kp4files_v1_5
--   -> Will not run tests jpeg2000
--   -> You can find it at http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../openexr-images
--   -> Will not run tests openexr-suite;openexr-multires;openexr-chroma;openexr-v2;openexr-window;perchannel;oiiotool-deep
--   -> You can find it at http://www.openexr.com/downloads.html

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../openexr-images
--   -> Will not run tests openexr-damaged
--   -> You can find it at http://www.openexr.com/downloads.html

-- TESTS: openvdb
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests png
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests pnm
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests psd;psd-colormodes
--   -> You can find it at Recent checkout of oiio-images

-- TESTS: ptex
-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images/raw
--   -> Will not run tests raw
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests rla
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests sgi
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests targa-tgautils
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../libtiffpic
--   -> Will not run tests tiff-suite;tiff-depths;tiff-misc
--   -> You can find it at http://www.simplesystems.org/libtiff/images.html

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images/webp
--   -> Will not run tests webp
--   -> You can find it at Recent checkout of oiio-images

-- 

Did not find D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/src/b2669d8c44-4c762cfd11.clean/../oiio-images
--   -> Will not run tests zfile
--   -> You can find it at Recent checkout of oiio-images

-- Configuring incomplete, errors occurred!
See also "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-dbg/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.

./buildtrees/openimageio/x64-windows-dbg/CMakeFiles/CMakeError.log:

Determining if the include file pthread.h exists failed with the following output:
Change Dir: D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/buildtrees/openimageio/x64-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Projet/Temp/vcpkg_test/vcpkg-2021.05.12/downloads/tools/ninja/1.10.1-windows/ninja.exe cmTC_b2100 && [1/2] Building C object CMakeFiles\cmTC_b2100.dir\CheckIncludeFile.c.obj

FAILED: CMakeFiles/cmTC_b2100.dir/CheckIncludeFile.c.obj 

C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_b2100.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_b2100.dir\ /FS -c CheckIncludeFile.c

CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed.

I'm just trying to build OpenImageIO with python binding but for Python2.7, not for Python3.

Thank You

autoantwort commented 3 years ago

Try adding a dependency to pthread

autoantwort commented 3 years ago

The other error happens here: https://github.com/Kitware/CMake/blob/master/Modules/FindPython/Support.cmake#L609

NancyLi1013 commented 3 years ago

Hi @OlivierArgentieri

Thanks for posting this issue.

Seems you didn't use the latest version. Could you please try to update to the latest vcpkg to rebuild this? I can build it successfully on my machine.

OlivierArgentieri commented 3 years ago

Hi @NancyLi1013

Thanks for your answer.

I'm using the latest version of VCPKG : 2021.05.12 I have retest with the latest version 2021.05.12 and with the master And yes it works, it works because i forgot something...

Sorry, but i forgot some step in "To Reproduce"

So, i will give you an update here : To Reproduce Edit \ports\pybind11\CONTROL and replace "Build-Depends: python3" to "Build-Depends: python2" Edit \ports\pybind11\portfile.cmake and replace all python3 by python2 :

# ports/pybind11/portfile.cmake

# ...
vcpkg_find_acquire_program(PYTHON2)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DPYBIND11_TEST=OFF
        -DPYBIND11_FINDPYTHON=ON
        -DPython2_EXECUTABLE=${PYTHON2}
    OPTIONS_RELEASE
        -DPYTHON_IS_DEBUG=OFF
    OPTIONS_DEBUG
        -DPYTHON_IS_DEBUG=ON
)
# ...

Edit \ports\openimageio\portfile.cmake and replace all python3 by python2 to:

#ports/openimageio/portfile.cmake

# ...
vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
vcpkg_add_to_path("${PYTHON2_DIR}")

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS ${FEATURE_OPTIONS}
        -DOIIO_BUILD_TESTS=OFF
        -DHIDE_SYMBOLS=ON
        -DUSE_DCMTK=OFF
        -DUSE_NUKE=OFF
        -DUSE_QT=OFF
        -DUSE_PTEX=OFF
        -DLINKSTATIC=${LINKSTATIC}
        -DBUILD_MISSING_FMT=OFF
        -DBUILD_MISSING_ROBINMAP=OFF
        -DBUILD_MISSING_DEPS=OFF
        -DSTOP_ON_WARNING=OFF
        -DVERBOSE=ON
)

# ...

And now you can run ./vcpkg install openimageio[pybind11]:x64-windows Because if you do not edit .cmake file, vcpkg will install the latest version of python for openimageio, it will ignore previous python2 installation

And honestly I don't remember how I got to the pthread error, because I did a lot of testing but now i dont have this error anymore but i got this LINK : fatal error LNK1104: cannot open file 'python37_d.lib' Sorry again for this mistake.

Full log :

[1/2] cmd.exe /C "cd . && D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\downloads\tools\cmake-3.20.2-windows\cmake-3.20.2-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\python\CMakeFiles\PyOpenImageIO.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\link.exe  src\python\CMakeFiles\PyOpenImageIO.dir\py_colorconfig.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_deepdata.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebuf.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebufalgo.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagecache.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageinput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageoutput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagespec.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_oiio.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_paramvalue.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_roi.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_typedesc.cpp.obj  /out:lib\python\site-packages\OpenImageIO_d.pyd /implib:lib\python\site-packages\OpenImageIO_d.lib /pdb:lib\python\site-packages\OpenImageIO_d.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\lib   -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib D:\Program_Files\Python_3.7.7\libs\python37.lib  lib\OpenImageIO.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImfUtil-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImf-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Imath-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Half-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmThread-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\zlibd.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IexMath-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Iex-2_5_d.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
FAILED: lib/python/site-packages/OpenImageIO_d.pyd 
cmd.exe /C "cd . && D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\downloads\tools\cmake-3.20.2-windows\cmake-3.20.2-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\python\CMakeFiles\PyOpenImageIO.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\link.exe  src\python\CMakeFiles\PyOpenImageIO.dir\py_colorconfig.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_deepdata.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebuf.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebufalgo.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagecache.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageinput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageoutput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagespec.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_oiio.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_paramvalue.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_roi.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_typedesc.cpp.obj  /out:lib\python\site-packages\OpenImageIO_d.pyd /implib:lib\python\site-packages\OpenImageIO_d.lib /pdb:lib\python\site-packages\OpenImageIO_d.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\lib   -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib D:\Program_Files\Python_3.7.7\libs\python37.lib  lib\OpenImageIO.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImfUtil-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImf-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Imath-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Half-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmThread-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\zlibd.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IexMath-2_5_d.lib  D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Iex-2_5_d.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\link.exe src\python\CMakeFiles\PyOpenImageIO.dir\py_colorconfig.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_deepdata.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebuf.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagebufalgo.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagecache.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageinput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imageoutput.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_imagespec.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_oiio.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_paramvalue.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_roi.cpp.obj src\python\CMakeFiles\PyOpenImageIO.dir\py_typedesc.cpp.obj /out:lib\python\site-packages\OpenImageIO_d.pyd /implib:lib\python\site-packages\OpenImageIO_d.lib /pdb:lib\python\site-packages\OpenImageIO_d.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\lib -LIBPATH:D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib D:\Program_Files\Python_3.7.7\libs\python37.lib lib\OpenImageIO.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImfUtil-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmImf-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Imath-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Half-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IlmThread-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\zlibd.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\IexMath-2_5_d.lib D:\Projet\Temp\vcpkg_test\aaa\vcpkg-2021.05.12\installed\x64-windows\debug\lib\Iex-2_5_d.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:src\python\CMakeFiles\PyOpenImageIO.dir/intermediate.manifest src\python\CMakeFiles\PyOpenImageIO.dir/manifest.res" failed (exit code 1104) with the following output:
Microsoft (R) Incremental Linker Version 14.27.29111.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1104: cannot open file 'python37_d.lib'
ninja: build stopped: subcommand failed.

And Thank you @autoantwort for your answer, i will remember this tip.

NancyLi1013 commented 3 years ago

The latest vcpkg version is 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04.

The CONTROL file has been updated as vcpkg.json file in pybind11.

So please use git pull to update vcpkg and run .\bootstrap-vcpkg.bat before you build this again.

OlivierArgentieri commented 3 years ago

Ok, thank you for your answer.

After git pull i got the same result as before :

LINK : fatal error LNK1104: cannot open file 'python37_d.lib'
ninja: build stopped: subcommand failed.
NancyLi1013 commented 3 years ago

If you want to use python2, you just need to update python3as python2. Why do you add these codes for pybind11/portfile.cmake?

vcpkg_find_acquire_program(PYTHON2)

-DPython2_EXECUTABLE=${PYTHON2}
OlivierArgentieri commented 3 years ago

But, how can i update python3 as python2 ? Are the versions of python not present in the dependencies of portfile?

Sorry but if you have an example of wich file i need to update to change the versions of python, it would be very usefull for me.

I add these code to try to switch to python2 because these keyword are list in : https://vcpkg.readthedocs.io/en/latest/maintainers/vcpkg_find_acquire_program/

Thanks

NancyLi1013 commented 3 years ago

Hi @OlivierArgentieri

I also try to build this with the latest vcpkg and it failed with the error like this:

-- pybind11 v2.7.1 
-- CMake 3.21.1
CMake Error at F:/vcpkg_new/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python (missing: Python_EXECUTABLE Interpreter) (found
  version "2.7.18")
Call Stack (most recent call first):
  F:/vcpkg_new/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  F:/vcpkg_new/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPython.cmake:556 (find_package_handle_standard_args)
  F:/vcpkg_new/vcpkg/scripts/buildsystems/vcpkg.cmake:784 (_find_package)
  tools/pybind11NewTools.cmake:35 (find_package)
  tools/pybind11Common.cmake:200 (include)
  CMakeLists.txt:191 (include)

I updated these places:

https://github.com/microsoft/vcpkg/blob/d8e1d6b50caec4f54ca86376d6ad7d159e3b736f/ports/pybind11/vcpkg.json#L7

https://github.com/microsoft/vcpkg/blob/d8e1d6b50caec4f54ca86376d6ad7d159e3b736f/ports/openimageio/portfile.cmake#L45-L47

Since there is no executable generated in python2port.

So we need to add executable if using python2.

After adding the following codes for pybind11/portfile.cmake, I can build successfully now.

vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON3}" DIRECTORY)
vcpkg_add_to_path("${PYTHON2_DIR}")
OlivierArgentieri commented 3 years ago

Thank you for your answer. I have test the build with :

vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_DIR "${PYTHON3}" DIRECTORY)
vcpkg_add_to_path("${PYTHON2_DIR}")

And yes it built successfully, but the output .pyd is for python39, and my goal is to generate this .pyd for python2. But maybe i have made something wrong. Can you confirm that your .pyd has been generated for python2 ?

Other things, in my previous test, python2 appeared on start of command, in the requires list, and now i no longer see this dependency.

Thank you again for your help

ssh4net commented 3 years ago

Sorry guys but default (python 3) openimageio[pybind11]:x64-windows also not building for long time

` Building package openimageio[core,pybind11]:x64-windows... -- Downloading https://github.com/OpenImageIO/oiio/archive/9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz -> OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz... -- Cleaning sources at E:/VisualStudio/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source E:/VisualStudio/vcpkg/downloads/OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz -- Applying patch fix-config-cmake.patch -- Applying patch fix_static_build.patch -- Applying patch disable-test.patch -- Applying patch fix-dependencies.patch -- Using source at E:/VisualStudio/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean -- Found external ninja('1.10.2'). -- Configuring x64-windows -- Building x64-windows-dbg CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message): Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j33 Working Directory: E:/VisualStudio/vcpkg/buildtrees/openimageio/x64-windows-dbg See logs for more information: E:\VisualStudio\vcpkg\buildtrees\openimageio\install-x64-windows-dbg-out.log

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process) installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build) ports/openimageio/portfile.cmake:67 (vcpkg_cmake_install) scripts/ports.cmake:141 (include)

Error: Building package openimageio:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: openimageio:x64-windows Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e

Additionally, attach any relevant sections from the log files above.

E:\VisualStudio\vcpkg>vcpkg update Using local portfile versions. To update the local portfiles, use git pull. No packages need updating. `

NancyLi1013 commented 3 years ago

Hi @ssh4net

Did you encounter the problem like this?

F:\openimageoio\vcpkg\buildtrees\openimageio\src\a25d056cb0-36fa00c6d2\src\python\py_oiio.cpp(77): error C3861: 'ssize_t': identifier not found

If yes, please open a new issue to report this problem. Since this is not the same issue with the original one.

@OlivierArgentieri

Sorry for the long delay. I will check this again on my machine and update the status here.

NancyLi1013 commented 3 years ago

@OlivierArgentieri

Sorry, I was blocked by the error now. I cannot build this successfully. So I'm not sure if the output .pyd is for python39.

F:\openimageoio\vcpkg\buildtrees\openimageio\src\a25d056cb0-36fa00c6d2\src\python\py_oiio.cpp(77): error C3861: 'ssize_t': identifier not found

OlivierArgentieri commented 2 years ago

@NancyLi1013

Sorry for my response time.

But i wanted to thank you for your investigations. Even if i don't watch often at this issue, this subject stills interest me because i still have not found a way to build OpenImageIO in python2 with vcpkg.

And thank you also @JackBoosY for the label update

dg0yt commented 2 years ago

I think nobody will add a change so deal with EOL python2. Can this issue be closed as wont-fix?

Thomas1664 commented 2 years ago

@Cheney-W I think this can be closed now.