Open Katana2333 opened 9 months ago
cd <vcpkg-root>
git pull
.\bootstrap-vcpkg.bat
.\vcpkg upgrade
- if all is good continue to step six, otherwise step 5.\vcpkg upgrade --no-dry-run
.\vcpkg install boost-thread:x64-osx
If the error occurs again please provide the complete error log
cd <vcpkg-root>
git pull
.\bootstrap-vcpkg.bat
.\vcpkg upgrade
- if all is good continue to step six, otherwise step 5.\vcpkg upgrade --no-dry-run
.\vcpkg install boost-thread:x64-osx
If the error occurs again please provide the complete error log
Thanks for your advice! I've tried above commands, everything goes fine except the last step, and the error log is:
PS D:\Inviwo\vcpkg> .\vcpkg install boost-thread:x64-osx
Computing installation plan...
The following packages will be built and installed:
* boost-algorithm:x64-osx@1.84.0
* boost-align:x64-osx@1.84.0
* boost-array:x64-osx@1.84.0
* boost-assert:x64-osx@1.84.0
* boost-atomic:x64-osx@1.84.0
* boost-bind:x64-osx@1.84.0
* boost-build:x64-windows@1.84.0
* boost-chrono:x64-osx@1.84.0
* boost-concept-check:x64-osx@1.84.0
* boost-config:x64-osx@1.84.0
* boost-container:x64-osx@1.84.0
* boost-container-hash:x64-osx@1.84.0
* boost-conversion:x64-osx@1.84.0
* boost-core:x64-osx@1.84.0
* boost-date-time:x64-osx@1.84.0
* boost-describe:x64-osx@1.84.0
* boost-detail:x64-osx@1.84.0
* boost-exception:x64-osx@1.84.0
* boost-function:x64-osx@1.84.0
* boost-function-types:x64-osx@1.84.0
* boost-functional:x64-osx@1.84.0
* boost-fusion:x64-osx@1.84.0
* boost-integer:x64-osx@1.84.0
* boost-intrusive:x64-osx@1.84.0
* boost-io:x64-osx@1.84.0
* boost-iterator:x64-osx@1.84.0
* boost-lexical-cast:x64-osx@1.84.0
* boost-modular-build-helper:x64-windows@1.84.0
* boost-move:x64-osx@1.84.0
* boost-mp11:x64-osx@1.84.0
* boost-mpl:x64-osx@1.84.0
* boost-numeric-conversion:x64-osx@1.84.0
* boost-optional:x64-osx@1.84.0
* boost-predef:x64-osx@1.84.0
* boost-preprocessor:x64-osx@1.84.0
* boost-range:x64-osx@1.84.0
* boost-ratio:x64-osx@1.84.0
* boost-regex:x64-osx@1.84.0
* boost-smart-ptr:x64-osx@1.84.0
* boost-static-assert:x64-osx@1.84.0
* boost-system:x64-osx@1.84.0
boost-thread:x64-osx@1.84.0
* boost-throw-exception:x64-osx@1.84.0
* boost-tokenizer:x64-osx@1.84.0
* boost-tuple:x64-osx@1.84.0
* boost-type-traits:x64-osx@1.84.0
* boost-typeof:x64-osx@1.84.0
* boost-uninstall:x64-osx@1.84.0
* boost-uninstall:x64-windows@1.84.0
* boost-unordered:x64-osx@1.84.0
* boost-utility:x64-osx@1.84.0
* boost-variant2:x64-osx@1.84.0
* boost-vcpkg-helpers:x64-osx@1.84.0
* boost-winapi:x64-osx@1.84.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-osx...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "localhost:1080".
error: while detecting compiler information:
The log file content at "D:\Inviwo\vcpkg\buildtrees\detect_compiler\stdout-x64-osx.log" is:
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip -> ninja-win-1.10.2.zip...
-- Configuring x64-osx
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: D:/Inviwo/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v
Working Directory: D:/Inviwo/vcpkg/buildtrees/detect_compiler/x64-osx-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\Inviwo\vcpkg\buildtrees\detect_compiler\config-x64-osx-rel-CMakeCache.txt.log
D:\Inviwo\vcpkg\buildtrees\detect_compiler\config-x64-osx-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:314 (vcpkg_execute_required_process)
scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
scripts/ports.cmake:170 (include)
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
And more infomation in \Inviwo\vcpkg\buildtrees\detect_compiler\config-x64-osx-out.log:
[1/1] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/Inviwo/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Inviwo/vcpkg/packages/detect_compiler_x64-osx" "-DCMAKE_MAKE_PROGRAM=D:/Inviwo/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Inviwo/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=x64-osx" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-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:/Inviwo/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:/Inviwo/vcpkg" "-DZ_VCPKG_ROOT_DIR=D:/Inviwo/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Inviwo/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=x86_64"
FAILED: ../CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/Inviwo/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Inviwo/vcpkg/packages/detect_compiler_x64-osx" "-DCMAKE_MAKE_PROGRAM=D:/Inviwo/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Inviwo/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=x64-osx" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-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:/Inviwo/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:/Inviwo/vcpkg" "-DZ_VCPKG_ROOT_DIR=D:/Inviwo/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Inviwo/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=x86_64"
-- The C compiler identification is unknown
CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeFindBinUtils.cmake:251 (message):
Could not find install_name_tool, please check your installation.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeDetermineCCompiler.cmake:196 (include)
CMakeLists.txt:11 (enable_language)
-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Any luck on this ?
I got a problem when installing ffmpeg, it seems to be something wrong with the file "yuv2rgb_neon.S"
OPERATION SYSTEM:
WINDOWS10 x64
COMPILER:
MSVC 2022
LOG :
`PS D:\Inviwo\vcpkg> ./vcpkg install ffmpeg:x64-windows Computing installation plan... The following packages will be built and installed: ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x64-windows@6.1#2
vcpkg-tool-meson:x64-windows@0.63#2 Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x64-windows... Restored 1 package(s) from C:\Users\AppData\Local\vcpkg\archives in 61.1 ms. Use --debug to see more details. Installing 1/6 vcpkg-cmake:x64-windows@2023-05-04... Elapsed time to handle vcpkg-cmake:x64-windows: 4.34 ms vcpkg-cmake:x64-windows package ABI: c8181aeaf8cce5fb57227e2c0eee436f227d8f5f62cb2fd9b172e389bf139903 Installing 2/6 vcpkg-cmake-get-vars:x64-windows@2023-12-31... Building vcpkg-cmake-get-vars:x64-windows@2023-12-31... -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-cmake-get-vars_x64-windows/share/vcpkg-cmake-get-vars/vcpkg_cmake_get_vars.cmake -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-cmake-get-vars_x64-windows/share/vcpkg-cmake-get-vars/cmake_get_vars -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-cmake-get-vars_x64-windows/share/vcpkg-cmake-get-vars/cmake_get_vars/CMakeLists.txt -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-cmake-get-vars_x64-windows/share/vcpkg-cmake-get-vars/vcpkg-port-config.cmake -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-cmake-get-vars_x64-windows/share/vcpkg-cmake-get-vars/copyright -- Performing post-build validation Stored binaries in 1 destinations in 62.7 ms. Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 218 ms vcpkg-cmake-get-vars:x64-windows package ABI: d630f123ff9d88dda6486acf2f9f916609a60af1f3f59fd37ef24cbc3ded4acd Installing 3/6 vcpkg-tool-meson:x64-windows@0.63#2... Building vcpkg-tool-meson:x64-windows@0.63#2... -- Using cached mesonbuild-meson-bb91cea0d66d8d036063dedec1f194d663399cdf.tar.gz. -- Extracting source D:/Inviwo/vcpkg/downloads/mesonbuild-meson-bb91cea0d66d8d036063dedec1f194d663399cdf.tar.gz -- Applying patch meson-intl.patch -- Applying patch remove-freebsd-pcfile-specialization.patch -- Using source at D:/Inviwo/vcpkg/buildtrees/vcpkg-tool-meson/src/d663399cdf-ca71a9f145.clean -- Using meson: D:/Inviwo/vcpkg/downloads/tools/python/python-3.11.5-x64/python.exe;-I;D:/Inviwo/vcpkg/packages/vcpkg-tool-meson_x64-windows/tools/meson/meson.py -- Performing post-build validation Stored binaries in 1 destinations in 113 ms. Elapsed time to handle vcpkg-tool-meson:x64-windows: 4.6 s vcpkg-tool-meson:x64-windows package ABI: 47d31ff7f7ecd0a723e8617fc031fcee0569c69b7ddd854221d8b024ea66c0a9 Installing 4/6 pkgconf:x64-windows@2.1.0... Building pkgconf:x64-windows@2.1.0... -- Using cached pkgconf-pkgconf-pkgconf-2.1.0.tar.gz. -- Cleaning sources at D:/Inviwo/vcpkg/buildtrees/pkgconf/src/conf-2.1.0-7b1cf1fe7f.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source D:/Inviwo/vcpkg/downloads/pkgconf-pkgconf-pkgconf-2.1.0.tar.gz -- Using source at D:/Inviwo/vcpkg/buildtrees/pkgconf/src/conf-2.1.0-7b1cf1fe7f.clean -- Found external ninja('1.11.0'). -- Getting CMake variables for x64-windows -- Configuring x64-windows-dbg -- Configuring x64-windows-dbg done -- Configuring x64-windows-rel -- Configuring x64-windows-rel done -- Package x64-windows-dbg -- Package x64-windows-rel -- Fixing pkgconfig file: D:/Inviwo/vcpkg/packages/pkgconf_x64-windows/lib/pkgconfig/libpkgconf.pc -- Fixing pkgconfig file: D:/Inviwo/vcpkg/packages/pkgconf_x64-windows/debug/lib/pkgconfig/libpkgconf.pc -- Installing: D:/Inviwo/vcpkg/packages/pkgconf_x64-windows/share/pkgconf/copyright -- Performing post-build validation Stored binaries in 1 destinations in 128 ms. Elapsed time to handle pkgconf:x64-windows: 16 s pkgconf:x64-windows package ABI: 669cb8f8a277f84b616701860c1674f051f364cd2286e2afa5131d8861e638de Installing 5/6 vcpkg-pkgconfig-get-modules:x64-windows@2023-09-06... Building vcpkg-pkgconfig-get-modules:x64-windows@2023-09-06... -- Installing: D:/Inviwo/vcpkg/packages/vcpkg-pkgconfig-get-modules_x64-windows/share/vcpkg-pkgconfig-get-modules/copyright -- Performing post-build validation Stored binaries in 1 destinations in 65.3 ms. Elapsed time to handle vcpkg-pkgconfig-get-modules:x64-windows: 219 ms vcpkg-pkgconfig-get-modules:x64-windows package ABI: 7b8e5909b0c1dcd1e476afaf7c053ff6091152532e8bfca9f4518c584a8f4009 Installing 6/6 ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x64-windows@6.1#2... Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x64-windows@6.1#2... -- Using cached ffmpeg-ffmpeg-n6.1.tar.gz. -- Extracting source D:/Inviwo/vcpkg/downloads/ffmpeg-ffmpeg-n6.1.tar.gz -- Applying patch 0001-create-lib-libraries.patch -- Applying patch 0002-fix-msvc-link.patch -- Applying patch 0003-fix-windowsinclude.patch -- Applying patch 0004-fix-debug-build.patch -- Applying patch 0005-fix-nasm.patch -- Applying patch 0006-fix-StaticFeatures.patch -- Applying patch 0007-fix-lib-naming.patch -- Applying patch 0009-Fix-fdk-detection.patch -- Applying patch 0011-Fix-x265-detection.patch -- Applying patch 0012-Fix-ssl-110-detection.patch -- Applying patch 0013-define-WINVER.patch -- Applying patch 0015-Fix-xml2-detection.patch -- Applying patch 0020-fix-aarch64-libswscale.patch CMake Error at scripts/cmake/z_vcpkg_apply_patches.cmake:34 (message): Applying patch failed: Checking patch libswscale/aarch64/yuv2rgb_neon.S...
error: while searching for:
.ifc \ofmt,argb // 1 2 3 0
.endif
.ifc \ofmt,rgba // 0 1 2 3
.endif
.ifc \ofmt,abgr // 3 2 1 0
.endif
.ifc \ofmt,bgra // 2 1 0 3
.endif
error: patch failed: libswscale/aarch64/yuv2rgb_neon.S:169
error: libswscale/aarch64/yuv2rgb_neon.S: patch does not apply
Call Stack (most recent call first): scripts/cmake/vcpkg_extract_source_archive.cmake:147 (z_vcpkg_apply_patches) scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 (vcpkg_extract_source_archive) scripts/cmake/vcpkg_from_github.cmake:113 (vcpkg_extract_source_archive_ex) ports/ffmpeg/portfile.cmake:1 (vcpkg_from_github) scripts/ports.cmake:170 (include)
error: building ffmpeg:x64-windows failed with: BUILD_FAILED Elapsed time to handle ffmpeg:x64-windows: 11 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+ffmpeg You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[ffmpeg]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2FInviwo%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md`