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

Mongocxx connection pool (VS Release version) has issue connecting to remote server

I've installed (and have been using it for a while now) mongocxx driver via vcpkg and everything installed correctly and runs perfectly in Debug version (I'm using Visual Studio 2017 and my application is a Windows Form c++ (CLR) application). In my…
Bilal
  • 43
  • 1
  • 11
0
votes
2 answers

Should I install AWS SDK for C++ with Nuget or Vcpkg?

I've used Nuget to install the AWS SDK for C++. My build works fine but when I try to run I get a missing Dll message. I either have to add the Dll path or copy it to my output directory but the source path is…
parsley72
  • 8,449
  • 8
  • 65
  • 98
0
votes
2 answers

cmake, build with /MD and find_package(Boost)

I have a library that is a Python extension (pyd) and to be able to debug it I need to compile with Multi-threaded DLL (/MD) Runtime Libraries. This works great until I injected a Boost dependency. But first time I call a Boost function the code…
Damian
  • 4,395
  • 4
  • 39
  • 67
0
votes
1 answer

Install Point Cloud Library

I've recently been introduced to vcpkg as I've been looking for the best way to install Point Cloud Library (PCL) in order to use it in my Visual Studio C++ project. I've installed PLC static libraries using .\vcpkg install pcl:x64-windows-static…
IsmNaj
  • 107
  • 1
  • 7
0
votes
1 answer

using vcpkg to download dependencies without create dll

I am using vcpkg to download cpprest package, So i can use cpprest in my project: #include #include But after build my project, it will generate executable binary and also generate cpprest.dll,…
Moon soon
  • 2,616
  • 2
  • 30
  • 51
0
votes
0 answers

build with gtest failed

OS:x64 win7 sp1 with vs2017 I use vcpkg to install gtest, and then try to test it. I create a dir and it has two files: //main.cpp #include int add(int a, int b){ return a + b; } TEST(addTest, add){ EXPECT_EQ(1, add(2,…
Weiby
  • 23
  • 5
0
votes
1 answer

CMake find_package error on SFML with Visual Studio and vcpkg

As per the title, CMake is unable to find SFML which I installed using Microsoft's vcpkg tool through CMakes find_package() macro. I have verified that SFML has been installed in the vcpkg installed directory (~\vcpkg\installed\x86-windows). In…
-1
votes
0 answers

I am installing library for c in visual studio code by watching yt video . while installing vcpkg I am facing error , please help to solve it

Please help to solve this error, I recently started my coding journey, and I have no idea about it, please elaborate in detail on the stepwise to resolve the issue I installed git, minGW, and vscode and was trying to install the vcpkg library,…
-1
votes
1 answer

Compile existing MSBuild project for Linux

I have an existing MSBuild project. I want to compile that for Linux ARM 64. I'm using vcpkg package manager becuase CMake is too difficult to maintain. The lanuage i'm writing in is C++. I'm using Visual Studio Community 2022. My question is: How…
euraad
  • 2,467
  • 5
  • 30
  • 51
-1
votes
1 answer

Cannot #include from vcpkg installation

Host Environment OS: [Windows 11 using WSL (Ubuntu-22.04)] Compiler: Clang 14.0.0 The issue Firstly, I did vcpkg install fmt --triplet x64-Linux and everything worked properly. After that, I wrote some configurations in the top-level…
Brad
  • 17
  • 6
-1
votes
1 answer

Using vcpkg to install RTABMap with VSCode as editor

I want to install RTABMap with vcpkg and then use VSCode as editor to include RTABMap into my C++ project. I installed RTABMap as described on their wiki with vcpkg install rtabmap:x64-windows (i also tried the x86 triplet) and then wanted to use…
Ruhrpottpatriot
  • 1,058
  • 3
  • 17
  • 31
-1
votes
1 answer

How to fix not working vcpkg in Kali Linux

I have downloaded Poco using vcpkg. But It did'nt work in vscode. I have also installed integrate. I have done evrything what vcpkg offical site asked. I even added directory to Path, but none of them worked. Every time i write: #include
Dostonbek
  • 37
  • 4
-1
votes
1 answer

Package 'apr-1', required by 'virtual:world', not found

I just installed vcpkg and installed spdlog through it, and encountered this error: -- Checking for module 'apr-1' -- Package 'apr-1', required by 'virtual:world', not found CMake Error at…
ri yo
  • 3
  • 3
-1
votes
1 answer

how to install vcpkg for vs code?

I tried to install vcpkg for VS code and in a PowerShell Window. I had this error: Could not find MSBuild version with C ++ support. VS2015, VS2017 or VS2019 (with C ++) must be installed. So I installed Visual studio and I have the same error.…
tawosky
  • 1
  • 1
  • 1
-1
votes
1 answer

VCPKG: How do you build **all of Boost** with ICU support

The following command builds boost using VCPKG. vcpkg install boost:x64-windows boost:x64-windows This command builds all of Boost. Specifically it builds the following packages: boost-accumulators, boost-algorithm, boost-align, boost-any,…
Benilda Key
  • 2,836
  • 1
  • 22
  • 34
1 2 3
39
40