# VTK + OpenCV

**URL:** https://discourse.vtk.org/t/vtk-opencv/16172
**Category:** Support
**Created:** [December 4, 2025, 5:05pm UTC](https://discourse.vtk.org/t/vtk-opencv/16172 "2025-12-04T17:05:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![robot105](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/ce73a5/32.png) [@robot105](https://discourse.vtk.org/u/robot105)
#### Post date: [December 4, 2025, 5:05pm UTC](https://discourse.vtk.org/t/vtk-opencv/16172/1 "2025-12-04T17:05:00Z")

</div>

I want to install VTK on my Windows to use OpenCV, I download the vtk-master.zip and unpack and cmake it , when I cmake the OpenCV and direct the directionary of the VTKConfig.cmake, it reports VTK support is disabled. Compilation of the sample code has failed.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [December 5, 2025, 9:28am UTC](https://discourse.vtk.org/t/vtk-opencv/16172/2 "2025-12-05T09:28:26Z")

</div>

Looks like you need to build VTK: [Building - VTK documentation](https://docs.vtk.org/en/latest/build_instructions/index.html)
