VCPKG: create & use local registry instead of remote
Currently I use cmake + vcpkg configured under manifest mode to query a remote registry (defined in vcpkg-configuration.json) for package dependency. It works fine for a first run – packages have been built/installed under “vcpkg_installed” folder. I also noticed that there are UUID folders containing vcpkg.json and portfile.cmake for the packages under folder %APPDATA%/local/vcpkg/git-tree.
Load gnuplot-iostream.h with vcpkg
There is already a good answer for how to use gnuplot-iostream.h in C++ to plot graphs. I am trying to find a solution using vcpkg
where instead of saving the gnuplot-iostream.h
file in my project folder I install it using vcpkg
so it is available for a wide range of projects. It is not a package that is included with vcpkg
so I guess there may be a different route for including it. I am a user who finds microsoft documentation like this one impossible to decipher.
Load gnuplot-iostream.h with vcpkg
There is already a good answer for how to use gnuplot-iostream.h in C++ to plot graphs. I am trying to find a solution using vcpkg
where instead of saving the gnuplot-iostream.h
file in my project folder I install it using vcpkg
so it is available for a wide range of projects. It is not a package that is included with vcpkg
so I guess there may be a different route for including it. I am a user who finds microsoft documentation like this one impossible to decipher.
Load gnuplot-iostream.h with vcpkg
There is already a good answer for how to use gnuplot-iostream.h in C++ to plot graphs. I am trying to find a solution using vcpkg
where instead of saving the gnuplot-iostream.h
file in my project folder I install it using vcpkg
so it is available for a wide range of projects. It is not a package that is included with vcpkg
so I guess there may be a different route for including it. I am a user who finds microsoft documentation like this one impossible to decipher.
Load gnuplot-iostream.h with vcpkg
There is already a good answer for how to use gnuplot-iostream.h in C++ to plot graphs. I am trying to find a solution using vcpkg
where instead of saving the gnuplot-iostream.h
file in my project folder I install it using vcpkg
so it is available for a wide range of projects. It is not a package that is included with vcpkg
so I guess there may be a different route for including it. I am a user who finds microsoft documentation like this one impossible to decipher.
Why my cmake didnt work as expected with vcpkg
I am trying to use vcpkg with cmake but I got an error(this error is in the problems tab of my vscode project):
Linking vcpkg libraries into a CMake Project under manifest mode
I’m currently trying to port my solution files to CMake for editor compatibility. All of my files and settings from the solution are set up, however I have not managed to find a way to link in external libraries (ImGui and Minhook) from VCPKG into my CMakeLists.txt file.
CMAKE cannot find the protobuf package
I want to use the protobuf package in my C++ project, and I have downloaded the binary executable of protoc from github, on the WIndows platform. I according to the contents of the https://github.com/protocolbuffers/protobuf/blob/main/src/README.md, The protobuf package is installed by running vcpkg install protobuf:x64-windows. But I used the CMake find_package directive in vs2022 to look up the protobuf package and couldn’t find it.
Does a cmake project with a dependency that uses vcpkg also need to use vcpkg itself?
I’ve been learning cmake recently and managed to convert a couple personal projects of mine to leverage it. One project is a utility library with a test executable, and the other is the main project that leverages the utility library and makes its own executable. They’re in two separate git repos, and the main project includes the utility project as a submodule. The utility library carries other library dependencies with it, like fmt, through cmake’s target_link_libraries
. And the main project includes the utility project with cmake’s add_subdirectory
. This all works great, with cmake configuring itself and being able to build all executables from the main project.
Could not find a configuration file for package “Protobuf” that is compatible with requested version “3.1.0”
I’m trying to fork an old program, and I used CMake to grab the necessary dependencies. Here’s the thing: when loading up the project folder, I get the error: