microsoft / vcpkg

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

[libheif] build failure #32216

Closed parcool closed 1 year ago

parcool commented 1 year ago

Operating system

windows 11

Compiler

MSVC

Steps to reproduce the behavior

PS C:\dev\vcpkg> ./vcpkg install libheif:x64-windows

Failure logs

Computing installation plan... The following packages will be built and installed: libheif:x64-windows -> 1.16.1#1 Detecting compiler hash for triplet x64-windows... -- Automatically setting HTTP(S)_PROXY environment variables to "127.0.0.1:7890". Restored 0 package(s) from C:\Users\tanyi\AppData\Local\vcpkg\archives in 61.5 us. Use --debug to see more details. Installing 1/1 libheif:x64-windows... Building libheif:x64-windows... -- Using cached strukturag-libheif-v1.16.1.tar.gz. -- Cleaning sources at C:/dev/vcpkg/buildtrees/libheif/src/v1.16.1-d941ff80a1.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/dev/vcpkg/downloads/strukturag-libheif-v1.16.1.tar.gz -- Applying patch gdk-pixbuf.patch -- Using source at C:/dev/vcpkg/buildtrees/libheif/src/v1.16.1-d941ff80a1.clean -- Found external ninja('1.11.0'). -- Configuring x64-windows CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v Working Directory: C:/dev/vcpkg/buildtrees/libheif/x64-windows-rel/vcpkg-parallel-configure Error code: 1 See logs for more information: C:\dev\vcpkg\buildtrees\libheif\config-x64-windows-dbg-CMakeCache.txt.log C:\dev\vcpkg\buildtrees\libheif\config-x64-windows-rel-CMakeCache.txt.log C:\dev\vcpkg\buildtrees\libheif\config-x64-windows-out.log

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process) ports/libheif/portfile.cmake:11 (vcpkg_cmake_configure) scripts/ports.cmake:147 (include)

error: building libheif:x64-windows failed with: BUILD_FAILED Elapsed time to handle libheif:x64-windows: 4.3 s Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libheif You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[libheif]+Build+error&body=Copy+issue+body+from+C%3A%2Fdev%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Additional context

No response

autoantwort commented 1 year ago

Please see https://github.com/microsoft/vcpkg/issues/30604 for how to report an proper issue.

Cheney-W commented 1 year ago

@parcool Could you please provide the error log C:\dev\vcpkg\buildtrees\libheif\config-x64-windows-out.log?

parcool commented 1 year ago

@Cheney-W This is the log:

[1/2] "C:/dev/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/dev/CMake/bin/cmake.exe" "C:/dev/vcpkg/buildtrees/libheif/src/v1.16.1-d941ff80a1.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libheif_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_EXAMPLES=OFF" "-DWITH_DAV1D=OFF" "-DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=C:/dev/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=C:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.36.32535.0
-- The CXX compiler identification is MSVC 19.36.32535.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Performing Test has_potentially_evaluated_expression
-- Performing Test has_potentially_evaluated_expression - Failed
-- Found LIBDE265 
-- Found LIBDE265: C:/dev/vcpkg/installed/x64-windows/include (found version "1.0.11") 
libde265 (HEIC decoder): found (built-in)
-- Found X265 
-- Found X265: C:/dev/vcpkg/installed/x64-windows/include (found version "192") 
x265 (HEIC encoder): found (built-in)
Dav1d (AVIF decoder): disabled
-- Looking for AOM_USAGE_GOOD_QUALITY
-- Looking for AOM_USAGE_GOOD_QUALITY - not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for AOM.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    AOM_INCLUDE_DIR=<not found>
    AOM_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindAOM.cmake:33 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:94 (plugin_option)

