Host Environment
Windows 10, 1903
`./vcpkg install openimageio
Prior installation of all vcpkg packages, from dependencies through optional. NOT SURE IF vcpkg's tiff:x86-windows: is compatible with OpenImageIO
C:\Users\chris\vcpkg>.\vcpkg install openimageio
The following packages will be built and installed:
openimageio[core]:x86-windows
* robin-map[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: robin-map:x86-windows
Building package robin-map[core]:x86-windows...
-- Downloading https://github.com/Tessil/robin-map/archive/3285ed7615b72020bd68ba6d30f9ec0c0c526098.tar.gz...
-- Extracting source C:/Users/chris/vcpkg/downloads/Tessil-robin-map-3285ed7615b72020bd68ba6d30f9ec0c0c526098.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/robin-map/src/0c0c526098-804dc34551
-- Installing: C:/Users/chris/vcpkg/packages/robin-map_x86-windows/share/robin-map/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package robin-map[core]:x86-windows... done
Installing package robin-map[core]:x86-windows...
Installing package robin-map[core]:x86-windows... done
Elapsed time for package robin-map:x86-windows: 2.727 s
Starting package 2/2: openimageio:x86-windows
Building package openimageio[core]:x86-windows...
-- Downloading https://github.com/OpenImageIO/oiio/archive/ad1ab61a56c63d770e4beb335efe8b1f1a9e36cd.tar.gz...
-- Extracting source C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-ad1ab61a56c63d770e4beb335efe8b1f1a9e36cd.tar.gz
-- Applying patch fix_libraw.patch
-- Applying patch use-webp.patch
-- Applying patch remove_wrong_dependency.patch
-- Applying patch use-vcpkg-find-openexr.patch
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/1f1a9e36cd-9b16117fec
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: C:/Users/chris/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe --build . --config Debug --target install -- -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x86-windows-dbg
See logs for more information:
C:\Users\chris\vcpkg\buildtrees\openimageio\install-x86-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/openimageio/portfile.cmake:66 (vcpkg_install_cmake)
scripts/ports.cmake:94 (include)
Error: Building package openimageio:x86-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:x86-windows
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\chris\vcpkg>.\vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.
////////////////////
C:\Users\chris\vcpkg>.\vcpkg install 7-Zip
Error: Cannot find definition for package `7-zip`.
///////////////// installed 7-zip manually, then tried again :
C:\Users\chris\vcpkg>.\vcpkg install openimageio
The following packages will be built and installed:
openimageio[core]:x86-windows
Starting package 1/1: openimageio:x86-windows
Building package openimageio[core]:x86-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-ad1ab61a56c63d770e4beb335efe8b1f1a9e36cd.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/1f1a9e36cd-9b16117fec
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: C:/Users/chris/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe --build . --config Debug --target install -- -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x86-windows-dbg
See logs for more information:
C:\Users\chris\vcpkg\buildtrees\openimageio\install-x86-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/openimageio/portfile.cmake:66 (vcpkg_install_cmake)
scripts/ports.cmake:94 (include)
Error: Building package openimageio:x86-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:x86-windows
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\chris\vcpkg>
//////////////////
C:\Users\chris\vcpkg\buildtrees\openimageio\install-x86-windows-dbg-out.log1:
[1/141] cmd.exe /C "cd /D C:\Users\chris\vcpkg\buildtrees\openimageio\x86-windows-dbg && C:\Users\chris\vcpkg\downloads\tools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E copy_if_different C:/Users/chris/vcpkg/buildtrees/openimageio/src/1f1a9e36cd-9b16117fec/testsuite/runtest.py C:/Users/chris/vcpkg/buildtrees/openimageio/x86-windows-dbg/testsuite/runtest.py"
[2/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\filter.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\filter.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[3/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\farmhash.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\farmhash.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[4/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\hashes.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\hashes.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[5/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\argparse.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\argparse.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[6/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\SHA1.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\SHA1.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[7/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\paramlist.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\paramlist.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[8/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\typedesc.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\typedesc.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[9/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\errorhandler.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\errorhandler.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[10/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\timer.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\timer.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[11/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\benchmark.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\benchmark.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[12/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\plugin.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\plugin.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[13/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\xxhash.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\xxhash.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[14/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\filesystem.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\filesystem.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[15/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\strutil.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\strutil.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[16/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ustring.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\ustring.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[17/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imageinput.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imageinput.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[18/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\formatspec.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\formatspec.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/formatspec.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\formatspec.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\formatspec.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[19/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\thread.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\thread.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[20/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\exif-canon.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\exif-canon.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[21/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imageio.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imageio.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[22/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imageioplugin.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imageioplugin.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[23/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[24/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\exif.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\exif.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[25/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebuf.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebuf.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[26/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_compare.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_compare.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_compare.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_compare.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_compare.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[27/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_channels.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_channels.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_channels.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_channels.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_channels.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[28/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_Util_EXPORTS -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /showIncludes /Fosrc\libutil\CMakeFiles\OpenImageIO_Util.dir\sysutil.cpp.obj /Fdsrc\libutil\CMakeFiles\OpenImageIO_Util.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libutil\sysutil.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
[29/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_addsub.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_addsub.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_addsub.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_addsub.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_addsub.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[30/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_pixelmath.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_pixelmath.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_pixelmath.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_pixelmath.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_pixelmath.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
[31/141] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_muldiv.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_muldiv.cpp
FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_muldiv.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x86\cl.exe /TP -DBOOST_ALL_DYN_LINK -DEMBED_PLUGINS=1 -DJAS_WIN_MSVC_BUILD -DOPENEXR_DLL -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_STD_REGEX -DUSE_TBB=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -Iinclude -IC:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include -IC:\Users\chris\vcpkg\installed\x86-windows\include\OpenEXR -IC:\Users\chris\vcpkg\installed\x86-windows\include /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /W1 -UUSE_FIELD3D /bigobj /showIncludes /Fosrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\imagebufalgo_muldiv.cpp.obj /Fdsrc\libOpenImageIO\CMakeFiles\OpenImageIO.dir\ /FS -c C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\libOpenImageIO\imagebufalgo_muldiv.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W1'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2027: use of undefined type 'OpenImageIO_v2_1::ImageBufImpl'
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1763): note: while compiling class template member function 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const'
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1873): note: see reference to function template instantiation 'void std::default_delete<OpenImageIO_v2_1::ImageBufImpl>::operator ()(_Ty *) noexcept const' being compiled
with
[
_Ty=OpenImageIO_v2_1::ImageBufImpl
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1802): note: see reference to class template instantiation 'std::default_delete<OpenImageIO_v2_1::ImageBufImpl>' being compiled
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(1399): note: see reference to class template instantiation 'std::unique_ptr<OpenImageIO_v2_1::ImageBufImpl,std::default_delete<OpenImageIO_v2_1::ImageBufImpl>>' being compiled
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1764): error C2338: can't delete an incomplete type
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1765): warning C4150: deletion of pointer to incomplete type 'OpenImageIO_v2_1::ImageBufImpl'; no destructor called
C:\Users\chris\vcpkg\buildtrees\openimageio\src\1f1a9e36cd-9b16117fec\src\include\OpenImageIO/imagebuf.h(49): note: see declaration of 'OpenImageIO_v2_1::ImageBufImpl'
ninja: build stopped: subcommand failed.
It looks like Visual Studio 2019 modified some codes.
Hi,
OK, thanks. Can you tell which is the most current ver of VS that will build ALL the OIIO libs through vcpkg?
I can confirm Visual Studio 2017 works.
Hi,
Thanks for the help.
Tried both VS 2017, 15.0 & VS 15.9 with required modules. Both failed to build OIIO lib.
So reverted to VS 2019 Professional, ver 16.2.5. Still no OIIO lib build.
Saw https://github.com/microsoft/vcpkg/issues/8812 & https://github.com/microsoft/vcpkg/issues/8344. Tried every conceivable option, still no OIIO lib build, ALWAYS same command line error: "Error: Building package openimageio:x64-windows failed with: BUILD_FAILED"
Also, in vcpkg_configure_cmake.cmake, tried changing:
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" AND VCPKG_PLATFORM_TOOLSET STREQUAL "v141")
## set(GENERATOR "Visual Studio 15 2017 Win64")
set(GENERATOR "Visual Studio 16 2019")
set(ARCH "x64")
Would you be able to take a closer look at attached config-x64-windows-out.log for me? Could this be related to:
CMake Warning:
Manually-specified variables were not used by the project:
VCPKG_TARGET_ARCHITECTURE
Also, here's the contents of \triplets\x64-windows.cmake:
if(${PORT} MATCHES "openimageio")
set(VCPKG_PLATFORM_TOOLSET v141)
endif()
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
& portfile.cmake:
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO OpenImageIO/oiio
REF ad1ab61a56c63d770e4beb335efe8b1f1a9e36cd
SHA512 48ee7862583e7adb86b56b20634c34aebf83ef0a3a14ad96182494ce6a84cb027334840a6c4c335e9342110c3a36532e3eeae22a3ed7363cd91b27cb7ca58154
HEAD_REF master
PATCHES
fix_libraw.patch
use-webp.patch
remove_wrong_dependency.patch
use-vcpkg-find-openexr.patch
)
file(REMOVE_RECURSE "${SOURCE_PATH}/ext")
file(REMOVE "${SOURCE_PATH}/src/cmake/modules/FindLibRaw.cmake")
file(REMOVE "${SOURCE_PATH}/src/cmake/modules/FindOpenEXR.cmake")
file(MAKE_DIRECTORY "${SOURCE_PATH}/ext/robin-map/tsl")
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
set(BUILDSTATIC ON)
set(LINKSTATIC ON)
else()
set(BUILDSTATIC OFF)
set(LINKSTATIC OFF)
endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
libraw USE_LIBRAW
opencolorio USE_OCIO
)
# Try Added
# set(VCPKG_PLATFORM_TOOLSET "v141")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
# Try Added
# GENERATOR "Visual Studio 16 2019"
PREFER_NINJA
OPTIONS ${FEATURE_OPTIONS}
# Try Added
# -T v141
-DOIIO_BUILD_TOOLS=OFF
-DOIIO_BUILD_TESTS=OFF
-DHIDE_SYMBOLS=ON
-DUSE_DICOM=OFF
# -DUSE_FFMPEG=ON
-DUSE_FIELD3D=OFF
-DUSE_FREETYPE=OFF
-DUSE_GIF=ON
# -DUSE_PNG=ON
-DUSE_NUKE=OFF
# -DUSE_OPENCV=ON
-DUSE_OPENJPEG=ON
# -DUSE_OPENSSL=ON
-DUSE_PTEX=OFF
-DUSE_PYTHON=OFF
# -DUSE_QT=ON
# -DUSE_3FD=ON
# -DUSE_WEBP=ON
-DUSE_OCIO=ON
-DBUILDSTATIC=${BUILDSTATIC}
-DLINKSTATIC=${LINKSTATIC}
-DBUILD_MISSING_PYBIND11=OFF
# OFF
-DBUILD_MISSING_DEPS=ON
# -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
-DVERBOSE=ON
OPTIONS_DEBUG
-DOPENEXR_CUSTOM_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
# Clean
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/doc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/doc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(COPY ${SOURCE_PATH}/src/cmake/modules/FindOpenImageIO.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
# Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/openimageio)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/openimageio/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/openimageio/copyright)
At this stage, I can run ANY version of VS to get this lib built. Just let me know.... Thank you
Hi,
The OIIO port log sent to you is from VS 2019, ver 16.2.5. But I just wanted to add that all OIIO dependencies & optional modules were compiled through MS VS 2017 15.9 compiler. Hope there are no issues between the 2 ompilers?
Hi @plettplett, please add set(VCPKG_PLATFORM_TOOLSET v141) to _VCPKG_PATH/triplets/USED_TRPILETS.cmake_ then try again.
Well, I noticed you have added it into triplets.cmake.
I strongly recommend that you do NOT use judgment conditions when adding VCPKG_PLATFORM_TOOLSET. Using dependent ports built with different Visual Studio versions may produce some errors(related with msvcrt).
The function cv :: cvtColor should be declared in opencv_imgproc.lib, and I see that this library has participated in the linking process, it is not clear why the error occurred.
Although vcpkg passes in the parameter VCPKG_TARGET_ARCHITECTURE, we do not use this parameter to determine the architecture. This macro is not related to the current error.
The issue regarding ImageBufImpl has been fixed months ago on the OpenImageIO master branch:
https://github.com/OpenImageIO/oiio/pull/2350
I've been using it (compiled from source) with VS2019 16.3 and now 16.4 without any issues.
At the time this change couldn't be incorporated into vcpkg because only actual releases should be in vcpkg (and not some random commit on the master branch).
Since then there have been multiple new releases of OpenImageIO.
So I think this issue could be fixed by updating the portfile to use the latest version of OpenImageIO.
Hi,
Thanks for servicing this thread. OIIO libs built on Windows 10. The compiler is from MSVC 16.2.5. The libs all built through MSVC 15.9.
For me, I had to remove ALL non-dependency OIIO modules to reach the problem:
CMake Warning at src/cmake/externalpackages.cmake:625 (message):​
pybind11 from PYBIND11_INCLUDE_DIR-NOTFOUND is too old (), minimum is​
2.2.0.​
It turns out that even with -DUSE_PYTHON=OFF (in the portfile.cmake file) PYBIND11 is REQUIRED (installed through: vcpkg install PYBIND11), this added to the portfile:
# ADDED - required to build OIIO lib even with -DUSE_PYTHON=OFF !!!
-DBUILD_PYBIND11_FORCE=ON
# -DBUILD_MISSING_PYBIND11=OFF
Now the only log inconsistency is:
"CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:24 (message):
Jpeg-2000 plugin will not be built"
yet the libs jpeg.lib, openjp2.lib, turbojpeg.lib are built & placed into: C:\Users\chris\vcpkg\installed\x64-windows\lib
Please see #8543.
Hi,
Thanks for that. Question: Can I go ahead & edit the original OIIO port files (installed using: vcpkg install openimageio) to reflect changes in your 5 commit files? Then 'vcpkg remove openimageio', by using the substituted / edited port files, then 'vcpkg install openimageio'? In doing so, I get : Error: Cannot find definition for package openimageio. Or do I have to wait until your commits are merged into Master Branch before any changes take effect?
@plettplett You can just use my changes and rebuild oiio. Note that I modified some patches.
Or replace your oiio portfile folder with this.
Hi,
Yes, the contents of your OIIO .zip folder builds. But can you tell me why that .zip's portfile.cmake contents is different from your latest portfile.cmake commit: c66716353cac6d568f9bbb4cd8b6baf86f0f4f07?
Hi,
Would you be able to look into why Jpeg-2000 plugin will not be built using your latest
.zip files, with a few modifications in portfile.cmake (under OPTIONS ${FEATURE_OPTIONS}):
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS ${FEATURE_OPTIONS}
-DOIIO_BUILD_TOOLS=OFF
-DOIIO_BUILD_TESTS=OFF
-DHIDE_SYMBOLS=ON
-DUSE_DCMTK=OFF
-DUSE_NUKE=OFF
# Added
# -DUSE_PYTHON=OFF
-DUSE_PYTHON=ON
-DUSE_QT=OFF
-DUSE_PTEX=OFF
# Added
-DUSE_OPENJPEG=ON
-DUSE_WEBP=ON
-DUSE_FFMPEG=ON
-DUSE_GIF=ON
-USE_OPENGL=ON
-DUSE_QT=ON
-DLINKSTATIC=${LINKSTATIC}
-DBUILD_MISSING_PYBIND11=OFF
-DBUILD_MISSING_DEPS=OFF
-DVERBOSE=ON
)
The openjpeg port is installed. But the script says: -- Could NOT find OpenJpeg (missing: OPENJPEG_INCLUDE_DIR OPENJPEG_OPENJPEG_LIBRARIES)
Command used: >vcpkg.exe install openimageio[libraw][openjpeg][Jpeg-2000]
[config-x64-windows-out.log](https://github.com/microsoft/vcpkg/files/4002949/config-x64-windows-out.log)
See attached log file
config-x64-windows-out.log
Hi,
In setting portfile.cmake to -DOIIO_BUILD_TOOLS=ON, I get:
C:\Users\chris\vcpkg>vcpkg.exe install openimageio[libraw][openjpeg][Jpeg-2000]
The following packages will be built and installed:
openimageio[core,libraw]:x64-windows
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,libraw]:x64-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-617f762393
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/chris/vcpkg/packages/openimageio_x64-windows/share/openimageio/copyright
-- Performing post-build validation
The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/iconvert.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/idiff.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/igrep.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/iinfo.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/iv.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/maketx.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/bin/oiiotool.exe
The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets.
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/iconvert.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/idiff.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/igrep.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/iinfo.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/iv.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/maketx.exe
C:/Users/chris/vcpkg/packages/openimageio_x64-windows/debug/bin/oiiotool.exe
Found 2 error(s). Please correct the portfile:
C:\Users\chris\vcpkg\ports\openimageio\portfile.cmake
-- Performing post-build validation done
Error: Building package openimageio:x64-windows failed with: POST_BUILD_CHECKS_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: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\chris\vcpkg>
@plettplett Sorry, I gave you wrong version. Please use this.
Then you can use command .\vcpkg install openimageio[openjpeg] to build oiio with openjpeg.
I will add feature tools to OIIO, please see #8543 latest changes.
@plettplett Sorry, I gave you wrong version. Please use this.
Then you can use command.\vcpkg install openimageio[openjpeg]to build oiio with openjpeg.I will add feature
toolsto OIIO, please see #8543 latest changes.
Thank you for helping out with this issue.
With your fix I am able to build OpenImageIO succesfully using vcpkg.
Unfortunately, when I try to use it in my project I get the following CMake error:
CMake Error at C:/Users/Mathijs/tools/vcpkg/installed/x64-windows/share/openimageio/OpenImageIOConfig.cmake:33 (include):
1> [CMake] include could not find load file:
1> [CMake]
1> [CMake] C:/Users/Mathijs/tools/vcpkg/installed/x64-windows/share/openimageio/.cmake
The issue seems to be line 33 of OpenImageIOConfig.cmake (second to last line of the file) which reads:
include("${CMAKE_CURRENT_LIST_DIR}/.cmake")
EDIT: by changing it to point to OpenImageIOTargets.cmake I got everything working.
Is this a vcpkg issue or a OpenImageIO issue?
Hi,
Thanks. I tried making the changes on Windows 10, but my formatting of the files posted at commit 9d0fc9a47c82533a51f658b16d70ff685a974343 may be my problem. Could you please send me a .zip of ALL the files associated with that commit, so I can retry.
Also, can you tell me a way to save the files at that commit to my computer, without copying & pasting the content. What format is the commit content in: ANSI, Unicode.... ?
Here's my output:
C:\Users\chris\vcpkg>vcpkg install openimageio[openjpeg][libraw]
The following packages will be built and installed:
openimageio[core,openjpeg]:x64-windows
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,openjpeg]:x64-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Extracting source C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Applying patch fix-dependency.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:52 (message):
Applying patch failed. Patch needs to be updated to work with source being
used by vcpkg!
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:134 (vcpkg_apply_patches)
scripts/cmake/vcpkg_from_github.cmake:139 (vcpkg_extract_source_archive_ex)
ports/openimageio/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:94 (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: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\chris\vcpkg>
@mathijs727 Fixed.
@plettplett We prefer to use ANSI/LF format.
Here is the latest changes:
openimageio.zip
Hi,
Thank you for this. Today, in running vcpkg, command prompt said: 'vcpkg.exe' is not recognized as an internal or external command,
operable program or batch file.
Checked, indeed vcpkg.exe is missing. So, removed the entire vcpkg directory, rebooted, & re-installed vcpkg. This built vcpkg.exe, but on execution from command prompt, same error:
'vcpkg.exe' is not recognized as an internal or external command,
operable program or batch file. Again, the vcpkg.exe file was deleted from the vcpkg directory, and is NOWHERE on the system.
Virus? No, according to McAfee LiveSave. So once again removed & installed. Same problem. Tried bypassing "vcpkg install boost"... a "vcpkg" command still deletes vcpkg.exe. Even the "vcpkg integrate install" removes vcpkg.exe!
Here's the install screen:
C:\Users\chris\Downloads> git clone https://github.com/Microsoft/vcpkg.git
Cloning into 'vcpkg'...
remote: Enumerating objects: 71570, done.
remote: Total 71570 (delta 0), reused 0 (delta 0), pack-reused 71570 eceiving objects: 100% (71570/71570), 16.1
Receiving objects: 100% (71570/71570), 19.29 MiB | 16.21 MiB/s, done.
Resolving deltas: 100% (43940/43940), done.
Updating files: 100% (4326/4326), done.
C:\Users\chris\Downloads>cd vcpkg
C:\Users\chris\Downloads\vcpkg>bootstrap-vcpkg.bat
Building vcpkg.exe ...
pch.cpp
archives.cpp
checks.cpp
chrono.cpp
cofffilereader.cpp
downloads.cpp
enums.cpp
files.cpp
hash.cpp
machinetype.cpp
strings.cpp
stringview.cpp
system.cpp
system.print.cpp
binaryparagraph.cpp
build.cpp
commands.autocomplete.cpp
commands.buildexternal.cpp
commands.cache.cpp
commands.ci.cpp
commands.contact.cpp
commands.cpp
commands.create.cpp
commands.dependinfo.cpp
commands.edit.cpp
commands.env.cpp
commands.exportifw.cpp
commands.import.cpp
commands.integrate.cpp
commands.list.cpp
commands.owns.cpp
commands.porthistory.cpp
commands.portsdiff.cpp
commands.search.cpp
commands.upgrade.cpp
commands.version.cpp
commands.xvsinstances.cpp
dependencies.cpp
export.cpp
export.chocolatey.cpp
globalstate.cpp
help.cpp
input.cpp
install.cpp
logicexpression.cpp
metrics.cpp
packagespec.cpp
packagespecparseresult.cpp
paragraphparseresult.cpp
paragraphs.cpp
parse.cpp
postbuildlint.buildtype.cpp
postbuildlint.cpp
remove.cpp
sourceparagraph.cpp
statusparagraph.cpp
statusparagraphs.cpp
tools.cpp
triplet.cpp
update.cpp
userconfig.cpp
vcpkgcmdarguments.cpp
vcpkglib.cpp
vcpkgpaths.cpp
versiont.cpp
visualstudio.cpp
vcpkglib.vcxproj -> C:\Users\chris\Downloads\vcpkg\toolsrc\msbuild.x86.release\vcpkglib.lib
vcpkg.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 14758 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkg.vcxproj -> C:\Users\chris\Downloads\vcpkg\toolsrc\msbuild.x86.release\vcpkg.exe
vcpkgmetricsuploader.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 5094 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkgmetricsuploader.vcxproj -> C:\Users\chris\Downloads\vcpkg\toolsrc\msbuild.x86.release\vcpkgmetricsuploader.exe
Building vcpkg.exe... done.
Telemetry
---------
vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running bootstrap-vcpkg.bat with -disableMetrics.
Read more about vcpkg telemetry at docs/about/privacy.md
C:\Users\chris\Downloads\vcpkg>vcpkg install boost
The system cannot execute the specified program.
C:\Users\chris\Downloads\vcpkg>vcpkg.exe
'vcpkg.exe' is not recognized as an internal or external command,
operable program or batch file.
Any ideas as to what's going on?
Thanks
@plettplett Please use powershell to run these commands.
Hi,
I used "x64 Native Tools Command Prompt", & have the problem of the vcpkg.exe deleting itself
Hi,
I tried powershell with admin priv: same result, it deletes itself. Here's the console grab:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> cd..
PS C:\WINDOWS> cd..
PS C:> cd users\chris
PS C:\users\chris> git clone https://github.com/Microsoft/vcpkg.git
Cloning into 'vcpkg'...
remote: Enumerating objects: 71570, done.
Receiving objects: 100% (710), reused 0 (delta 0), pack-reused 71570 eceiving objects: 100% (71570/71570), 14.18 MiB | 14.16 MiB/s
570/71570), 19.29 MiB | 14.41 MiB/s, done.
Resolving deltas: 100% (43940/43940), done.
Updating files: 100% (4326/4326), done.
PS C:\users\chris> cd vcpkg
PS C:\users\chris\vcpkg> .\bootstrap-vcpkg.bat
Building vcpkg.exe ...
pch.cpp
archives.cpp
checks.cpp
chrono.cpp
cofffilereader.cpp
downloads.cpp
enums.cpp
files.cpp
hash.cpp
machinetype.cpp
strings.cpp
stringview.cpp
system.cpp
system.print.cpp
binaryparagraph.cpp
build.cpp
commands.autocomplete.cpp
commands.buildexternal.cpp
commands.cache.cpp
commands.ci.cpp
commands.contact.cpp
commands.cpp
commands.create.cpp
commands.dependinfo.cpp
commands.edit.cpp
commands.env.cpp
commands.exportifw.cpp
commands.import.cpp
commands.integrate.cpp
commands.list.cpp
commands.owns.cpp
commands.porthistory.cpp
commands.portsdiff.cpp
commands.search.cpp
commands.upgrade.cpp
commands.version.cpp
commands.xvsinstances.cpp
dependencies.cpp
export.cpp
export.chocolatey.cpp
globalstate.cpp
help.cpp
input.cpp
install.cpp
logicexpression.cpp
metrics.cpp
packagespec.cpp
packagespecparseresult.cpp
paragraphparseresult.cpp
paragraphs.cpp
parse.cpp
postbuildlint.buildtype.cpp
postbuildlint.cpp
remove.cpp
sourceparagraph.cpp
statusparagraph.cpp
statusparagraphs.cpp
tools.cpp
triplet.cpp
update.cpp
userconfig.cpp
vcpkgcmdarguments.cpp
vcpkglib.cpp
vcpkgpaths.cpp
versiont.cpp
visualstudio.cpp
vcpkglib.vcxproj -> C:\Users\chris\vcpkgtoolsrc\msbuild.x86.release\vcpkglib.lib
vcpkg.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 14758 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkg.vcxproj -> C:\Users\chris\vcpkgtoolsrc\msbuild.x86.release\vcpkg.exe
vcpkgmetricsuploader.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 5094 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkgmetricsuploader.vcxproj -> C:\Users\chris\vcpkgtoolsrc\msbuild.x86.release\vcpkgmetricsuploader.exe
Building vcpkg.exe... done.
vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running bootstrap-vcpkg.bat with -disableMetrics.
Read more about vcpkg telemetry at docs/about/privacy.md
PS C:\users\chris\vcpkg> .\vcpkg integrate install
Program 'vcpkg.exe' failed to run: The system cannot find the file specifiedAt line:1 char:1
PS C:\users\chris\vcpkg>
I also tried install without IdentityService. Made no difference
Thanks
Could you close McAfee and try again?
Hi,
Yes, that worked. Need to re-build all the libs. Do you know of any OIIO build failures (including ALL non-dependency options) when libs are built using MSVS 16.4.2?
Thank you very much
I had to un-install all McAfee apps for this to work.
@plettplett The current build failures should be fixed in #8543.
Hi,
Re-built most OIIO options with MCVC 16.2.4.
There are still some libs that appear to be missing from the OIIO build:
-- Not using FFmpeg -- disabled
-- Not using GIF -- disabled
-- Not using LibRaw -- disabled
-- Not using OpenJpeg -- disabled
-- Not using Webp -- disabled
How does one "enable": FFmpeg, GIF, LibRaw, OpenJpeg, Webp in OIIO build? These
ports were successfully built through vcpkg
Thank you
install-x64-windows-dbg-out.log
Hi,
By editing your portfile.cmake to:
....
-DOIIO_BUILD_TOOLS=ON
-DHIDE_SYMBOLS=ON
-DUSE_OPENJPEG=ON
-DUSE_WEBP=ON
-DUSE_FFMPEG=ON
-DUSE_GIF=ON
-DUSE_PYTHON=ON
...
Still, the log shows these issues:
-- Not using LibRaw -- disabled
-- Could NOT find OpenJpeg (missing: OPENJPEG_INCLUDE_DIR OPENJPEG_OPENJPEG_LIBRARIES)
-- OpenJpeg library not found
-- Try setting OpenJpeg_ROOT ?
Any ideas?
Thanks,
You can use command .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp] to use thees features.
If you still have some failure, please provide the failure logs.
According to the log, still no jpeg-2000, nor raw. Here's the log from this command: ./vcpkg install openimageio[openJpeg][libraw]
Thanks,
Did that: .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp].
log:
"CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:28 (message):
Jpeg-2000 plugin will not be built"
And with this edited in the portfile,cmake:
…
-DOIIO_BUILD_TOOLS=ON
-DHIDE_SYMBOLS=ON
-DUSE_OPENJPEG=ON
-DUSE_WEBP=ON
-DUSE_FFMPEG=ON
-DUSE_GIF=ON
-DUSE_DCMTK=OFF
-DUSE_NUKE=OFF
-DUSE_PYTHON=ON
….
terminal:
PS C:\users\chris\vcpkg> .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp]
The following packages will be built and installed:
openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-a61c4ba19c
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/chris/vcpkg/packages/openimageio_x64-windows/share/openimageio/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows... done
Installing package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows...
Installing package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows... done
Elapsed time for package openimageio:x64-windows: 3.318 min
Total elapsed time: 3.318 min
The package openimageio:x64-windows provides CMake targets:
find_package(Modules CONFIG REQUIRED)
target_link_libraries(main PRIVATE OpenImageIO::OpenImageIO)
find_package(OpenImageIO CONFIG REQUIRED)
target_link_libraries(main PRIVATE OpenImageIO::OpenImageIO OpenImageIO::OpenImageIO_Util)
PS C:\users\chris\vcpkg>
@plettplett Thanks, fixed it in #8543.
Feature libraw seems works, see configure log:
-- Found LibRaw: optimized;F:/vcpkg/installed/x86-windows/lib/raw.lib;debug;F:/vcpkg/installed/x86-windows/debug/lib/rawd.lib (found version "0.19.0")
-- Found LibRaw 0.19.0
-- LibRaw_LIBRARIES = optimized;F:/vcpkg/installed/x86-windows/lib/raw.lib;debug;F:/vcpkg/installed/x86-windows/debug/lib/rawd.lib
-- Found OpenJPEG
-- OPENJPEG_INCLUDE_DIRS = F:/vcpkg/installed/x86-windows/include
-- OPENJPEG_LIBRARIES = openjp2
Hi,
Thanks for the changes. My edits give:
PS C:\Users\chris\vcpkg> .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp]
The following packages will be built and installed:
openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Extracting source C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Applying patch fix-dependency.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:52 (message):
Applying patch failed. Patch needs to be updated to work with source being
used by vcpkg!
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:134 (vcpkg_apply_patches)
scripts/cmake/vcpkg_from_github.cmake:139 (vcpkg_extract_source_archive_ex)
ports/openimageio/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:94 (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: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
PS C:\Users\chris\vcpkg>
Could you please provide me the complete port in a .zip file.
Thank you
@plettplett
openimageio.zip
Hi,
Thank you very much for the zip. That jpeg2000 is working now.
How does one get a static OIIO lib built (.lib, and no .dll) on windows to include all the file formats.
Thanks,
@plettplett You can use command .\vcpkg install openimageio:x86-windows-static or .\vcpkg install openimageio:x64-windows-static.
Hi,
Thanks for that. As you're aware, OIIO now builds with shared libs. The only OIIO plugins that I have not enabled in Windows are heif , ptex, , Freetype, OpenCV, ptex, Nuke, & DCMTK.
Through Static build, there are errors. Please take a look at the log:
Installing package openjpeg[core]:x64-windows-static... done
Elapsed time for package openjpeg:x64-windows-static: 13.72 s
Starting package 94/94: openimageio:x64-windows-static
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows-static...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-1287ea81ed
-- Configuring x64-windows-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: ninja -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x64-windows-static-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Users\chris\vcpkg\buildtrees\openimageio\config-x64-windows-static-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:293 (vcpkg_execute_required_process)
ports/openimageio/portfile.cmake:42 (vcpkg_configure_cmake)
scripts/ports.cmake:94 (include)
Error: Building package openimageio:x64-windows-static 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-static
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\chris\vcpkg>
config-x64-windows-static-out.log
Thank you very much
It seems I missed dependency port pybind11.
Could you install pybind11 before install OIIO?
Thanks.
Hi,
Thanks. But pybind11 was already installed. It built the dynamix lib with no problems. Its just the static lib that has errors
C:\Users\chris\vcpkg>vcpkg install pybind11
The following packages are already installed:
pybind11[core]:x64-windows
Starting package 1/1: pybind11:x64-windows
Package pybind11:x64-windows is already installed
Elapsed time for package pybind11:x64-windows: 777.2 us
Total elapsed time: 881.4 us
The package pybind11:x64-windows provides CMake targets:
find_package(pybind11 CONFIG REQUIRED)
# Note: 1 target(s) were omitted.
target_link_libraries(main PRIVATE mylib ${target_name} pybind11::embed pybind11::module)
C:\Users\chris\vcpkg>
@plettplett You need to install pybind:x64-windows-static.
Hi,
Thank you. Installed pybind11:x64-windows-static. But I don't see any pybind11 libs in neither C:\Users\chris\vcpkg\installed\x64-windows\lib, nor C:\Users\chris\vcpkg\installed\x64-windows-static\lib. Do you know the name of the pybind11 lib?
See:
C:\Users\chris\vcpkg>vcpkg install pybind11:x64-windows-static
The following packages are already installed:
pybind11[core]:x64-windows-static
Starting package 1/1: pybind11:x64-windows-static
Package pybind11:x64-windows-static is already installed
Elapsed time for package pybind11:x64-windows-static: 1.507 ms
Total elapsed time: 1.721 ms
The package pybind11:x64-windows-static provides CMake targets:
find_package(pybind11 CONFIG REQUIRED)
# Note: 1 target(s) were omitted.
target_link_libraries(main PRIVATE mylib ${target_name} pybind11::embed pybind11::module)
C:\Users\chris\vcpkg>vcpkg install pybind11
The following packages are already installed:
pybind11[core]:x64-windows
Starting package 1/1: pybind11:x64-windows
Package pybind11:x64-windows is already installed
Elapsed time for package pybind11:x64-windows: 1.594 ms
Total elapsed time: 1.741 ms
The package pybind11:x64-windows provides CMake targets:
find_package(pybind11 CONFIG REQUIRED)
# Note: 1 target(s) were omitted.
target_link_libraries(main PRIVATE mylib ${target_name} pybind11::embed pybind11::module)
C:\Users\chris\vcpkg>
Also, I notice the OpenColorIO.lib is present in the C:\Users\chris\vcpkg\installed\x64-windows\lib folder, but missing in the C:\Users\chris\vcpkg\installed\x64-windows-static\lib folder. Vcpkg says the static OpenColorIO.lib is built:
C:\Users\chris\vcpkg>vcpkg install OpenColorIO:x64-windows-static
The following packages are already installed:
opencolorio[core]:x64-windows-static
Starting package 1/1: opencolorio:x64-windows-static
Package opencolorio:x64-windows-static is already installed
Elapsed time for package opencolorio:x64-windows-static: 1.585 ms
Total elapsed time: 1.73 ms
The package opencolorio:x64-windows-static provides CMake targets:
find_package(opencolorio CONFIG REQUIRED)
target_link_libraries(main PRIVATE OpenColorIO_STATIC)
C:\Users\chris\vcpkg>
Still errors in the static OIIO build. Here is the log for the OIIO static build.
Hi,
Now I'm getting very early-on errors in trying to build OIIO, both dynamic & static:
PS C:\users\chris\vcpkg> .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp]:x64-windows
The following packages will be built and installed:
openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-1287ea81ed
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: ninja -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Users\chris\vcpkg\buildtrees\openimageio\config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:293 (vcpkg_execute_required_process)
ports/openimageio/portfile.cmake:42 (vcpkg_configure_cmake)
scripts/ports.cmake:94 (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: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
PS C:\users\chris\vcpkg> .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp]:x64-windows-static
The following packages will be built and installed:
openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows-static
Starting package 1/1: openimageio:x64-windows-static
Building package openimageio[core,ffmpeg,gif,libraw,openjpeg,webp]:x64-windows-static...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-1287ea81ed
-- Configuring x64-windows-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: ninja -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x64-windows-static-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Users\chris\vcpkg\buildtrees\openimageio\config-x64-windows-static-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:293 (vcpkg_execute_required_process)
ports/openimageio/portfile.cmake:42 (vcpkg_configure_cmake)
scripts/ports.cmake:94 (include)
Error: Building package openimageio:x64-windows-static 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-static
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
PS C:\users\chris\vcpkg>
Attached are 2 log files:
config-x64-windows-static-out.log
config-x64-windows-out.log
Any ideas?
Thanks,
Hi,
Please disregard the previous post: config-x64-windows-static-out.log
config-x64-windows-out.log. The problem is my editing & saving the port file.
Static OIIO build on Windows is STILL broke. Here is another attempt, this time there are 4 log files associated with the error/script:
attached x 5
install-x64-windows-static-dbg-out.log
config-x64-windows-static-out.log
Hi,
My edited portfile.cmake - that works for an OIIO dynamic build - is being used for the Static build. (> .\vcpkg install openimageio[ffmpeg,gif,libraw,openjpeg,webp,OpenColorIO]:x64-windows-static).
My edited portfile.cmake has this added (works for dynamic lib):
-DOIIO_BUILD_TOOLS=ON
-DHIDE_SYMBOLS=ON
-DUSE_OPENJPEG=ON
-DUSE_WEBP=ON
-DUSE_FFMPEG=ON
-DUSE_DCMTK=OFF
-DUSE_NUKE=OFF
-DUSE_PYTHON=ON
-DUSE_QT=ON
Thanks,
opencolorio:x64-windows-static successfully builds and installs static libraries in _VCPKG_PATH/installed/x64-windows-static/lib/static_.
Confirmed, due to ffmpeg and built-in FindFFmpeg,cmake bugs, openimageio[tools]x64-windows-static generation failed.
We will create PRs to solve these problems:
Can you replace this into _VCPKG_PATH/buildtrees/openimageio/src//src/cmake/modules_ and try again?
Or you can just remove _VCPKG_PATH/buildtrees/openimageio/src//src/cmake/modules/FindFFmpeg,cmake_.
Thanks.
Hi,
Thank you. Did that. Still errors in the static build:
attached x 1 :
Hi,
Really not sure what changed as I lost track, but the static-build now works using the previous ffmpeg cmake. Thanks for your continued support.
Okay, that's great! After my PR merge, I will close this issue.
Hi,
I just tried vcpkg on OSX for the first time.
Would you be able to make a port file for ilmbase &openexr, from ver 2.3 to ver 2.4. I also noticed that the only libs built through vcpkg were static ver 2.3. Can you build both static & dynamic by default, or is there a switch to do that?
Thank you
Chris Spence
Digital Devoid, Inc.
7300 Biscayne Blvd, Suite 405
Miami, FL 33138
Tel: 305 757 1330
[email protected]
www.digitaldevoid.com
On Jan 6, 2020, at 11:49 PM, Jack·Boos·Yu notifications@github.com wrote:
Confirmed, due to openexr and ffmpeg bugs, openimageio[tools]x64-windows-static generation failed.
We will create PRs to solve these problems.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/9377?email_source=notifications&email_token=ADQ4AWQ3ZGUTF4NMII46CFLQ4QCUHA5CNFSM4J5VHTNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIHV5PI#issuecomment-571432637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ4AWVRPMOKJNQZFXDWKO3Q4QCUHANCNFSM4J5VHTNA.
@plettplett Since we only support static build on OSX, you can create a triplet file in _VCPKG_PATH/triplets_ named x64-osx-dynamic.cmake and put these code in it:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
Then you can use command .\vcpkg install openimageio[...]:x64-osx-dynamic to build OIIO dynamically.
Do you ask me to update the ilmbase and openexr versions?
Hi,
I have both Static & Dynamic running on OSX 10.13.6.
On Windows, where I have built the Dynamic, I’d like Ilmbase & OpenEXR vcpkg updates from 2.3 to 2.4.
Thanks,
Chris Spence
Digital Devoid, Inc.
7300 Biscayne Blvd, Suite 405
Miami, FL 33138
Tel: 305 757 1330
[email protected]
www.digitaldevoid.com
On Jan 9, 2020, at 10:07 PM, Jack·Boos·Yu notifications@github.com wrote:
@plettplett https://github.com/plettplett Since we only support static build on OSX, you can create a triplet file in VCPKG_PATH/triplets named x64-osx-dynamic.cmake and put these code in it:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
Do you ask me to update the ilmbase and openexr versions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/9377?email_source=notifications&email_token=ADQ4AWXPUYKECH35KNGVBO3Q47RALA5CNFSM4J5VHTNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEISQWJI#issuecomment-572853029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ4AWR5TBERWPPSCXVKGZDQ47RALANCNFSM4J5VHTNA.
Hi,
Did all port updates, & rebuilt the libs on Windows 64bit. Have OIIO static build errors:
PS C:\users\chris\vcpkg> .\vcpkg install openimageio[core,ffmpeg,gif,libraw,opencolorio,openjpeg,tools,webp]:x64-windows-static
The following packages will be built and installed:
openimageio[core,ffmpeg,gif,libraw,opencolorio,openjpeg,tools,webp]:x64-windows-static
Starting package 1/1: openimageio:x64-windows-static
Building package openimageio[core,ffmpeg,gif,libraw,opencolorio,openjpeg,tools,webp]:x64-windows-static...
-- Using cached C:/Users/chris/vcpkg/downloads/OpenImageIO-oiio-fdd982a9922ff508b8b22e5d024356b582572f46.tar.gz
-- Using source at C:/Users/chris/vcpkg/buildtrees/openimageio/src/b582572f46-1287ea81ed
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
Working Directory: C:/Users/chris/vcpkg/buildtrees/openimageio/x64-windows-static-dbg
See logs for more information:
C:\Users\chris\vcpkg\buildtreesopenimageio\install-x64-windows-static-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/openimageio/portfile.cmake:63 (vcpkg_install_cmake)
scripts/ports.cmake:94 (include)
Error: Building package openimageio:x64-windows-static 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-static
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
PS C:\users\chris\vcpkg>
install-x64-windows-static-dbg-out.log
config-x64-windows-static-out.log
Hi,
Dynamic builds OK. Both Static/Dynamic libs compiled at the same tim
install-x64-windows-rel-out.log
install-x64-windows-dbg-out.log
e. See attached log files for Dynamic build:
This is my log:
src\iconvert\CMakeFiles\iconvert.dir\iconvert.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\iconvert\iconvert.lib and object src\iconvert\iconvert.exp
[161/166] cmd.exe /C "cd . && F:\vcpkg\downloads\tools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=src\maketx\CMakeFiles\maketx.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\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe @CMakeFiles\maketx.rsp /out:src\maketx\maketx.exe /implib:src\maketx\maketx.lib /pdb:src\maketx\maketx.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console && cd ."
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.
src\maketx\CMakeFiles\maketx.dir\maketx.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\maketx\maketx.lib and object src\maketx\maketx.exp
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.
src\maketx\CMakeFiles\maketx.dir\maketx.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\gif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\maketx\maketx.lib and object src\maketx\maketx.exp
[162/166] cmd.exe /C "cd . && F:\vcpkg\downloads\tools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=src\iinfo\CMakeFiles\iinfo.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\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe @CMakeFiles\iinfo.rsp /out:src\iinfo\iinfo.exe /implib:src\iinfo\iinfo.lib /pdb:src\iinfo\iinfo.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console && cd ."
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.
I found a lot of differences. Did you build with the modification of #8543?
Hi,
No, I didn’t build using #8543.
Why - when I updating all ports - were those changes not in the latest OIIO port installed through git pull & vcpkg update?
Anyway, I made the changes.
Still the same errors. Here is what works, & what doesn’t:
STATIC BUILD :
OK
.\vcpkg install openimageio[core]:x64-windows-static
OK
.\vcpkg install openimageio[core,ffmpeg]:x64-windows-static
OK
.\vcpkg install openimageio[core,ffmpeg,gif,openjpeg,webp]:x64-windows-static
OK
.\vcpkg install openimageio[core,ffmpeg,gif,openjpeg,webp,libraw]:x64-windows-static
OK
.\vcpkg install openimageio[core,ffmpeg,gif,openjpeg,webp,libraw,opencolorio]:x64-windows-static
FAILS
.\vcpkg install openimageio[core,tools]:x64-windows-static
FAILS
.\vcpkg install openimageio[core,ffmpeg,gif,openjpeg,webp,libraw,tools]:x64-windows-static
FAILS
.\vcpkg install openimageio[core,ffmpeg,gif,openjpeg,webp,libraw,tools,opencolorio]:x64-windows-static
build errors:
OpenImageIO.lib(color_ocio.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport)
It seems like the Static “Tools" need something they’re finding in the Dynamic build. Any ideas?
Thanks,
Chris Spence
Digital Devoid, Inc.
7300 Biscayne Blvd, Suite 405
Miami, FL 33138
Tel: 305 757 1330
[email protected]
www.digitaldevoid.com
On Jan 15, 2020, at 12:02 AM, Jack·Boos·Yu notifications@github.com wrote:
This is my log:
src\iconvert\CMakeFiles\iconvert.dir\iconvert.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\iconvert\iconvert.lib and object src\iconvert\iconvert.exp
[161/166] cmd.exe /C "cd . && F:\vcpkg\downloadstools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=src\maketx\CMakeFiles\maketx.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\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe @CMakeFiles\maketx.rsp /out:src\maketx\maketx.exe /implib:src\maketx\maketx.lib /pdb:src\maketx\maketx.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console && cd ."
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.src\maketx\CMakeFiles\maketx.dir\maketx.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\maketx\maketx.lib and object src\maketx\maketx.exp
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.src\maketx\CMakeFiles\maketx.dir\maketx.cpp.obj -LIBPATH:F:\vcpkg\installed\x64-windows-static\lib -LIBPATH:F:\vcpkg\installed\x64-windows-static\debug\lib src\libOpenImageIO\OpenImageIO.lib F:\vcpkg\installed\x64-windows-static\debug\lib\openjp2.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Imath-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Iex-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\Half-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmThread-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\IlmImf-2_3_d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avformat.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avdevice.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avcodec.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avutil.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swscale.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avfilter.lib F:\vcpkg\installed\x64-windows-static\debug\lib\swresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\avresample.lib F:\vcpkg\installed\x64-windows-static\debug\lib\zlibd.lib wsock32.lib ws2_32.lib Secur32.lib bcrypt.lib F:\vcpkg\installed\x64-windows-static\debug\lib\bz2d.lib F:\vcpkg\installed\x64-windows-static\debug\libgif.lib F:\vcpkg\installed\x64-windows-static\debug\lib\libpng16d.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jpegd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\rawd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\jasperd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\tiffd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\lzmad.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdemuxd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\webpdecoderd.lib shlwapi.lib ole32.lib windowscodecs.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_filesystem-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_system-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_thread-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_chrono-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_date_time-vc140-mt-gd.lib F:\vcpkg\installed\x64-windows-static\debug\lib\boost_atomic-vc140-mt-gd.lib psapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
Creating library src\maketx\maketx.lib and object src\maketx\maketx.exp
[162/166] cmd.exe /C "cd . && F:\vcpkg\downloadstools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=src\iinfo\CMakeFiles\iinfo.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\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe @CMakeFiles\iinfo.rsp /out:src\iinfo\iinfo.exe /implib:src\iinfo\iinfo.lib /pdb:src\iinfo\iinfo.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console && cd ."
Microsoft (R) Incremental Linker Version 14.24.28314.0
Copyright (C) Microsoft Corporation. All rights reserved.
I found a lot of differences. Did you build with the modification of #8543 https://github.com/microsoft/vcpkg/pull/8543?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/9377?email_source=notifications&email_token=ADQ4AWRW4BLWU2QXSAL6UGDQ52KETA5CNFSM4J5VHTNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI7CDMQ#issuecomment-574497202, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ4AWX5YVB6P77RUUJGWQDQ52KETANCNFSM4J5VHTNA.
Hi,
Using the fully loaded OIIO static lib (less the "tools" build option) built through vcpkg, I'm getting a link error when building my app against the OIIO lib. Naturally my app links against the fully loaded Dynamic OIIO lib with no errors!
Any ideas would be greatly appreciated:
avutil.lib(hwcontext_dxva2.o) : error LNK2019: unresolved external symbol __imp_GetDesktopWindow referenced in function dxva2_device_create
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptOpenAlgorithmProvider referenced in function av_get_random_seed
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptCloseAlgorithmProvider referenced in function av_get_random_seed
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptGenRandom referenced in function av_get_random_seed
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol AcquireCredentialsHandleA referenced in function tls_open
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_FreeCredentialsHandle referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol InitializeSecurityContextA referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_DeleteSecurityContext referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_ApplyControlToken referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol QueryContextAttributesA referenced in function tls_write
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol FreeContextBuffer referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol EncryptMessage referenced in function tls_write
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol DecryptMessage referenced in function tls_read
resize_texture.exe : fatal error LNK1120: 13 unresolved externals
I tried linking with -L "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x64\WS2_32.Lib", but no change.
Thanks,
@plettplett I cannot pinpoint the cause of the issue without using my modifications.
If you need to use the latest version, could you open a PR to update OIIO so that I can track it?
Thanks.
BTW: I think you should link to Bcrypt.lib, User32.liband Secur32.lib.
Hi,
Thank you very much. Those 3 libs got rid of the ffmpeg link errors. Well done.
Close this issue via #8543 merged.