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
0
votes
0 answers

How to hook up user-wide integration of custom C++ libraries in Visual Sudios like vcpkg?

I have several third party libraries (both static and dynamic). Its becoming cumbersome and error-prone to add path every time in different project/builds. Is their a way by I can hook up user-wide integration of custom C++ libraries in Visual…
Dark Sorrow
  • 1,681
  • 14
  • 37
0
votes
1 answer

How to properly link libraries from vcpkg in a CMake project

I'm testing vcpkg (on macOS) with a CMake project. Since not all vcpkg packages have CMake find modules, I'm trying with a package that doesn't have one: libuuid This is the directory tree relative to libuuid I can see from the vcpkg root: $ find…
fferri
  • 18,285
  • 5
  • 46
  • 95
0
votes
1 answer

GTest/GMock produces linker error with vcpkg

In the cmake file for my project, I include googletest as a dependency using git submodules. This works fine. When I then also add dependencies through vcpkg (for example Boost), I get the following linker error: LNK2001 unresolved external…
Wouter
  • 538
  • 6
  • 15
0
votes
1 answer

How to use Facebook Wangle in Windows with vcpkg

When I install Wangle with vcpkg install wangle I see the below message: The following packages are already installed: wangle[core]:x64-windows Starting package 1/1: wangle:x64-windows Package wangle:x64-windows is already installed Elapsed time…
sorosh_sabz
  • 2,356
  • 2
  • 32
  • 53
0
votes
1 answer

Batch file won't execute from Powershell

I have a simple batch file named test.bat containing the following: @echo off cd ..\.. echo %~dp0 From the directory where the batch file is located I enter .\test.bat resulting in "Program 'test.bat' failed to run: The system cannot find the…
teamAR
  • 1
  • 4
0
votes
1 answer

FTP not supported in vcpkg curl port?

I need to download a file from an ftp server and I found this example using libcurl ftpget.c. It works great in Linux with gcc, but I want my program to work in Windows as well. I noticed there's a port in vcpkg so I installed it with vcpkg install…
uNiverselEgacy
  • 337
  • 3
  • 14
0
votes
1 answer

Vcpkg libs low speed when execution

I used Vcpkg to install tesseract but by using vcpkg i get low speed code execution, i tested vcpkg to install opencv and compare it to the manuel installation and i had a big difference in time 2 seconde without vcpkg and 13 seconde with the vcpkg,…
0
votes
0 answers

OpenSSL error while Building PCL on windows

I am new to GIS. I am trying to build PCL on windows(MS visual studio 2017) using VCPKG manager using the command: vcpkg install pcl:x64-windows. Build is failing with the following OpenSSL error: Building package…
pras123
  • 63
  • 8
0
votes
1 answer

With vcpkg how do I build boost using a different c++ standard?

Building an application linked with the default vcpkg build of boost on macos 10.14.1 yields the following errors: Undefined symbols for architecture x86_64: "boost::system::detail::system_category_instance", referenced from: …
sheeldotme
  • 2,237
  • 14
  • 27
0
votes
0 answers

Private packages: are debug files necessary to compile a project in debug mode

I'm trying to create a package (from local binaries) that can be installed using vcpkg. In vcpkg the file hierarchy for installed packages is: package |- bin |- include |- lib |- debug |- bin |- lib In case that the…
Timo
  • 9,269
  • 2
  • 28
  • 58
0
votes
1 answer

vcpkg fatal error: 'muParser.h' file not found even though the file exists

I have OS X Mojave. I'm trying out vcpkg and even though I installed muParser and it exists at ‎⁨Macintosh HD⁩ ▸ ⁨Users⁩ ▸ ⁨dchambers⁩ ▸ ⁨vcpkg⁩ ▸ ⁨installed⁩ ▸ ⁨x64-osx⁩ ▸ ⁨include⁩ AND I get no red underlining on #include "muParser.h" but DO on a…
Dave Chambers
  • 2,483
  • 2
  • 32
  • 55
0
votes
0 answers

boost 1.68 asio not working in visual studio 2017

I just installed VS 2017 and vcpkg on my new system. I installed all of the boost libraries using the x86 static triplet, but after running very trival codes that uses boost.asio I keep get errors. This is the code I tested with... int…
0
votes
1 answer

problem with cpprestapi in visual studio 2017 can't found POST/GET constants

Have code in client of API #include "cpprest/http_msg.h" ... http_request req; req.set_method(web::http::methods::POST); ... During linking have messages: 1>client.obj : error LNK2001: unresolved external symbol "public: …
Sergey
  • 31
  • 3
0
votes
1 answer

Installing Folly (c++ library) gives an error via vcpkg

I am trying to build folly library which is a c++ library and tried to install it via vcpkg. It downloaded all the dependencies and installed the dependent boost libraries as well. But it gives an error for in the last step which is installing the…
Akiner Alkan
  • 6,145
  • 3
  • 32
  • 68
0
votes
1 answer

How to link cpprestsdk dynamically and boost statically using VcPkg?

I'm using VC2015 with vcpkg with MSBuild integration. I have done: .\vcpkg install cpprestsdk:x86-windows Now my project is using dlls of cpprestsdk and its dependencies. Is it possible to use cpprestsdk dll and link to static libs of its…
user1633272
  • 2,007
  • 5
  • 25
  • 48