vcpkg x-add-version zlib 如果您要同時更新多個埠,您可以改為執行:主控台 複製 vcpkg x-add-version --all 以一次更新所有已修改埠的檔案。注意 這些命令會要求您先將變更認可至埠,再執行這些變更。 原因是這些版本檔案中需要埠目錄的 Git SHA。 但別擔心,如果您有尚未認可的本機變更, x-add-version 命令...
-- Found ZLIB: optimized;E:/vcpkg/vcpkgtest/versioning/build/vcpkg_installed/x64-windows/lib/zlib.lib;debug;E:/vcpkg/vcpkgtest/versioning/build/vcpkg_installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11") -- Configuring done -- Generating done -- Build files have been written ...
cmake_minimum_required(VERSION 3.20) project(kys.cpp) set(CMAKE_CXX_STANDARD 11) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_DEBUG_POSTFIX "_d") find_package(fmt CONFIG REQUIRED) add_executable(kys kys.cpp ) target_link_libraries(kys PRIVATE fm...
{"version":2,"configurePresets": [ {"name":"debug","cacheVariables": {"CMAKE_TOOLCHAIN_FILE":"$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"} } ] } sh cmake -B build -S /my/project --preset debug 如果您需要使用目前電腦專屬 vcpkg 的絕對路徑,您可以使用CMakeUserPresets.json並將...
{"version": "2.0.0","tasks": [{"label": "Reinstall zlib","type": "shell","isBackground": true,"command": "& \"${workspaceFolder}/vcpkg.exe\" remove zlib; & \"${workspaceFolder}/vcpkg.exe\" install zlib --no-binarycaching --x-cmake-debug \\\.\\pipe\\portfile_debug...
-- Running vcpkg install Detecting compiler hash for triplet x64-windows... A suitable version of powershell-core was not found (required v7.1.3). Downloading portable powershell-core v7.1.3... Extracting powershell-core... The following packages will be built and installed: ...
[DEBUG] CreateProcessW("C:\dev\vcpkg\downloads\tools\cmake-3.22.2-windows\cmake-3.22.2-windows-i386\bin\cmake.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 12976: cmd_execute_and_stream_data() returned 0 after 78692 us ...
E:\vcpkg\vcpkgtest\versioning\build>cmake-G"Visual Studio 16 2019""-DCMAKE_TOOLCHAIN_FILE=E:/vcpkg/vcpkg_debug/vcpkg/scripts/buildsystems/vcpkg.cmake"..--Runningvcpkg installDetectingcompiler hashfortriplet x64-windows...Asuitable version of powershell-core wasnotfound(required v7.1.3).Downlo...
./vcpkg install ryml --debug [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Trying to load bundleconfig from /home/divyanshu.goel/code/vcpkg_linux_a34c873/vcpkg-bundle.json [DEBUG] Failed to open: ...
一共是四个文件opencv_ffmpeg.dll,opencv_ffmpeg_64.dll,ffmpeg_version.cmake,ippicv_2020_win_intel64_20191018_general.zip。 b版本不同,文件名也不同。修改文件名后找到相应的文件夹,替换掉原来的0kb的文件。关闭打开的文件夹。 再编译 再次点击Configure。拉动进度条,看有没有红色报错。没有的话恭喜你,直接...