Questions tagged [vcpkg]

Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS.

Repository: Github Microsoft/vcpkg

Documentation: vcpkg.readthedocs.io

591 questions
1
vote
0 answers

vcpkg Linking Issues with Libtorrent library (LNK2001 unresolved external symbol)

I installed the Libtorrent library with vcpkg. I am tring to consume it from a c++ project in VS 2022. All the Headers are available when I use "#include " without showing any errors. But when I build the project it gives…
1
vote
0 answers

VS 2022 cannot find vcpkg toolchain

I am trying to integrate vcpkg into an existing CMake Project using Visual Studio 2022. I have tried to follow online resources on the installation and setup process. Following this Microsoft document on CMake projects, I added the…
Saereon
  • 229
  • 1
  • 2
  • 8
1
vote
0 answers

Non-CMake library distributed via vcpkg to CMake consumers - CMake config or Find module?

I write a library that is built with Visual Studio (msbuild). I distribute binaries only of the library via vcpkg (I use a private vcpkg registry. The portfile.cmake for the port simply downloads a zip file of the binaries and headers and places…
1
vote
0 answers

BOOST directory on windows

I used vcpkg to install boost, but now that I need the install directory to compile something, I have no idea where it is. Here's what I installed: vcpkg install boost-iostreams:x64-windows vcpkg install boost-any:x64-windows vcpkg install…
johancc
  • 87
  • 8
1
vote
0 answers

vcpkg : How to install ceres-solver in windows

I tried to install ceres-solver from vcpkg. Relevant libraries(ex:glog) has been installed, but I cannot install ceres with this log. Fatal error: internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj: file too big I think I could add…
kou
  • 11
  • 1
1
vote
1 answer

Problem building C++ binary using vcpkg and cmake in Github action macos-12

Works fine building on Linux and Windows. But in macos I get: /usr/local/bin/g++-11 -isysroot /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -Wl,-search_paths_first…
mwthinker
  • 59
  • 6
1
vote
1 answer

Gstreamer binaries not included in build output directory when application built with vcpkg

I'm using Visual Studio 2022 with VCPKG to build a simple test program that opens a OpenCV VideoCapture object with a gstreamer pipeline to a RTSP feed. #include #include int main() { auto path = "rtspsrc…
Kyberias
  • 1,263
  • 1
  • 14
  • 23
1
vote
0 answers

vcpkg installed package linker issue

I started using vcpkg for my code base. I have included the following manifest { "name": "project", "version-string": "0.1.1", "dependencies" : [ "boost-filesystem", "boost-system", "boost-timer", "eigen3", "opencv", …
Ashkan
  • 1,050
  • 15
  • 32
1
vote
1 answer

Build libssh with vcpkg enable gssapi

I'm trying to build libssh with vcpkg for windows x86 but i need to enable gssapi support. With standard command vcpkg install libssh i'm getting an dynamic library but the log files shows that gssapi support isnt build in. [1/2] cmd /c "cd…
Marco
  • 129
  • 1
  • 9
1
vote
1 answer

What are the next steps after installing mapnik with vcpkg to see mapnik usage

I installed vcpkg and followed the instructions mentioned in this to install mapnik using vcpkg. Basically, I did vcpkg install mapnik. It installed a lot of packages and supporting libraries like boost, libmapnik. Now it has created a libmapnik.dll…
shanti
  • 359
  • 5
  • 20
1
vote
1 answer

How to update a dependency to a specific git commit when using manifest mode?

I have a cmake project that uses vcpkg to manage its dependencies. vcpkg is used in 'manifest mode'. Meaning my dependencies are specified in the vcpkg.json that reside in the project root directory: { "name": "myproject", "version-string":…
Elad Maimoni
  • 3,703
  • 3
  • 20
  • 37
1
vote
0 answers

What does vcpkg stand for?

As the GitHub page describes it, vcpkg is a "C++ Library Manager for Windows, Linux, and MacOS": https://github.com/Microsoft/vcpkg But what does this name, "vcpkg", mean? I'm guessing "pkg" is short for "package", but what is "vc"? Thanks
LoneCodeRanger
  • 413
  • 6
  • 18
1
vote
1 answer

Android packages are ignored when using VCPKG with manifest mode

I was trying to install android libraries using vcpkg manifest, but they are simply skipped for some reason. I am lost, pls tell me what I am doing wrong. This is my manifest: { "name": "native-deps", "version": "1.0.0", "dependencies":…
1
vote
2 answers

Importing C++ library installed using vcpkg on mac?

My goal is to install a library (rbdl-orb) on my Mac and import the library in a C++ program. My first attempt was to clone the library and run the included example directly. The program "example.cc" starts with the following two lines: #include…
1
vote
0 answers

The same vcpkg repository clone used in classic and manifest mode

I was using vcpkg in classic mode. Then I found about vcpkg manifests, I placed a vcpkg.json file on my project folder and fired cmake. And the following happened: -- Building for: Visual Studio 16 2019 -- Found Git: C:/Program Files/Git/cmd/git.exe…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136