在安装vcpkg之前,你需要安装一些必要的依赖项。运行以下命令来安装这些依赖项: bash sudo apt-get update sudo apt-get install -y \ build-essential \ curl \ git \ tar \ unzip \ wget \ ninja-build \ cmake \ libtool \ liblzma-dev \ pkg-config 3. 下载vcpkg的源代码 接下来,你需要下载vcpkg...
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call firs...
git clone vcpkg的repos下来后,按github readme 上操作,安装一下vcpkg 之后还需要用brew 安装一下pkg-config 设置默认的triplet 和install path export VCPKG_DEFAULT_TRIPLET=x64-osx export VCPKG_ROOT="$HOME/vcpkg" 虽然我的mac arch 是arm64 但是编译的程序是x86_64,与系统不一致,所以还需要设置目标arch se...
LDFLAGS+= `pkg-config --libs opencv4` -lstdc++ COMMON+= `pkg-config --cflags opencv4` endif 1. 2. 3. 4. 5. 6. 然饿仍然会有报错: ‵./src/image_opencv.cpp:12:1: error: ‘IplImage’ does not name a type 12 | IplImage *image_to_ipl(image im) | ^~~~ compilation terminated...
z_vcpkg_restore_pkgconfig_path() if(NOT VCPKG_BUILD_TYPE) z_vcpkg_setup_pkgconfig_path(BASE_DIRS "${CURRENT_INSTALLED_DIR}/debug") # Build process that may internally invoke pkgconfig vcpkg_execute_build_process(COMMAND my-buildsystem.py -debug ...) z_vcpkg_restore_pkgconfig_path() ...
1:安装调试 1.下载安装: git clonehttps://github.com/microsoft/vcpkg 2.运行bootstrap-vcpkg.bat下载vcpkg.exe 3、运行验证:在当前页面下 按住shift打开powershell终端 然后输入 ./vcpkg(也可以直接vcpkg)(如果是cmd就是输入vcpkg cmd不要./) 4、进行测试 是否成功安装(安装OPENSSL测试) ...
如果你用cmake,就下载cmake下的pkg-config脚本工具然后使用 如果你和我一样觉得上面这俩玩意(指gcc和...
-- Fixing pkgconfig file: /home/vcpkg/packages/zlib_x64-linux/debug/lib/pkgconfig/zlib.pc -- Installing: /home/vcpkg/packages/zlib_x64-linux/share/zlib/copyright -- Performing post-build validation -- Performing post-build validation done ...
Describe the bug The PR #38901 introduced a problem with meson. On my system I have a library installed in /usr/local and I'm using a custom PKG_CONFIG_PATH to find the library. Prior to 2024.06.15 the library was found by vcpkg. After s...
很多老式的系统和工具都会尝试去走相对标准化的安装过程,比如说用 pkg-config 或者用系统自带的包管理工...