-- Could NOT find AOM (missing: AOM_INCLUDE_DIR AOM_LIBRARIES) 
aom (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for AOM.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    AOM_INCLUDE_DIR=<not found>
    AOM_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindAOM.cmake:33 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:95 (plugin_option)

-- Could NOT find AOM (missing: AOM_INCLUDE_DIR AOM_LIBRARIES) 
aom (AVIF decoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for SvtEnc.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  libheif.

  Relevant CMake configuration variables:

    SvtEnc_INCLUDE_DIR=<not found>
    SvtEnc_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindSvtEnc.cmake:17 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:96 (plugin_option)

-- Could NOT find SvtEnc (missing: SvtEnc_INCLUDE_DIR SvtEnc_LIBRARIES) 
Svt-av1 (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for RAV1E.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    RAV1E_INCLUDE_DIR=<not found>
    RAV1E_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindRAV1E.cmake:17 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:97 (plugin_option)

-- Could NOT find RAV1E (missing: RAV1E_INCLUDE_DIR RAV1E_LIBRARIES) 
Rav1e (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for LIBSHARPYUV.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  libheif.

  Relevant CMake configuration variables:

    LIBSHARPYUV_INCLUDE_DIR=<not found>
    LIBSHARPYUV_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/Findlibsharpyuv.cmake:18 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:104 (find_package)

-- Could NOT find libsharpyuv (missing: LIBSHARPYUV_INCLUDE_DIR LIBSHARPYUV_LIBRARIES) 
libsharpyuv: disabled
Compiling 'x265' as built-in backend
Compiling 'libde265' as built-in backend
Not compiling 'dav1d' backend
Not compiling 'aomdec' backend
Not compiling 'aomenc' backend
Not compiling 'svtenc' backend
Not compiling 'rav1e' backend
Not compiling 'libsharpyuv'
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED
    PKG_CONFIG_USE_CMAKE_PREFIX_PATH
    _VCPKG_ROOT_DIR

-- Build files have been written to: C:/dev/vcpkg/buildtrees/libheif/x64-windows-dbg
[2/2] "C:/dev/CMake/bin/cmake.exe" -E chdir ".." "C:/dev/CMake/bin/cmake.exe" "C:/dev/vcpkg/buildtrees/libheif/src/v1.16.1-d941ff80a1.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libheif_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_EXAMPLES=OFF" "-DWITH_DAV1D=OFF" "-DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=C:/dev/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=C:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.36.32535.0
-- The CXX compiler identification is MSVC 19.36.32535.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Performing Test has_potentially_evaluated_expression
-- Performing Test has_potentially_evaluated_expression - Failed
-- Found LIBDE265 
-- Found LIBDE265: C:/dev/vcpkg/installed/x64-windows/include (found version "1.0.11") 
libde265 (HEIC decoder): found (built-in)
-- Found X265 
-- Found X265: C:/dev/vcpkg/installed/x64-windows/include (found version "192") 
x265 (HEIC encoder): found (built-in)
Dav1d (AVIF decoder): disabled
-- Looking for AOM_USAGE_GOOD_QUALITY
-- Looking for AOM_USAGE_GOOD_QUALITY - not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for AOM.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    AOM_INCLUDE_DIR=<not found>
    AOM_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindAOM.cmake:33 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:94 (plugin_option)

-- Could NOT find AOM (missing: AOM_INCLUDE_DIR AOM_LIBRARIES) 
aom (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for AOM.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    AOM_INCLUDE_DIR=<not found>
    AOM_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindAOM.cmake:33 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:95 (plugin_option)

-- Could NOT find AOM (missing: AOM_INCLUDE_DIR AOM_LIBRARIES) 
aom (AVIF decoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for SvtEnc.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  libheif.

  Relevant CMake configuration variables:

    SvtEnc_INCLUDE_DIR=<not found>
    SvtEnc_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindSvtEnc.cmake:17 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:96 (plugin_option)

-- Could NOT find SvtEnc (missing: SvtEnc_INCLUDE_DIR SvtEnc_LIBRARIES) 
Svt-av1 (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for RAV1E.  Do you have the necessary
  dev package installed? This package is NOT REQUIRED and you may ignore this
  warning but by doing so you may miss some functionality of libheif.

  Relevant CMake configuration variables:

    RAV1E_INCLUDE_DIR=<not found>
    RAV1E_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindRAV1E.cmake:17 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:74 (find_package)
  CMakeLists.txt:97 (plugin_option)

-- Could NOT find RAV1E (missing: RAV1E_INCLUDE_DIR RAV1E_LIBRARIES) 
Rav1e (AVIF encoder): not found
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for LIBSHARPYUV.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  libheif.

  Relevant CMake configuration variables:

    LIBSHARPYUV_INCLUDE_DIR=<not found>
    LIBSHARPYUV_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/Findlibsharpyuv.cmake:18 (libfind_process)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
  CMakeLists.txt:104 (find_package)

-- Could NOT find libsharpyuv (missing: LIBSHARPYUV_INCLUDE_DIR LIBSHARPYUV_LIBRARIES) 
libsharpyuv: disabled
Compiling 'x265' as built-in backend
Compiling 'libde265' as built-in backend
Not compiling 'dav1d' backend
Not compiling 'aomdec' backend
Not compiling 'aomenc' backend
Not compiling 'svtenc' backend
Not compiling 'rav1e' backend
Not compiling 'libsharpyuv'
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED
    PKG_CONFIG_USE_CMAKE_PREFIX_PATH
    _VCPKG_ROOT_DIR

-- Build files have been written to: C:/dev/vcpkg/buildtrees/libheif/x64-windows-rel
parcool commented 1 year ago

@autoantwort sorry. this is the issue-body:

Package: libheif:x64-windows -> 1.16.1#1

**Host Environment**

- Host: x64-windows
- Compiler: MSVC 19.36.32535.0
-    vcpkg-tool version: 2023-06-15-8c254a5fb6c503615834fc66bd0717664a339a2e
    vcpkg-scripts version: unknown

**To Reproduce**

`vcpkg install libheif:x64-windows`

**Failure logs**

-- Downloading https://github.com/strukturag/libheif/archive/v1.16.1.tar.gz -> strukturag-libheif-v1.16.1.tar.gz... -- Extracting source C:/dev/vcpkg/downloads/strukturag-libheif-v1.16.1.tar.gz -- Applying patch gdk-pixbuf.patch -- Using source at C:/dev/vcpkg/buildtrees/libheif/src/v1.16.1-d941ff80a1.clean -- Found external ninja('1.11.0'). -- Configuring x64-windows CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:318 (message): The following variables are not used in CMakeLists.txt:

  PKG_CONFIG_USE_CMAKE_PREFIX_PATH

Please recheck them and remove the unnecessary options from the vcpkg_cmake_configure call.

If these options should still be passed for whatever reason, please use the MAYBE_UNUSED_VARIABLES argument. Call Stack (most recent call first): ports/libheif/portfile.cmake:11 (vcpkg_cmake_configure) scripts/ports.cmake:147 (include)

-- Building x64-windows-dbg -- Building x64-windows-rel CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: C:/dev/CMake/bin/cmake.exe --build . --config Release --target install -- -v -j21 Working Directory: C:/dev/vcpkg/buildtrees/libheif/x64-windows-rel See logs for more information: C:\dev\vcpkg\buildtrees\libheif\install-x64-windows-rel-out.log

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process) installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build) ports/libheif/portfile.cmake:18 (vcpkg_cmake_install) scripts/ports.cmake:147 (include)

<details><summary>C:\dev\vcpkg\buildtrees\libheif\install-x64-windows-rel-out.log</summary>

[1/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\heif_plugin.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\heif_plugin.cc [2/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\common_utils.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\common_utils.cc [3/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\nclx.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\nclx.cc [4/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\metadata_compression.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\metadata_compression.cc [5/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\bitstream.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\bitstream.cc [6/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\rgb2yuv_sharp.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv_sharp.cc [7/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\plugin_registry.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugin_registry.cc [8/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\error.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\error.cc [9/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\avif.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\avif.cc [10/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\hevc.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\hevc.cc [11/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\rgb2rgb.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2rgb.cc [12/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\plugins\decoder_libde265.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\decoder_libde265.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\decoder_libde265.cc(57): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\decoder_libde265.cc(62): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\decoder_libde265.cc(63): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [13/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\monochrome.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\monochrome.cc [14/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\yuv2rgb.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.cc [15/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\rgb2yuv.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.cc [16/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\alpha.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\alpha.cc [17/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\hdr_sdr.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\hdr_sdr.cc [18/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\region.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\region.cc [19/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\pixelimage.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\pixelimage.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\pixelimage.cc(207): warning C4101: “excpt”: 未引用的局部变量 [20/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\chroma_sampling.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.cc [21/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\color-conversion\colorconversion.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\colorconversion.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(44): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_RGB_to_YCbCr::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(34): note: 参见“Op_RGB_to_YCbCr::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(44): warning C4661: “std::shared_ptr<_Ty> Op_RGB_to_YCbCr::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(39): note: 参见“Op_RGB_to_YCbCr::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(45): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_RGB_to_YCbCr::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(34): note: 参见“Op_RGB_to_YCbCr::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(45): warning C4661: “std::shared_ptr<_Ty> Op_RGB_to_YCbCr::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\rgb2yuv.h(39): note: 参见“Op_RGB_to_YCbCr::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(45): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr_to_RGB::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(35): note: 参见“Op_YCbCr_to_RGB::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(45): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr_to_RGB::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(40): note: 参见“Op_YCbCr_to_RGB::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(46): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr_to_RGB::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(35): note: 参见“Op_YCbCr_to_RGB::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(46): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr_to_RGB::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\yuv2rgb.h(40): note: 参见“Op_YCbCr_to_RGB::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(46): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr444_to_YCbCr420_average::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(36): note: 参见“Op_YCbCr444_to_YCbCr420_average::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(46): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr444_to_YCbCr420_average::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(41): note: 参见“Op_YCbCr444_to_YCbCr420_average::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(47): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr444_to_YCbCr420_average::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(36): note: 参见“Op_YCbCr444_to_YCbCr420_average::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(47): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr444_to_YCbCr420_average::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(41): note: 参见“Op_YCbCr444_to_YCbCr420_average::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(67): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr420_bilinear_to_YCbCr444::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(57): note: 参见“Op_YCbCr420_bilinear_to_YCbCr444::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(67): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr420_bilinear_to_YCbCr444::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(62): note: 参见“Op_YCbCr420_bilinear_to_YCbCr444::convert_colorspace”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(68): warning C4661: “std::vector<ColorStateWithCost,std::allocator> Op_YCbCr420_bilinear_to_YCbCr444::state_after_conversion(const ColorState &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(57): note: 参见“Op_YCbCr420_bilinear_to_YCbCr444::state_after_conversion”的声明 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(68): warning C4661: “std::shared_ptr<_Ty> Op_YCbCr420_bilinear_to_YCbCr444::convert_colorspace(const std::shared_ptr &,const ColorState &,const heif_color_conversion_options &) const”: 没有为显式模板实例化请求提供适当的定义 with [ _Ty=HeifPixelImage ] C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\color-conversion\chroma_sampling.h(62): note: 参见“Op_YCbCr420_bilinear_to_YCbCr444::convert_colorspace”的声明 [22/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\plugins\encoder_x265.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc(189): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc(195): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc(196): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc(197): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins\encoder_x265.cc(546): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [23/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\init.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\init.cc [24/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\heif.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\heif.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\heif.cc(481): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\heif.cc(712): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\heif.cc(1940): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [25/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\plugins_windows.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins_windows.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\plugins_windows.cc(29): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [26/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\file.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\file.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\file.cc(77): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [27/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\box.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\box.cc [28/30] C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\context.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\context.cc FAILED: libheif/CMakeFiles/heif.dir/context.cc.obj C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x64\cl.exe /TP -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DENABLE_PLUGIN_LOADING=1 -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DHAVE_X265=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -IC:\dev\vcpkg\buildtrees\libheif\x64-windows-rel -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include\libheif -IC:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\include -IC:\dev\vcpkg\installed\x64-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Folibheif\CMakeFiles\heif.dir\context.cc.obj /Fdlibheif\CMakeFiles\heif.dir\ /FS -c C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\context.cc C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\context.cc(103): warning C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 C:\dev\vcpkg\buildtrees\libheif\src\v1.16.1-d941ff80a1.clean\libheif\context.cc(2433) : fatal error C1001: 内部编译器错误。 (编译器文件“D:\a_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c”,第 225 行) 要解决此问题,请尝试简化或更改上面所列位置附近的程序。 如果可以,请在此处提供重现步骤: https://developercommunity.visualstudio.com 请选择 Visual C++ “帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息。 cl!DllGetObjHandler()+0x2b258 cl!DllGetObjHandler()+0x2b258 cl!DllGetObjHandler()+0x2b3d7 cl!DllGetObjHandler()+0x47efc cl!DllGetObjHandler()+0x19ea34 cl!DllGetObjHandler()+0xe77a0 cl!DllGetObjHandler()+0x172c7f cl!DllGetObjHandler()+0x171f57 cl!CloseTypeServerPDB()+0x172383 cl!recalloc()+0xa3 cl!BaseThreadInitThunk()+0x1d cl!RtlUserThreadStart()+0x28

ninja: build stopped: subcommand failed.

</details>

**Additional context**
parcool commented 1 year ago

I just ran .\vcpkg install libheif:x64-windows again, and now it works.

PS C:\dev\vcpkg> .\vcpkg install libheif:x64-windows
Computing installation plan...
The following packages are already installed:
    libheif:x64-windows -> 1.16.1#1
libheif:x64-windows is already installed
Total install time: 76.6 us
libheif provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(libheif CONFIG REQUIRED)
    target_link_libraries(main PRIVATE heif)

I'm not sure if it's related to me deleting the file directory and trying again.