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
2 answers

Point cloud library not working on Visual Studio 2019

I've installed the pointcloud library with vcpkg. I used the command line "vcpkg install pcl:x64-windows" and had all the other libraries installed along with PCL. After that I used ".\vcpkg\vcpkg integrate install" to have all the libraries working…
1
vote
1 answer

Show debug_message from VcPkg

In \scripts\cmake\vcpkg_fixup_pkgconfig.cmake, we have a lot of debug_message(...), but I cannot seem to find where the messages are actually logged, or how do I get the messages to log?
datguyray
  • 131
  • 7
1
vote
0 answers

building libzippp in macos with vcpkg: ld: library not found for -llibzip::libzip

libzippp github link vcpkg github link It is supposed to be straightforward, according to the documentation one should "just" ./vcpkg install libzippp But i've tried it plus a little bit of everything but nothing works. I'm using VS Code, my…
Alejandro Camba
  • 978
  • 10
  • 25
1
vote
1 answer

Curl with vcpkg

I am working on a windows 10 using wsl-2 using remote wsl i am trying to attach an external library using vcpkg one trail pacakge i installed has worked but Curl is not working #include #include using namespace std; int…
1
vote
1 answer

Installing box2d with vcpkg

when I try to #include in vscode. I got this error: fatal error: box2d/box2d.h: No such file or directory #include even the vscode autocomplete the library when I include it my vcpkg list ./vcpkg…
1
vote
1 answer

vcpkg to install wxWidgts but getting include errors

As the title says I used vcpkg to install wxWidgets. I then ran ./vcpkg integrate install and it says applied user wide integration. The wxWidgets doc says I should be able to use the wxWidget headers now in my project, but VSC is still giving me…
Ryne
  • 1,195
  • 2
  • 14
  • 32
1
vote
1 answer

Simplest way to change target name (dll name) of vcpkg library

I want to use some vcpkg libs in an plugin to closed source 3rd party product (e.g. AutoCAD or ArcGIS). Chosen vcpkg libs have zlib as dependencies, but the 3rd party product also use zlib and it is another version of the lib. I can not replace…
oley
  • 21
  • 1
1
vote
1 answer

How to access header files after installing with vcpkg?

I'm trying to use ICU in a project in Visual Studio, which I am new to. The VS documentation encouraged me to use vcpkg, so I downloaded it. I then installed icu through vcpkg. I integrated vcpkg for my userspace. I'm now able to include icu, but…
Matt
  • 81
  • 6
1
vote
1 answer

vcpkg-built google protobuf and grpc won't statically link to application

Tools and versions: Visual Sudio 2017, Google Protobufs 3.11.3, gRPC 1.27.1, vcpkg 2020.02.04, on Microsoft Windows I used vcpkg to build the Windows native C++ versions of gRPC and protobuf (and other dependencies) for Windows (x86). Everything…
Ken
  • 427
  • 4
  • 20
1
vote
1 answer

How to install gsl 2.6 by using vcpkg?

I am using vcpkg to install gsl on Windows. The gsl-version being installed is: Source: gsl Version: 2.4-5 Homepage: https://www.gnu.org/software/gsl/ However, I need the functionalities of the latest version of gsl, i.e. 2.6. Is there any…
majom
  • 7,863
  • 7
  • 55
  • 88
1
vote
2 answers

Add FreeType dependency with cmake supporting all vcpkg/apt-get/brew

I have a project which depends on FreeType, and uses CMake as build system. CMake has a FindFreeType built-in module which is supposed to be used like this, see for example this other SO question: find_package(Freetype…
Boris Dalstein
  • 7,015
  • 4
  • 30
  • 59
1
vote
1 answer

Get VCPKG to include the VCPKG Include directory in the include path when building a port

I am attempting to create a new port for VCPKG, for the Arabica project. The vcpkg install command is failing. The first error is as follows. ...\include\XPath/impl/xpath_namespace_context.hpp(7,10): fatal error C1083: Cannot open include file:…
Benilda Key
  • 2,836
  • 1
  • 22
  • 34
1
vote
1 answer

How/Which directory to install a 3rd party C++ library on Ubuntu?

I'm just beginning to learn more about Linux as I'm using Ubuntu. I'm trying to install a header-only library called "date.h" from here An excerpt from the github states that this is a header-only library "date.h" is a header-only library which…
1
vote
0 answers

How to use CGAL drawing capabilities without CMake?

I am trying to use vcpkg "zero configuration" feature. I have installed CGAL in vcpkg also as Qt5. I can compile and run CGAL example with computation only, but I can't run any draw functions. When I do this, it prints Impossible to draw,…
Dims
  • 47,675
  • 117
  • 331
  • 600
1
vote
1 answer

Can not download vcpkg by git

When I use git to download the vcpkg, it said Unsupported proxy syntax in':' I use following command on powershell: git clone https://github.com/microsoft/vcpkg.git and it returns: fatal:unable to access 'https://github.com/microsoft/vcpkg.git':…
WalkerC67
  • 91
  • 1
  • 10