Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[libraw] Re-fix non-thread-safe library installation, always export pkgconfig files, add usage #19593

Merged
merged 18 commits into from
Oct 18, 2021

Conversation

JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented Aug 16, 2021

When building openimageio[libraw]:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LibRaw_r_LIBRARY
    linked by target "OpenImageIO" in directory E:/VisualStudio/vcpkg/buildtrees/openimageio/src/fa55d3f67e-731af77137.clean/src/libOpenImageIO

That's because oiio needs to find the thread-safe and non-thread-safe versions of libraw.

So, in this PR:

  • Install non-thread-safe version to lib/manual-link.
  • Always export the pkgconfig files since FindLibraw.cmake need them.
  • Always install vcpkg-cmake-wrapper since we use FindLibraw.cmake.
  • add usage.

Fixes #19580.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Aug 16, 2021
@JackBoosY JackBoosY requested a review from PhoebeHui August 16, 2021 07:50
@JackBoosY
Copy link
Contributor Author

cc @ras0219-msft for review this PR since you modified this part.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

All manifest files must be formatted

./vcpkg format-manifest ports/*/vcpkg.json

Diff
diff --git a/ports/libraw/vcpkg.json b/ports/libraw/vcpkg.json
index 23df524..6439478 100644
--- a/ports/libraw/vcpkg.json
+++ b/ports/libraw/vcpkg.json
@@ -5,8 +5,8 @@
   "description": "raw image decoder library",
   "homepage": "https://www.libraw.org",
   "dependencies": [
-    "lcms",
     "jasper",
+    "lcms",
     {
       "name": "vcpkg-cmake",
       "host": true
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6bc4362fb49e53f1fff7f51e4e27e1946755ecc6 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 94f34ac..ff4bc42 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3557,8 +3557,8 @@
       "port-version": 2
     },
     "libraw": {
-      "baseline": "201903-3",
-      "port-version": 0
+      "baseline": "201903",
+      "port-version": 4
     },
     "librdkafka": {
       "baseline": "1.7.0",
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 7dc015c..d0e889f 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "b1609e8b8544fe3a79145dff86289e34d0be109b",
+      "version-string": "201903",
+      "port-version": 4
+    },
     {
       "git-tree": "659d20658809488ab3cfccf30d85870ce06615e0",
       "version-string": "201903-3",

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6bc4362fb49e53f1fff7f51e4e27e1946755ecc6 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 9734a5d..d0e889f 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "29570f7c291c82fff29831f09cba7d3080250fc5",
+      "git-tree": "b1609e8b8544fe3a79145dff86289e34d0be109b",
       "version-string": "201903",
       "port-version": 4
     },

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6bc4362fb49e53f1fff7f51e4e27e1946755ecc6 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 9734a5d..c6d3b94 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "29570f7c291c82fff29831f09cba7d3080250fc5",
+      "git-tree": "e92bbae52fde973c40d11645968b17ae4ca56846",
       "version-string": "201903",
       "port-version": 4
     },

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6bc4362fb49e53f1fff7f51e4e27e1946755ecc6 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 9734a5d..c6d3b94 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "29570f7c291c82fff29831f09cba7d3080250fc5",
+      "git-tree": "e92bbae52fde973c40d11645968b17ae4ca56846",
       "version-string": "201903",
       "port-version": 4
     },

ports/libraw/portfile.cmake Outdated Show resolved Hide resolved
ports/libraw/usage Outdated Show resolved Hide resolved
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6bc4362fb49e53f1fff7f51e4e27e1946755ecc6 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 9734a5d..ee84e7e 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "29570f7c291c82fff29831f09cba7d3080250fc5",
+      "git-tree": "b429ecc70be47299a5df72c53d7e02ea415bf3fc",
       "version-string": "201903",
       "port-version": 4
     },

@strega-nil-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JackBoosY
Copy link
Contributor Author

Depends on #19628.

@PhoebeHui PhoebeHui marked this pull request as draft August 26, 2021 06:09
@JackBoosY
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 21935b744dc411e0fb1926618fdfb18c67d4b188 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libraw.json b/versions/l-/libraw.json
index 9734a5d..ee84e7e 100644
--- a/versions/l-/libraw.json
+++ b/versions/l-/libraw.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "29570f7c291c82fff29831f09cba7d3080250fc5",
+      "git-tree": "b429ecc70be47299a5df72c53d7e02ea415bf3fc",
       "version-string": "201903",
       "port-version": 4
     },

Comment on lines -70 to -71
# Rename cmake module into a config in order to allow more flexible lookup rules
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/FindLibRaw.cmake ${CURRENT_PACKAGES_DIR}/share/libraw/libraw-config.cmake)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ras0219-msft, I noticed you added it before, could you help confirm?

@dg0yt
Copy link
Contributor

dg0yt commented Oct 12, 2021

I had a look at libraw:x64-osx.

  • Upstream provides a find module FindLibRaw.cmake. Thus, the correct usage is
    find_package(LibRaw).
  • The find module prefers pkg-config if it is available. Vcpkg must control this variation if it wants to reliably provide the module.
  • The vcpkg port renames the find module to libraw-config.cmake (config file pattern), in order to make it being found by find_package in config mode. In that way, the find module is not available for a canonical find_package(LibRaw MODULE). I think CMake has more variations in behaviour for config files.
  • Instead of patching the find module, a wrapper adds missing dependencies. Normally, wrappers are only used for standard CMake modules where patching is not an option.

@JackBoosY
Copy link
Contributor Author

@dg0yt We need to use wrapper to guide the search of MODULE mode.

@dg0yt
Copy link
Contributor

dg0yt commented Oct 13, 2021

@dg0yt We need to use wrapper to guide the search of MODULE mode.

Makes sense - but then the find modules should be installed with it original name, not as a fake config file. This would unbreak find_package(LibRaw MODULE).

@JackBoosY JackBoosY added info:reviewed Pull Request changes follow basic guidelines requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. labels Oct 14, 2021
@JackBoosY
Copy link
Contributor Author

Ping @dg0yt for review this PR.

@vicroms vicroms merged commit 657d66a into microsoft:master Oct 18, 2021
@vicroms vicroms removed the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Oct 18, 2021
@JackBoosY JackBoosY deleted the dev/jack/19580 branch October 19, 2021 00:51
@minhaolee
Copy link

minhaolee commented Nov 1, 2021

@JackBoosY Sorry. I have got the latest vcpkg Pull Request code on my PC and generate a new "vcpkg.exe". However, after I typed "vcpkg install openimageio[libraw,ffmpeg,freetype,opencv,gif,openjpeg,webp] --triplet x64-windows", it still shows the same error. Even just "vcpkg install openimageio:x64-windows" can lead to the error. How can I solve it? I have been puzzled about it for two months since I began to use vcpkg, and I hurried to complete it now.

$ vcpkg install openimageio:x64-windows
Computing installation plan...
The following packages will be built and installed:
openimageio[core]:x64-windows -> 2.3.7.2#4
Detecting compiler hash for triplet x64-windows...
-- Setting HTTP_PROXY environment variables to 127.0.0.1:3213
-- Setting HTTPS_PROXY environment variables to 127.0.0.1:3213
Restored 0 packages from C:\Users\minhaoli\AppData\Local\vcpkg\archives in 878.2 us. Use --debug to see more details.
Starting package 1/1: openimageio:x64-windows
Building package openimageio[core]:x64-windows...
-- Using cached OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/OpenImageIO-oiio-9f74cf4d9813bfdcad5bca08b4ff75a25d056cb0.tar.gz
-- Applying patch fix-config-cmake.patch
-- Applying patch fix_static_build.patch
-- Applying patch disable-test.patch
-- Applying patch fix-dependencies.patch
-- Using source at D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: ninja -v
Working Directory: D:/vcpkg/buildtrees/openimageio/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\openimageio\config-x64-windows-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:411 (vcpkg_execute_required_process)
ports/openimageio/portfile.cmake:50 (vcpkg_cmake_configure)
scripts/ports.cmake:142 (include)

@JackBoosY
Copy link
Contributor Author

@minhaolee Please provide D:\vcpkg\buildtrees\openimageio\config-x64-windows-out.log.

@minhaolee
Copy link

minhaolee commented Nov 5, 2021

@JackBoosY Sorry, I was collecting image data recently. Sure, the content of log are below.

[1/2] "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean" -B .. "-DUSE_LIBRAW=ON" "-DUSE_OPENCOLORIO=OFF" "-DUSE_FFMPEG=ON" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=ON" "-DUSE_GIF=ON" "-DUSE_OPENCV=ON" "-DUSE_OPENJPEG=ON" "-DUSE_WEBP=ON" "-DUSE_PYTHON=OFF" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=0" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/openimageio_x64-windows"
FAILED: ../CMakeCache.txt
"D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean" -B .. "-DUSE_LIBRAW=ON" "-DUSE_OPENCOLORIO=OFF" "-DUSE_FFMPEG=ON" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=ON" "-DUSE_GIF=ON" "-DUSE_OPENCV=ON" "-DUSE_OPENJPEG=ON" "-DUSE_WEBP=ON" "-DUSE_PYTHON=OFF" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=0" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/openimageio_x64-windows"
-- The CXX compiler identification is MSVC 19.29.30133.0
-- The C compiler identification is MSVC 19.29.30133.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.3.7.2
-- CMake 3.21.1
-- CMake system = Windows-10.0.19042
-- CMake system name = Windows
-- Project source dir = D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean
-- Project build dir = D:/vcpkg/buildtrees/openimageio/x64-windows-rel
-- Project install prefix = D:/vcpkg/packages/openimageio_x64-windows
-- Configuration types =
-- Build type = Release
-- Setting Namespace to: OpenImageIO_v2_3
-- CMAKE_SYSTEM_NAME = Windows
-- CMAKE_SYSTEM_VERSION = 10.0.19042
-- CMAKE_SYSTEM_PROCESSOR = AMD64
-- CMAKE_CXX_COMPILER = C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID = MSVC
-- Building for C++14
-- clang-format not found.
-- Setting SOVERSION to: 2.3
-- CMAKE_INSTALL_RPATH = D:/vcpkg/packages/openimageio_x64-windows/lib
-- * Checking for dependencies...
-- * - Missing a dependency 'Package'?
-- * Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- * For many dependencies, we supply src/build-scripts/build_Package.bash
-- * - To exclude an optional dependency (even if found),
-- * -DUSE_Package=OFF or set environment var USE_Package=OFF

-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found Boost: D:/vcpkg/installed/x64-windows/include (found version "1.76.0") found components: filesystem system thread chrono date_time atomic
-- Found Boost 107600
-- Boost_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- Boost_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- Boost_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/boost_filesystem-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_filesystem-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_system-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_system-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_thread-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_thread-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_chrono-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_chrono-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_date_time-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_date_time-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_atomic-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_atomic-vc140-mt-gd.lib
-- Found ZLIB: optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11")
-- Found ZLIB 1.2.11
-- ZLIB_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- ZLIB_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- ZLIB_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Found TIFF: optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Found TIFF 4.3.0
-- TIFF_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- TIFF_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- TIFF_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/lzma.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib;optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Could NOT find Imath (missing: Imath_DIR)
-- Found CONFIG for OpenEXR 2 (OPENEXR_VERSION=2.5.0)
-- Found OpenEXR 2.5.0
-- OPENEXR_INCLUDES = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- OPENEXR_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- OpenEXR_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- OPENEXR_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- OPENEXR_LIBRARIES = OpenEXR::IlmImfConfig;OpenEXR::IlmImfConfig;IlmBase::Iex;IlmBase::Half;IlmBase::Imath;IlmBase::IlmThread;ZLIB::ZLIB;IlmBase::IlmBaseConfig;IlmBase::Half;IlmBase::IexMath;IlmBase::IlmBaseConfig;IlmBase::IlmBaseConfig;IlmBase::IlmBaseConfig;IlmBase::Iex;Threads::Threads
-- IMATH_INCLUDES = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (JPEG) does
not match the name of the calling package (JPEGTurbo). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
src/cmake/modules/FindJPEGTurbo.cmake:36 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:123 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib
-- Found JPEGTurbo
-- JPEG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- JPEG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib
-- Using internal PugiXML
-- Not using Python -- disabled
-- Python site packages dir lib/python./site-packages
-- Python to include 'lib' prefix: OFF
-- Python to include SO version: OFF
-- Could NOT find png (missing: png_DIR)
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PNG) does
not match the name of the calling package (png). This can lead to problems
in calling code that expects find_package result variables (e.g.,
_FOUND) to follow a certain pattern.
Call Stack (most recent call first):
D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPNG.cmake:159 (find_package_handle_standard_args)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:151 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PNG: optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37")
-- Found png 1.6.37
-- PNG_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- PNG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- PNG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib;optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Found BZip2: optimized;D:/vcpkg/installed/x64-windows/lib/bz2.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/bz2d.lib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found BZip2 1.0.8
-- BZIP2_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- BZIP2_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- BZIP2_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/bz2.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/bz2d.lib
-- Found Freetype: optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.11.0")
-- Found Freetype 2.11.0
-- FREETYPE_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- FREETYPE_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib
-- Not using OpenColorIO -- disabled
CMake Warning at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "3.0".

The following configuration files were considered but not accepted:

D:/vcpkg/installed/x64-windows/share/opencv/OpenCVConfig.cmake, version: 4.5.3

Call Stack (most recent call first):
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:165 (checked_find_package)
CMakeLists.txt:133 (include)

-- OpenCV library not found
-- Try setting OpenCV_ROOT ?
-- Found TBB 2020.3 from CONFIG
-- Not using DCMTK -- disabled
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (FFMPEG)
does not match the name of the calling package (FFmpeg). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
D:/vcpkg/installed/x64-windows/share/ffmpeg/FindFFMPEG.cmake:163 (find_package_handle_standard_args)
D:/vcpkg/installed/x64-windows/share/ffmpeg/vcpkg-cmake-wrapper.cmake:6 (_find_package)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:743 (include)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:175 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found FFMPEG: optimized;D:/vcpkg/installed/x64-windows/lib/avdevice.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avdevice.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avfilter.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avfilter.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avformat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avformat.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avcodec.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avcodec.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swscale.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swscale.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avutil.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avutil.lib
-- Found FFmpeg 4.4
-- FFMPEG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- FFMPEG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/avdevice.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avdevice.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avfilter.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avfilter.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avformat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avformat.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avcodec.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avcodec.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swscale.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swscale.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avutil.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avutil.lib
-- Not using Field3D -- disabled
-- Found GIF: D:/vcpkg/installed/x64-windows/lib/gif.lib (found version "5.2.1")
-- Found GIF 5.2.1
-- GIF_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- GIF_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- GIF_LIBRARIES = D:/vcpkg/installed/x64-windows/lib/gif.lib
-- Found libheif 1.10.0.0 from CONFIG
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found LibRaw: optimized;D:/vcpkg/installed/x64-windows/lib/manual-link/raw.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/manual-link/rawd.lib (found version "0.19.0")
-- Found LibRaw 0.19.0
-- LibRaw_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include/libraw
-- LibRaw_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/manual-link/raw.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/manual-link/rawd.lib
-- LibRaw_r_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/raw_r.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/raw_rd.lib
-- Could NOT find OpenJPEG (missing: OPENJPEG_INCLUDE_DIR OPENJPEG_OPENJPEG_LIBRARIES) (found version "1.5")
-- OpenJPEG library not found
-- Try setting OpenJPEG_ROOT ?
-- Maybe this will help: src/build-scripts/build_OpenJPEG.bash
-- Could NOT find OpenVDB (missing: OPENVDB_LIBRARY OPENVDB_INCLUDE_DIR)
-- OpenVDB library not found
-- Try setting OpenVDB_ROOT ?
-- Not using Ptex -- disabled
-- Not using Ptex -- disabled
-- Found WebP: D:/vcpkg/installed/x64-windows/include
-- Found WebP
-- WEBP_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- WEBP_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- WEBP_LIBRARIES = D:/vcpkg/installed/x64-windows/lib/webp.lib;D:/vcpkg/installed/x64-windows/lib/webpdemux.lib
-- Not using R3DSDK -- disabled
-- Not using Nuke -- disabled
-- Found OpenGL: opengl32
-- Found OpenGL
-- OPENGL_LIBRARIES = opengl32;glu32
-- Found Qt5 5.15.2
-- Could NOT find unofficial-libsquish (missing: unofficial-libsquish_DIR)
CMake Warning at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package):
By not providing "Findunofficial-libsquish.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"unofficial-libsquish", but CMake did not find one.

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

unofficial-libsquishConfig.cmake
unofficial-libsquish-config.cmake

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

-- unofficial-libsquish library not found
-- Try setting unofficial-libsquish_ROOT ?
-- Found fmt 80001
-- FMT_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- FMT_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- Found Robinmap
-- ROBINMAP_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- ROBINMAP_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
CMake Warning at src/dicom.imageio/CMakeLists.txt:11 (message):
DICOM plugin will not be built, no DCMTK

-- FFmpeg not found: ffmpeg plugin will not be built
CMake Warning at src/ico.imageio/CMakeLists.txt:15 (message):
libpng not found, so ICO support will not work

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

-- Create imagio_pvt.h from imageio_pvt.h.in
-- Create oiioversion.h from oiioversion.h.in
-- Create Imath.h from Imath.h.in
-- Configuring done
CMake Error at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:579 (_add_library):
Target "OpenImageIO" links to target "unofficial::libsquish::squish" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/libOpenImageIO/CMakeLists.txt:74 (add_library)

-- Generating done
CMake Error:
Running

'D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe' '-C' 'D:/vcpkg/buildtrees/openimageio/x64-windows-rel' '-t' 'recompact'

failed with:

ninja: error: loading 'build.ninja': ϵͳ�Ҳ���ָ�����ļ���

CMake Warning:
Manually-specified variables were not used by the project:

_VCPKG_ROOT_DIR

CMake Generate step failed. Build files cannot be regenerated correctly.
[2/2] "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean" -B "../../x64-windows-dbg" "-DUSE_LIBRAW=ON" "-DUSE_OPENCOLORIO=OFF" "-DUSE_FFMPEG=ON" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=ON" "-DUSE_GIF=ON" "-DUSE_OPENCV=ON" "-DUSE_OPENJPEG=ON" "-DUSE_WEBP=ON" "-DUSE_PYTHON=OFF" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=0" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/openimageio_x64-windows/debug"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean" -B "../../x64-windows-dbg" "-DUSE_LIBRAW=ON" "-DUSE_OPENCOLORIO=OFF" "-DUSE_FFMPEG=ON" "-DUSE_FIELD3D=OFF" "-DUSE_FREETYPE=ON" "-DUSE_GIF=ON" "-DUSE_OPENCV=ON" "-DUSE_OPENJPEG=ON" "-DUSE_WEBP=ON" "-DUSE_PYTHON=OFF" "-DOIIO_BUILD_TOOLS=OFF" "-DOIIO_BUILD_TESTS=OFF" "-DUSE_DCMTK=OFF" "-DUSE_NUKE=OFF" "-DUSE_QT=OFF" "-DUSE_PTEX=OFF" "-DLINKSTATIC=0" "-DBUILD_MISSING_FMT=OFF" "-DBUILD_MISSING_ROBINMAP=OFF" "-DBUILD_MISSING_DEPS=OFF" "-DSTOP_ON_WARNING=OFF" "-DVERBOSE=ON" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/openimageio_x64-windows/debug"
-- The CXX compiler identification is MSVC 19.29.30133.0
-- The C compiler identification is MSVC 19.29.30133.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.3.7.2
-- CMake 3.21.1
-- CMake system = Windows-10.0.19042
-- CMake system name = Windows
-- Project source dir = D:/vcpkg/buildtrees/openimageio/src/a25d056cb0-36fa00c6d2.clean
-- Project build dir = D:/vcpkg/buildtrees/openimageio/x64-windows-dbg
-- Project install prefix = D:/vcpkg/packages/openimageio_x64-windows/debug
-- Configuration types =
-- Build type = Debug
-- Setting Namespace to: OpenImageIO_v2_3
-- CMAKE_SYSTEM_NAME = Windows
-- CMAKE_SYSTEM_VERSION = 10.0.19042
-- CMAKE_SYSTEM_PROCESSOR = AMD64
-- CMAKE_CXX_COMPILER = C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
-- CMAKE_CXX_COMPILER_ID = MSVC
-- Building for C++14
-- clang-format not found.
-- Setting SOVERSION to: 2.3
-- CMAKE_INSTALL_RPATH = D:/vcpkg/packages/openimageio_x64-windows/debug/lib

-- * Checking for dependencies...
-- * - Missing a dependency 'Package'?
-- * Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- * For many dependencies, we supply src/build-scripts/build_Package.bash
-- * - To exclude an optional dependency (even if found),
-- * -DUSE_Package=OFF or set environment var USE_Package=OFF

-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found Boost: D:/vcpkg/installed/x64-windows/include (found version "1.76.0") found components: filesystem system thread chrono date_time atomic
-- Found Boost 107600
-- Boost_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- Boost_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- Boost_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/boost_filesystem-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_filesystem-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_system-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_system-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_thread-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_thread-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_chrono-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_chrono-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_date_time-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_date_time-vc140-mt-gd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/boost_atomic-vc140-mt.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/boost_atomic-vc140-mt-gd.lib
-- Found ZLIB: optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11")
-- Found ZLIB 1.2.11
-- ZLIB_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- ZLIB_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- ZLIB_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Found TIFF: optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Found TIFF 4.3.0
-- TIFF_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- TIFF_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- TIFF_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/vcpkg/installed/x64-windows/lib/lzma.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib;optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Could NOT find Imath (missing: Imath_DIR)
-- Found CONFIG for OpenEXR 2 (OPENEXR_VERSION=2.5.0)
-- Found OpenEXR 2.5.0
-- OPENEXR_INCLUDES = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- OPENEXR_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- OpenEXR_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- OPENEXR_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- OPENEXR_LIBRARIES = OpenEXR::IlmImfConfig;OpenEXR::IlmImfConfig;IlmBase::Iex;IlmBase::Half;IlmBase::Imath;IlmBase::IlmThread;ZLIB::ZLIB;IlmBase::IlmBaseConfig;IlmBase::Half;IlmBase::IexMath;IlmBase::IlmBaseConfig;IlmBase::IlmBaseConfig;IlmBase::IlmBaseConfig;IlmBase::Iex;Threads::Threads
-- IMATH_INCLUDES = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (JPEG) does
not match the name of the calling package (JPEGTurbo). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
src/cmake/modules/FindJPEGTurbo.cmake:36 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:123 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib
-- Found JPEGTurbo
-- JPEG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- JPEG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib
-- Using internal PugiXML
-- Not using Python -- disabled
-- Python site packages dir lib/python./site-packages
-- Python to include 'lib' prefix: OFF
-- Python to include SO version: OFF
-- Could NOT find png (missing: png_DIR)
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PNG) does
not match the name of the calling package (png). This can lead to problems
in calling code that expects find_package result variables (e.g.,
_FOUND) to follow a certain pattern.
Call Stack (most recent call first):
D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPNG.cmake:159 (find_package_handle_standard_args)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:151 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PNG: optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37")
-- Found png 1.6.37
-- PNG_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- PNG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include;D:/vcpkg/installed/x64-windows/include
-- PNG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib;optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib
-- Found BZip2: optimized;D:/vcpkg/installed/x64-windows/lib/bz2.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/bz2d.lib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found BZip2 1.0.8
-- BZIP2_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- BZIP2_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- BZIP2_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/bz2.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/bz2d.lib
-- Found Freetype: optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.11.0")
-- Found Freetype 2.11.0
-- FREETYPE_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- FREETYPE_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib
-- Not using OpenColorIO -- disabled
CMake Warning at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "3.0".

The following configuration files were considered but not accepted:

D:/vcpkg/installed/x64-windows/share/opencv/OpenCVConfig.cmake, version: 4.5.3

Call Stack (most recent call first):
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:165 (checked_find_package)
CMakeLists.txt:133 (include)

-- OpenCV library not found
-- Try setting OpenCV_ROOT ?
-- Found TBB 2020.3 from CONFIG
-- Not using DCMTK -- disabled
CMake Warning (dev) at D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (FFMPEG)
does not match the name of the calling package (FFmpeg). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
D:/vcpkg/installed/x64-windows/share/ffmpeg/FindFFMPEG.cmake:163 (find_package_handle_standard_args)
D:/vcpkg/installed/x64-windows/share/ffmpeg/vcpkg-cmake-wrapper.cmake:6 (_find_package)
D:/vcpkg/scripts/buildsystems/vcpkg.cmake:743 (include)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:175 (checked_find_package)
CMakeLists.txt:133 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found FFMPEG: optimized;D:/vcpkg/installed/x64-windows/lib/avdevice.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avdevice.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avfilter.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avfilter.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avformat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avformat.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avcodec.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avcodec.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swscale.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swscale.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avutil.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avutil.lib
-- Found FFmpeg 4.4
-- FFMPEG_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- FFMPEG_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/avdevice.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avdevice.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avfilter.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avfilter.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avformat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avformat.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avcodec.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avcodec.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swresample.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swresample.lib;optimized;D:/vcpkg/installed/x64-windows/lib/swscale.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/swscale.lib;optimized;D:/vcpkg/installed/x64-windows/lib/avutil.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/avutil.lib
-- Not using Field3D -- disabled
-- Found GIF: D:/vcpkg/installed/x64-windows/debug/lib/gif.lib (found version "5.2.1")
-- Found GIF 5.2.1
-- GIF_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- GIF_INCLUDE_DIRS = D:/vcpkg/installed/x64-windows/include
-- GIF_LIBRARIES = D:/vcpkg/installed/x64-windows/debug/lib/gif.lib
-- Found libheif 1.10.0.0 from CONFIG
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found LibRaw: optimized;D:/vcpkg/installed/x64-windows/lib/manual-link/raw.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/manual-link/rawd.lib (found version "0.19.0")
-- Found LibRaw 0.19.0
-- LibRaw_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include/libraw
-- LibRaw_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/manual-link/raw.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/manual-link/rawd.lib
-- LibRaw_r_LIBRARIES = optimized;D:/vcpkg/installed/x64-windows/lib/raw_r.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/raw_rd.lib
-- Could NOT find OpenJPEG (missing: OPENJPEG_INCLUDE_DIR OPENJPEG_OPENJPEG_LIBRARIES) (found version "1.5")
-- OpenJPEG library not found
-- Try setting OpenJPEG_ROOT ?
-- Maybe this will help: src/build-scripts/build_OpenJPEG.bash
-- Could NOT find OpenVDB (missing: OPENVDB_LIBRARY OPENVDB_INCLUDE_DIR)
-- OpenVDB library not found
-- Try setting OpenVDB_ROOT ?
-- Not using Ptex -- disabled
-- Not using Ptex -- disabled
-- Found WebP: D:/vcpkg/installed/x64-windows/include
-- Found WebP
-- WEBP_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- WEBP_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- WEBP_LIBRARIES = D:/vcpkg/installed/x64-windows/lib/webp.lib;D:/vcpkg/installed/x64-windows/lib/webpdemux.lib
-- Not using R3DSDK -- disabled
-- Not using Nuke -- disabled
-- Found OpenGL: opengl32
-- Found OpenGL
-- OPENGL_LIBRARIES = opengl32;glu32
-- Found Qt5 5.15.2
-- Could NOT find unofficial-libsquish (missing: unofficial-libsquish_DIR)
CMake Warning at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:789 (_find_package):
By not providing "Findunofficial-libsquish.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"unofficial-libsquish", but CMake did not find one.

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

unofficial-libsquishConfig.cmake
unofficial-libsquish-config.cmake

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

-- unofficial-libsquish library not found
-- Try setting unofficial-libsquish_ROOT ?
-- Found fmt 80001
-- FMT_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- FMT_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
-- Found Robinmap
-- ROBINMAP_INCLUDES = D:/vcpkg/installed/x64-windows/include
-- ROBINMAP_INCLUDE_DIR = D:/vcpkg/installed/x64-windows/include
CMake Warning at src/dicom.imageio/CMakeLists.txt:11 (message):
DICOM plugin will not be built, no DCMTK

-- FFmpeg not found: ffmpeg plugin will not be built
CMake Warning at src/ico.imageio/CMakeLists.txt:15 (message):
libpng not found, so ICO support will not work

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

-- Create imagio_pvt.h from imageio_pvt.h.in
-- Create oiioversion.h from oiioversion.h.in
-- Create Imath.h from Imath.h.in
-- Configuring done
CMake Error at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:579 (_add_library):
Target "OpenImageIO" links to target "unofficial::libsquish::squish" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/libOpenImageIO/CMakeLists.txt:74 (add_library)

-- Generating done
CMake Error:
Running

'D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe' '-C' 'D:/vcpkg/buildtrees/openimageio/x64-windows-dbg' '-t' 'recompact'

failed with:

ninja: error: loading 'build.ninja': ϵͳ�Ҳ���ָ�����ļ���

CMake Warning:
Manually-specified variables were not used by the project:

_VCPKG_ROOT_DIR

CMake Generate step failed. Build files cannot be regenerated correctly.
ninja: build stopped: subcommand failed.

@minhaolee
Copy link

minhaolee commented Nov 5, 2021

@JackBoosY By the way, what is "unofficial-libsquish"? It shows unofficial-libsquish missing... Is this the exactly right reason?

@BillyONeal
Copy link
Member

@JackBoosY By the way, what is "unofficial-libsquish"? It shows unofficial-libsquish missing... Is this the exactly right reason?

Since libsquish doesn't have cmake targets in the upstream build, the ones that we patch in for it are prefixed with "unofficial-" so that if upstream ever decides to add real cmake configs we don't conflict with them. When that happens we have to patch downstream consumers of that lib to consume those unofficial- targets.

That's usually not a problem since most downstream consumers in that situation use a "find" module or a vendored copy we would have to patch around anyway.

@JackBoos
Copy link
Contributor

JackBoos commented Nov 6, 2021

@minhaolee

Target "OpenImageIO" links to target "unofficial::libsquish::squish" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/libOpenImageIO/CMakeLists.txt:74 (add_library)

Please re-install libsquish first.

@minhaolee
Copy link

minhaolee commented Nov 9, 2021

@JackBoosY @BillyONeal Thanks a lot! I have successfully installed OpenImageIO. I did not realize that re-install libsquish can tackle this problem because everytime I type "vcpkg install linsquish:x64-windows" it shows "already installed", neither "vcpkg upgrade" can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[libraw] Install raw_r.lib openimageio build failure [openimageio] with plugins build failure
8 participants