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

How to install Tesseract and Leptonica with header files on Windows

I have an cross platform application that requires Tesseract and Leptonica to work. Building it on Linux was a piece of cake, Windows seems to be way more difficult. The problem that I have is that I need the dlls and the header files. When I…
Damir Porobic
  • 681
  • 1
  • 8
  • 21
1
vote
1 answer

Add mapnik library to eclipseC++

I downloaded and built mapnik library with vcpkg after that I tried add the mapnik to eclipse.For GCC C++ compiler Include :"/home/ubuntuc/vcpkg/packages/mapnik_x64-linux/include" and for GCC C++ linker…
Ozan Ozan
  • 11
  • 2
1
vote
1 answer

static libavcodec that compiled by vcpkg size too big

I want to link ffmpeg libraries to my project as static. When I compile ffmpeg as shared its libraries via vcpkg. size of libavcodec and other libraries are conceivable. But when install with this command: ./vcpkg.exe install…
hrn
  • 48
  • 6
1
vote
1 answer

Using vcpkg to download older libraries

I'm trying to build a project which requires, among other things, Boost - version 1.51.0. The project requires Boost to be downloaded using vcpkg. On default, vcpkg downloads the latest version of the package. After a bit of research I saw vcpkg…
Guy
  • 155
  • 11
1
vote
1 answer

Can I force Visual Studio to NOT use a specific 3rd-party library?

We have a problem where a library we build via vcpkg is incorrectly linked in some modules which do not use it, leading to incorrect functionality. Because vcpkg links libraries automatically, we can't simply remove it from…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
vote
3 answers

How to use C library installed with vcpkg on linux?

I'm trying to install libwebsockets C library with vcpkg according to the instruction. And don't understand something. OS - Ubuntu 20.04 git clone https://github.com/microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg install…
tehkonst
  • 185
  • 2
  • 8
1
vote
1 answer

vcpkg build of protobuf does not define FatalException

My VS project uses protobuf, which is accessed using the system-wide integration feature of vcpkg. When I link my project I get the following 1>...: error LNK2001: unresolved external symbol "public: virtual char const * __cdecl…
1
vote
0 answers

Building ffmpeg with vcpkg on Windows 10: how to keep symbols in executables?

I'm building the ffmpeg source on Windows 10 in an attempt to customize and incorporate this open-source package as part of a larger package. Because ffmpeg is a Linux-centric code base, I'm using the MSYS2 platform to build my Windows executables.…
Vaughn T
  • 21
  • 3
1
vote
0 answers

How to link boost libraries in VScode using vcpkg & cmake?

I am trying to use boost libraries in VSCode (using Cmake & vcpkg) but can't seem to figure out what's wrong. I installed Boost in vcpkg. Here are the error messages. main.cpp #include using namespace…
Dinh Minh Luu
  • 71
  • 4
  • 7
1
vote
2 answers

run-vcpkg and run-cmake in github actions: The system cannot find the path specified on windows only

I try to make a new setup using github actions with CMake and vcpkg. All the configurations are working except the windows one. A strange error occurs and I'm not sure why it happens and I'm not sure how to fix it: ► Run lukka/run-cmake@v3 tool:…
Guillaume Racicot
  • 39,621
  • 9
  • 77
  • 141
1
vote
1 answer

Modify a vcpkg triplet file, how can I rebuild?

We use a custom triplet file MyTriplet.cmake with some specific settings. Everything is built but now we need to change one setting in the triplet file. The problem is, when we re-run vcpkg install it reports everything is already built. I know the…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
vote
0 answers

Installing OpenAL using vcpkg but encounters error

I'm trying to install OpenAL using vcpkg tools, but it gave an error message that I can not resolve. Error message is as below. C:\Dev\vcpkg\vcpkg-2021.05.12>vcpkg install openal-soft:x64-windows Computing installation plan... The following…
KevinZheng
  • 21
  • 3
1
vote
0 answers

How to make vcpkg in visual studio ignore specific libraries

I have two different configurations of a project and I wish to link one against one against windows' standard opengl32.lib and the other against Angle. The trouble is, both of these libraries implement the OpenGL interface and I see no way of…
Luther
  • 1,786
  • 3
  • 21
  • 38
1
vote
1 answer

'MT_StaticRelease' not match 'MD_DynamicRelease' using cmake vcpkg

I am stuck in a problem with Cmake on Windows 10. I am using cmake with vcpkg to build an application linking to Boost thread (actually, I developed it on Ubuntu and I am now trying to build it also for Windows..) The problem that I receive…
Raffa
  • 21
  • 2
1
vote
1 answer

Installing boost via vcpkg, I get the wrong toolset

I recently switched from using the Visual Studio 2015 IDE to the Visual Studio 2019 IDE. Around that same time I started using vcpkg for library installations. I've been using a pre-build version of an earlier version of boost, which I compiled…
Blake Senftner
  • 756
  • 1
  • 8
  • 24