# Build opencv\_cvv and opencv\_world failed

**URL:** <https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534>\
**Category:** C++\
**Tags:** qt, windows, build, contrib, cvv\
**Created:** [March 16, 2025, 3:41am UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534 "2025-03-16T03:41:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WWjh](https://avatars.discourse-cdn.com/v4/letter/w/7ab992/32.png) [@WWjh](https://forum.opencv.org/u/WWjh)\
**Post date:** [March 16, 2025, 3:41am UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534/1 "2025-03-16T03:41:31Z")

</div>

my version is opencv-4.9.0,so is the opencv\_contrib;build in VS2022，Qt version is 5.14.0;  
It will build failed when I both check “Build\_opencv\_world” and “Build\_opencv\_cvv”。the compiler give link errors inthe picture;

 ![D6H4l](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/9/9fee75d52b067dd682315db107cbedbd73c4b4a3.png)

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [March 16, 2025, 8:33am UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534/2 "2025-03-16T08:33:07Z")

</div>

is that the Qt version for MSVC, or for MinGW?

---

<div class="post-metadata">

**Author:** ![WWjh](https://avatars.discourse-cdn.com/v4/letter/w/7ab992/32.png) [@WWjh](https://forum.opencv.org/u/WWjh)\
**Post date:** [March 16, 2025, 9:18am UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534/3 "2025-03-16T09:18:09Z")

</div>

Qt version is for MSVC,2017\_64

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [March 16, 2025, 5:34pm UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534/4 "2025-03-16T17:34:14Z")

</div>

that’s the source tree for `cvv`: [History for modules/cvv - opencv/opencv\_contrib · GitHub](https://github.com/opencv/opencv_contrib/commits/4.x/modules/cvv)

it’s on terminal life support. expect it to not work at all. if it does, you’re lucky.

anyway, “unresolved external” is a common error when trying to compile and link C++ programs.

it’s not even complaining about Qt itself, but about “qtutil”, which seems to be part of `cvv`.

check the cmake variables. cmake-gui helps with that. make sure your build actually found the Qt libraries.

browse the issues too: [GitHub · Where software is built](https://github.com/opencv/opencv_contrib/issues?q=is%3Aissue%20label%3A%22category%3A%20cvv%22%20)

if you don’t need `cvv`, just disable it from cmake-gui. look for variables containing `cvv` and see what you can uncheck.

---

<div class="post-metadata">

**Author:** ![WWjh](https://avatars.discourse-cdn.com/v4/letter/w/7ab992/32.png) [@WWjh](https://forum.opencv.org/u/WWjh)\
**Post date:** [March 17, 2025, 1:53am UTC](https://forum.opencv.org/t/build-opencv-cvv-and-opencv-world-failed/20534/5 "2025-03-17T01:53:06Z")

</div>

I have checked cmake variables and that Qt path can be found.  
It occurs when I both check “Build\_opencv\_world” and “Build\_opencv\_cvv” in cmake-gui.  
Seems like that the link don’t have similar issue i have,Thanks a lot!!!
