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

IMG_Load() with jpg returns "unsupported image format"

I'm trying to load images using SDL2-image, it works when I try to load a .png, but it fails to recognize a .jpg My imports: #include #undef main #include #include "logger.hpp" And my code: int main(int argc, char…
2
votes
1 answer

Use vcxproj instead of Cmake for internal vcpkg port

We have some libraries written in Visual Studio that we would like to share with other projects in different solutions in different repos. I liked the idea of using an internal vcpkg registry to distribute those libraries to those other…
WBuck
  • 5,162
  • 2
  • 25
  • 36
2
votes
1 answer

Installing pyclblast on windows 10 with clblast vcpkg

I am trying to install the python package pyclblast on Windows 10. pip3 install pyclblast fails with src\pyclblast.cpp(700): fatal error C1082: Cannot open include file: 'clblast_c.h': No such file or directory error: command 'C:\Program Files…
HerpDerpington
  • 3,751
  • 4
  • 27
  • 43
2
votes
1 answer

vcpkg registries version and port_version

On the documentation on creating vcpkg registries I see { "versions": [ { "version": "2.6.3", "port-version": 0, "path": "$/ports/kitten/2.6.3_0" }, { "version": "2.6.2", "port-version": 0, "path":…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
2 answers

vcpkg manifest install system wide

Just tried Vcpkg Manifest on my cmake project and it is cool, with exceptions however. My project depends on opencv and it takes a long time for vcpkg to install opencv. So I realized I don't want vcpkg downloawding/installing opencv every time I…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
0 answers

cmake SHARED won't generate .lib on Windows?

On macOS I managed to build my own small SHARED library based on fmt, while installing it with vcpkg and building the project with cmake. Now on Windows I have: CMakeLists.txt cmake_minimum_required(VERSION 3.19.1) set(CMAKE_TOOLCHAIN_FILE…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

Is vcpkg installing debug or release version of the library?

How can I check if vcpkg installed debug/release version of a library? I'm on macOS Monterey but I guess this applies to other OS also. I did vcpkg install qt5 and after a few hours it looks like it installed everything (almost). After adding the…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
0 answers

Qt Creator - No QML utility installed

I'm trying to install Qt from vcpkg. On macOS Monterey, while trying to add Qt installation from vcpkg on QtCreator it seems to complain about: No QML utility installed. And perhaps QT_SYSROOT is missing? How should I proceed? And trying to…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

Linking OpenVR through VCPKG via CMAKE

I have Installed OpenVR through vcpkg and am trying to link it via CMAKE, the issue is that I don't know how to do it, nor can I find any info on how to. Unlike other packages where once installed it tells you how to link via CMAKE by using…
games4uall
  • 23
  • 6
2
votes
1 answer

How do I get dependencies for a vcpkg package before installing said package?

I couldn't find a better way to word the title, so let me explain. I'm using vcpkg for a project that requires OpenCV, so at some point before building my project I need to do vcpkg install opencv. That part is easy. The problem is what happens when…
LLSv2.0
  • 501
  • 6
  • 20
2
votes
0 answers

cmake with vcpkg can't find *.lib files

I want to use DirectXTK via vcpkg and link it with my cmake project. vcpkg.exe list shows the following: directxtk:x86-windows apr2021 A collection of helper classes for writing…
Raildex
  • 3,406
  • 1
  • 18
  • 42
2
votes
1 answer

Show all available triplets on server

Commnad below show 7zip library available on server: vcpkg search 7zip How to list all available triplets on remote?
vico
  • 17,051
  • 45
  • 159
  • 315
2
votes
0 answers

installing GSL library for C programming in windows

I want to install the GSL library (https://www.gnu.org/software/gsl/) in windows. I have downloaded the files but i do not know what to do apart from that in order to be able to use the functions of the library (apart from the #include <...> in my…
2
votes
1 answer

V8 c++ - Failed to deserialize the V8 snapshot blob

I'm trying to use V8 library compiled via vcpkg install v8 but receiving the following error: Failed to deserialize the V8 snapshot blob. This can mean that the snapshot blob file is corrupted or missing. I'm testing it on shipped hello-world.cc…
Ludek Vodicka
  • 1,610
  • 1
  • 18
  • 33
2
votes
1 answer

Vcpkg package not showing up on Visual Studio 2019

I have installed colmap via vcpkg and it's not showing up for me. It shows up on .\vcpkg list but not on Visual Studio 2019. All of colmap's dependencies are showing up when I do #include "" and they also show up on #include <> along with many…