-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
building tiff:x64-windows failed #38054
Comments
Please provide the error log: |
I have the same problem. This is my error log: [1/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/Tools/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Tools/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-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=D:/Tools/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=D:/Tools/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:/Tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Tools/openMVS/make/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- Configuring incomplete, errors occurred! -- Configuring incomplete, errors occurred! |
[1/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/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:/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:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- Configuring incomplete, errors occurred! -- Configuring incomplete, errors occurred! |
@Thomas1664 #38049 this commit can not work with my problem |
and there are the same error when i install opencv |
Don't use CMake 3.29.1. #37968 |
|
You must also reinstall all ports that were built with the incompatible version. |
This (3.28.4) worked for me. Thanks! |
Duplicate of #38068, #37968. |
Describe the bug
[A clear and concise description of what the bug is.](error: building tiff:x64-windows failed with: BUILD_FAILED)
Environment
To Reproduce
.\vcpkg.exe --triplet x64-windows install qt5
Computing installation plan...
The following packages will be built and installed:
qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols,quickcontrols2,svg,tools,translations,websockets]:x64-windows@5.15.13#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "127.0.0.1:1082".
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\112670\AppData\Local\vcpkg\archives in 810 us. Use --debug to see more details.
Installing 1/13 tiff[core,jpeg,lzma,zip]:x64-windows@4.6.0#4...
Building tiff[core,jpeg,lzma,zip]:x64-windows@4.6.0#4...
-- Using cached libtiff-libtiff-v4.6.0.tar.gz.
-- Cleaning sources at C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/libtiff-libtiff-v4.6.0.tar.gz
-- Applying patch FindCMath.patch
-- Applying patch requires-lerc.patch
-- Using source at C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v
Working Directory: C:/vcpkg/buildtrees/tiff/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\vcpkg\buildtrees\tiff\config-x64-windows-dbg-CMakeCache.txt.log
C:\vcpkg\buildtrees\tiff\config-x64-windows-rel-CMakeCache.txt.log
C:\vcpkg\buildtrees\tiff\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/tiff/portfile.cmake:33 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)
error: building tiff:x64-windows failed with: BUILD_FAILED
Elapsed time to handle tiff:x64-windows: 13 s
Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+tiff
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[tiff]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Expected behavior
A clear and concise description of what you expected to happen.
Failure logs
-(please attached failure logs)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: