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
1 answer

VCPKG, not a found command right after installing it?

I am trying to use #include in visual studio code to display graphics in C. When I used graphics.h as a header the following error occurred, #include errors detected. Please update your includePath. Squiggles are disabled for this…
Nathan Tolley
  • 33
  • 2
  • 6
1
vote
1 answer

Cannot proceed because gmp.dll was not found

I have built a simple CGAL example but when I run it, I get an error that gmp.dll was not found. I am on Windows 10, using CMake and MSBuild and trying to build a simple sample CGAL C++ program. I used vcpkg (with environment variable…
Victor Stone
  • 498
  • 5
  • 18
1
vote
2 answers

Project vcpkg settings missing from Visual Studio Project Properties

One of my vcxproj's (with a vcpkg.json) looks like this And another one (with a vcpkg.json) looks like this. Note the missing option. But I need to be able to enable the vcpkg Manifest so it can compile! I'm stuck, where did this option go? Both…
Jonathan
  • 6,741
  • 7
  • 52
  • 69
1
vote
0 answers

VCPKG + CMAKE: passing compile options for multiple libraries (mlpack & dependencies)

I’ll start with an apology – I don’t post here often and I’m not familiar with the etiquette, so apologies if this is too much info. I’m just trying to be thorough… Background to my knowledge level: I have programmed in C and C++ for many years, but…
1
vote
0 answers

Issues installing/building the CGAL Library with vcpkg manager

To start, I am new to C++ and its package managers so there is a good chance that I just did something dumb. Note: I am on a 64bit Windows 10 system, I have Clion and visual studio 2019 installed and want to start using CGAL's library. To do so, I…
sageedwards
  • 103
  • 8
1
vote
2 answers

What is the one-step process to clone a repo and run a CMake+vcpkg project, not assuming vcpkg exists?

I'm missing something in my understanding of CMake+vcpkg, and I'm also missing proper keywords to search for a solution. (Plus I'm new to both CMake and vcpkg, unfortunately.) I want to have a public repo for a C++ project that uses CMake as its…
davidbak
  • 5,775
  • 3
  • 34
  • 50
1
vote
2 answers

PCL library setup using vcpkg seems to be missing include files (pcl/visualization in particular)

My goal is to visualize a point cloud using PCL. This is possible according to their official tutorial (link). In the tutorial there is an include path pointing to cloud_viewer.h file (located under visualization folder). After a vcpkg install using…
1
vote
1 answer

How to disable debug build in header-only library in port file in vcpkg?

I want to port one my library to Microsoft's vcpkg. This library is header-only. I created portfile.cmake, everything is fine. But vcpkg install builds release and debug. I have to say, that this build process is for internal for library…
Igor Mironchik
  • 582
  • 4
  • 17
1
vote
1 answer

Installing cgal by vcpkg

I am trying to install cgal using vcpkg. I didn't have vcpkg before that and installed it through git, so it is my first package (if I understand correctly comment). And I don't know what is bootstrapping process and I didn't try to install another…
Arsenii
  • 177
  • 8
1
vote
1 answer

Problem with GRPC generating client and server code on Windows 10 after installing with VCPKG

I am having problems generating client and server code for a GRPC service. I'm adapting the instructions at grpc.io. There is a single protobuf file test_interface.proto defining my service and I've tried to build it with both of the following…
1
vote
0 answers

Does grpc++_reflection library come with vcpkg install grpc for x86-windows?

I installed grpc c++ via vcpkg and trying to cmake the helloworld example project for Win32 platform. It fails because cmake can't find the grpc++_reflection library which is liked to the example project. It seems like there is no grpc++_reflection…
1
vote
0 answers

CMake fails to find OpenCV installed via vcpkg under wsl (returns opencv for Windows Conda Environment)

So I am currently trying to get my CMake Project to build after installing packages via vcpkg for the first time. I am using WSL2 under Win10 with Ubuntu 20.04 for the project, but building throws the…
1
vote
0 answers

How can I get Visual Studio to output some property values during a build?

I am setting up some custom properties (vcpkg triplets) in a solution-wide .props file, e.g: x86-windows-custom
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
vote
4 answers

vcpkg does not install cairo

Following the instruction in https://github.com/Microsoft/vcpkg/blob/master/README.md the command .\vcpkg install cairo --triplet x64-windows produces Computing installation plan... The following packages will be built and installed: *…
Kaniello
  • 21
  • 1
  • 2
1
vote
1 answer

PCL not properly installed with vcpkg

I've installed the PCL with the vcpkg using ./vcpkg install pcl:x64-windows. After a while I've noticed that concave_hull.h, convex_hull.h and qhull.h are not installed with the rest of the library. Additional information of what I'm working…
Michael
  • 13
  • 4