# \#vcpkg

**URL:** https://forum.opencv.org/tag/vcpkg/415.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [OpenCV 4.12.0 CMake Shows freetype2: NO / harfbuzz: NO (vcpkg, VS2022, Windows 11)](https://forum.opencv.org/t/opencv-4-12-0-cmake-shows-freetype2-no-harfbuzz-no-vcpkg-vs2022-windows-11/23959)

<div class="topic-metadata">

**Author:** [@Hiroki\_Okamoto](https://forum.opencv.org/u/Hiroki_Okamoto)\
**Replies:** 1\
**Last updated:** [May 9, 2026, 1:06am UTC](https://forum.opencv.org/t/opencv-4-12-0-cmake-shows-freetype2-no-harfbuzz-no-vcpkg-vs2022-windows-11/23959 "2026-05-09T01:06:32Z")

</div>

OS: Windows 11 OpenCV version: 4.12.0 CMake GUI: 4.0.3 Generator: Visual Studio 17 2022 (x64) Compiler: MSVC (Visual Studio 2022) Architecture: x64 (Build type: (e.g. Release + Debug) – can add if needed) Goal: En…

---

## [Static linking with vcpkg installation](https://forum.opencv.org/t/static-linking-with-vcpkg-installation/24144)

<div class="topic-metadata">

**Author:** [@mjan](https://forum.opencv.org/u/mjan)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 9:02am UTC](https://forum.opencv.org/t/static-linking-with-vcpkg-installation/24144 "2025-10-24T09:02:57Z")

</div>

Hi, this might be one of those beginner questions you guys have seen alot already and you’re probably thinking: “why didn’t the guy just use the search function”, but I did and I couldn’t find a topic regarding both vcp…

---

## [Vcpkg and CLion: ximgproc cannot be found](https://forum.opencv.org/t/vcpkg-and-clion-ximgproc-cannot-be-found/23745)

<div class="topic-metadata">

**Author:** [@Mateusz\_PL](https://forum.opencv.org/u/Mateusz_PL)\
**Replies:** 2\
**Last updated:** [August 13, 2025, 11:27am UTC](https://forum.opencv.org/t/vcpkg-and-clion-ximgproc-cannot-be-found/23745 "2025-08-13T11:27:46Z")

</div>

Hi! I’m currently working on a project that uses OpenCV. I’m using CLion and Vcpkg to install OpenCV. I have a problem with ximgproc — CLion doesn’t recognize this directory, so I cannot access it, although it has no pro…

---

## [setUpNet DNN module was not built with CUDA backend; switching to CPU error](https://forum.opencv.org/t/setupnet-dnn-module-was-not-built-with-cuda-backend-switching-to-cpu-error/19010)

<div class="topic-metadata">

**Author:** [@random\_user3](https://forum.opencv.org/u/random_user3)\
**Replies:** 13\
**Last updated:** [October 20, 2024, 2:51pm UTC](https://forum.opencv.org/t/setupnet-dnn-module-was-not-built-with-cuda-backend-switching-to-cpu-error/19010 "2024-10-20T14:51:05Z")

</div>

Hello, I have a problem with the DNN module not being built with CUDA and therefore it using CPU for inference. I get the runtime error when trying to use CUDA as target and backend for loading a model using readNetFrom…
