726 questions
-1
votes
0
answers
50
views
Difference between mongo-c-driver 2.2.1 and 1.30.6 + how to get 2.2.1 DLLs on Windows [closed]
I'm trying to understand the practical differences between the latest MongoDB C Driver versions and how to actually obtain the newer 2.x series binaries (DLLs) on Windows.
From the official GitHub ...
0
votes
0
answers
90
views
LNK2001 unresolved external symbol __vcrt_initialize when building python3 via vcpkg with custom ASan triplet (MSVC)
I am trying to build my project dependencies (gRPC and Boost) using vcpkg with AddressSanitizer (ASan) enabled on Windows. To achieve this, I created a custom triplet named x64-windows-asan.cmake.
...
-2
votes
1
answer
121
views
managing local static library projects with vcpkg [closed]
I have a small Visual Studio solution with three projects. The projects are a static library, a main app, and a unit testing app. The two apps depend on the library. Everything is build using msbuild. ...
1
vote
1
answer
94
views
VCPKG causes configuration time to explode, despite each on their own not taking time, how to debug?
I'm on RHEL8, and a while back, I used to have no issues. At some point something about the system changed and I started having issues with slow CMake generation times, which eclipsed my compile ...
0
votes
0
answers
47
views
specify different vcpkg integrations for different versions of Visual Studio
I have two versions of Visual Studio installed, VS 2022 and VS 2026. Currently, I am using a vcpkg instance compiled with the VS 2022 toolset and have enabled global integration by vcpkg integrate ...
0
votes
1
answer
99
views
Why is my projects runtime library MD when I configured it to use MT?
I have a pretty large codebase and I use Vcpkg. I was previously using /MD, but there were just too many DLLs being produced by Vcpkg, so I decided to switch to /MT.
For some reason, every project ...
0
votes
0
answers
51
views
Update port version of package in vcpkg Git registry
I'm making a custom vcpkg registry with a Git repository following this tutorial. I have successfully done everything save for step 6, which is not in the scope of this question. After finishing step ...
0
votes
1
answer
110
views
Visual Studio (vcxproj) vcpkg port use: add an extra include directory
I've got a vcpkg overlay port that needs its own include/MYLIBRARY folder to be added to the C++ include system paths. In CMake, I can do this easily by calling target_include_directories() for every ...
0
votes
1
answer
75
views
VTK link error with VCPKG in release config
I have linker errors when include VTK into C++ project via VCPKG.
Errors only in release configuration.
OS: windows 10,
Package manager : vcpkg,
Build system: cmake,
The compiler: MSVC 2022
VTK: ...
0
votes
1
answer
131
views
How do I find Boost date_time in CMake by using vcpkg?
I have vcpkg 2025-09-03 installed and CMake 4.1.2 installed.
Now I want to install Boost Date-Time
.\vcpkg.exe install boost-date-time
And check if boost-date-time is installed.
PS C:\Users\negrå\...
0
votes
0
answers
64
views
CMake with vcpkg: find_package(GTK4 REQUIRED CONFIG) fails — GTK4Config.cmake not found
I’m trying to build a simple GTK4 demo project with CMake and vcpkg. I'm on the macOS 15.6.1
vcpkg.json
{
"name": "gtk-demo",
"version": "1.0.0",
"...
0
votes
1
answer
358
views
vcpkg not finding packages
I've recently tried to use vcpkg to automatically install libraries to me, but I can't get it to work. I'm getting the error
vcpkg-manifest-install.log:
Fetching registry information from https://...
0
votes
0
answers
57
views
compiling OpenCV on linux generate error related to LibCap
I am trying to compile a simple application that uses OpenCV in Linux:
The CMAkeFile.txt is as follow:
cmake_minimum_required(VERSION 3.29)
# Enable vcpkg manifest mode
if(DEFINED ENV{VCPKG_ROOT})
...
1
vote
2
answers
182
views
cmake cannot find_package(OpenCV), OpenCV installed using VCPKG on linux
I have these files that try to build a simple application with OpenCV in Linux:
cmake_minimum_required(VERSION 3.29)
project(opencv_app)
# Enable C++17
set(CMAKE_CXX_STANDARD 17)
set(...
0
votes
1
answer
167
views
Building with VsBuildTools, using vcpkg in Docker
I am trying to set up a Windows Server-based CI to compile a VS project whose dependencies are managed by vcpkg; my container manager is Docker. I am using Window Server as a base (mcr.microsoft.com/...