# error

**URL:** https://discourse.vtk.org/t/error/1936
**Category:** Support
**Tags:** proposal
**Created:** [October 16, 2019, 1:08pm UTC](https://discourse.vtk.org/t/error/1936 "2019-10-16T13:08:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kingming](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@kingming](https://discourse.vtk.org/u/kingming)
#### Post date: [October 16, 2019, 1:08pm UTC](https://discourse.vtk.org/t/error/1936/1 "2019-10-16T13:08:53Z")

</div>

CMake Error at CMakeLists.txt:4 (FIND\_PACKAGE):  
By not providing “FindVTK.cmake” in CMAKE\_MODULE\_PATH this project has  
asked CMake to find a package configuration file provided by “VTK”, but  
CMake did not find one.

Could not find a package configuration file provided by “VTK” with any of  
the following names:

```
VTKConfig.cmake
vtk-config.cmake

```

Add the installation prefix of “VTK” to CMAKE\_PREFIX\_PATH or set “VTK\_DIR”  
to a directory containing one of the above files. If “VTK” provides a  
separate development package or SDK, be sure it has been installed.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [October 16, 2019, 1:19pm UTC](https://discourse.vtk.org/t/error/1936/2 "2019-10-16T13:19:46Z")

</div>

There’s a lot of missing information here. What are you trying to do? You need to pass `-DVTK_DIR` to CMake during configuration to tell it where your VTK is located. Did you install that VTK? What version is it?
