vcpkg export <pkg>... [opt]… 例如,导出多个库,且其中一个库要64位版本,并用7z打包: 查看代码 > vcpkgexportopenssl:x64-windows curl zlib --7zip The following packages are already built and will be exported: curl:x86-windows openssl:x64-windows * vcpkg-cmake:x64-windows * vcpkg-cmake-c...
PS> .\vcpkg install sdl2curlLinux:~/$./vcpkg install sdl2curl 百度AI c++ 版本的 SDK 代码中主要使用了依赖库curl(需要支持ssl) openssl jsoncpp (>1.6.2版本,0.x版本将不被支持)。因此直接使用 Vcpkg 来安装这些依赖库。 如果不指定安装的架构,vcpkg默认把开源库编译成x86的Windows版本的库。可以使用一...
Then, to hook up user-wide integration, run (note: requires admin on first use) Windows> .\vcpkg integrate install Linux:~/$ ./vcpkg integrate install Install any packages with Windows> .\vcpkg install sdl2 curl Linux:~/$ ./vcpkg install sdl2 curl 常见错误汇总 windows .\vcpkg integrate ...
vcpkg.exe upgrade --no-dry-run The following packages will be rebuilt: * grpc[core]:x64-linux -> 1.33.1#2 * grpc[core]:x64-windows -> 1.33.1#2 * protobuf[core]:x64-linux -> 3.14.0#1 * protobuf[core]:x64-windows -> 3.14.0#1 Removing package protobuf:x64-linux... done ...
x64-linux x64-osx x64-uwp x64-windows x64-windows-static x86-uwp x86-windows x86-windows-static 我这里编译的版本为 x64,因此使用 x64-window。 >cdd:\vcpkg# 根据你的目录进行修改> ./vcpkg.exe install curl:x64-windows > ./vcpkg.exe install jsoncpp:x64-windows ...
First, follow the quick start guide for eitherWindows, ormacOS and Linux, depending on what you're using. For more information, seeInstalling and Using Packages. If a library you need is not present in the vcpkg catalog, you canopen an issue on the GitHub repowhere the vcpkg team and co...
vcpkg 对于常见的库, 可以认为覆盖了 Windows, Linux, MacOSX 的 x64 环境, 操作系统用哪个应该都可以, 本人使用的是 ubuntu 22.04。 CMake版本 本人使用较新的 CMake 3.27.4 版本,稍微老一些的如3.20应该也可以。 vcpkg版本 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416 2.2 C++ 代码 只有一个...
(x64-windows.cmake) | | (scripts/buildsystems/vcpkg.cmake) | +---+ +---+ | Portfile | ===> | CMakeLists.txt | | (ports/foo/portfile.cmake) | | (buildtrees/../CMakeLists.txt) | +---+ +---+ 若要判斷 portfile 中的主機,標準 CMake 變數很好(CMAKE_HOST_WIN32)。 若...
The 2019.07 update of vcpkg, a tool that helps you manage C and C++ libraries on Windows, Linux, and macOS, is now available. This update is a summary of the new functionality and improvements made to vcpkg over the past month. Last month was the first time we created a vcpkg release ...
arm-windows.cmake arm64-uwp.cmake arm64-windows.cmake x64-linux.cmake x64-osx.cmake x64-uwp.cmake x64-windows-static.cmake x64-windows.cmake x86-uwp.cmake x86-windows-static.cmake x86-windows.cmake List of libraries (08/17/2018) To see the list of the 759 libraries (...