vcpkg Questions
2
Solved
How does one completely remove vcpkg and all installations/system changes made by it?
I recall seeing some FAQ about vcpkg where it said that you could just delete the vcpkg folder. However, I've ...
Pawpaw asked 31/7, 2019 at 18:25
2
I use vcpkg manifest mode to install packages, vcpkg.json:
{
"name": "vcpkgtest",
"version": "1.0.0",
"description": "learn vkpg & glfw...
3
I installed protobuf via vcpkg vcpkg install protobuf:x64-windows. Apparently it installs the latest version (3.6.1). For the project I need version<=3.5.1. Is there any way to install it using ...
Ionization asked 16/12, 2018 at 19:51
4
Solved
I have installed vcpkg, a package manager for C++. Now after some time, I'd like to update it. How can I do that? Do I need to uninstall and reinstall?
Grammar asked 2/1, 2021 at 2:44
1
vcpkg uses the GCC installation package by default on Linux. I see that the official document mentions the custom triplet method, but does not mention the clang tool chain.
How can I specify clang ...
1
Solved
I am a python dev who is learning C++. I have a question:
I would like to install an external library libxlsxwriter. In VS Code terminal I do:
a) I create and empty folder C:\dev. I install there v...
Waistband asked 25/7, 2021 at 9:22
2
I'm trying to figure out how to configure my manifest file to compile a static version of my library using vcpkg's new manifest feature. My current manifest file is:
{
"name": "myPr...
Hardheaded asked 17/1, 2021 at 0:43
2
Solved
For example, how can I list available GDAL library versions ?
They are not listed on VCPKG packages website neither by vcpkg search gdalcommand.
Ortrude asked 17/6, 2021 at 15:35
3
I'm using the package manager vcpkg to install the (static) Boost libraries via vcpkg install boost:x64-windows-static.
Furthermore, I use CMake as my build system and I'm passing C:\vcpkg\scripts...
Autotrophic asked 9/2, 2020 at 0:3
0
I would love to use vcpkg to manage our dependencies with third party libraries, but I'm not sure how this is would work in our environment. We have hundreds of projects in our solution, and releas...
Ideograph asked 14/12, 2022 at 15:25
2
1
Solved
Currently the README.md for vcpkg says
"First, download and bootstrap vcpkg itself; it can be installed anywhere, but generally we recommend using vcpkg as a submodule for CMake projects, and ...
2
Solved
To the best of my knowledge, this isn't a duplicate of an existing question. This question is specifically about Visual Studio's auto-linking SDL2 libraries.
I've installed SDL2 (x64-windows varian...
Linguistician asked 26/9, 2020 at 15:4
1
Solved
I have installed boost-variant2 library using the vcpkg command:
vcpkg install boost-variant2:x64-windows
When vcpkg finished the installation, it prompted this:
The package boost is compatible w...
1
In my simple app which I build with cmake I use opencv, which is installed with vcpkg.
On CMakeLists.txt I have to find_package(OpenCV REQUIRED), replacing OpenCV by opencv will fail the build.
Fro...
1
Lets say I'm using vcpkg and I want to install a package as static no matter the platform
I know I can do it with a triple like wxwidgets:x86-windows-static
however, how can I say "make it sta...
Sherfield asked 21/1, 2022 at 20:13
2
Suppose I have installed some library with vcpkg and it's numerous dependencied (say cgal). Now I want to compile some program against these libraries with CMake.
How should I tell CMake about all...
2
Solved
After installing packages with vcpkg, help text is shown, eg...
The package fmt:x64-windows provides CMake targets:
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt...
3
Solved
I'm using several libraries built through vcpkg (such as civet-web and prometheus-cpp), against my Visual C++ projects. When building x86 all is perfect, in x64 I get a bunch of linker errors:
err...
Reportorial asked 11/1, 2021 at 18:12
2
Solved
*Edit: I got CURL working in VS 2017 on a 64 bit machine following these steps (see below for original problem):
First install vcpkg:
Clone vcpkg using gitbash into C:\Program Files
In a command...
Spectra asked 19/12, 2017 at 1:42
1
After installing a package, vcppkg very helpfully displays the relevant CMake targets...
The package libwebp:x64-windows provides CMake targets:
find_package(WebP CONFIG REQUIRED)
target_link_lib...
Multiple asked 20/10, 2020 at 22:11
1
Solved
I ran as suggested in https://mcmap.net/q/497679/-grpc-c-on-windows
vcpkg install grpc:x64-windows
vcpkg install protobuf protobuf:x64-windows
vcpkg install protobuf[zlib] protobuf[zlib]:x64-windo...
Assertive asked 13/8, 2021 at 8:3
4
Solved
I want to use vcpkg in a CMake project in Windows, because I need boost and xerces that are both handled by this package manager.
I've the following CMakeLists.txt:
cmake_minimum_required (VERSIO...
2
Solved
My target linked with several libraries using TARGET_LINK_LIBRARIES with PUBLIC keyword, The INSTALL command looks like INSTALL(TARGETS foo DESTINATION ${CMAKE_INSTALL_PREFIX}/bin). I want somehow ...
2
I'm working on c++ project on a linux machine and it uses several boost libraries. I've installed them on my system using vcpkg and build it using the toolchain provided by vcpkg. My question is:
H...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.