# CMakeLists Doesn't Find Version

**URL:** https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143
**Category:** Support
**Created:** [November 10, 2021, 7:32pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143 "2021-11-10T19:32:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![daredevil71120](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@daredevil71120](https://discourse.vtk.org/u/daredevil71120)
#### Post date: [November 10, 2021, 7:32pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/1 "2021-11-10T19:32:13Z")

</div>

Hello,

I am trying to compile VTK through CMake on Windows. I keep getting this error:

"CMake Error at CMakeLists.txt:18 (include):  
include could not find requested file:

```
VTKDetermineVersion

```

CMake Error at CMakeLists.txt:19 (include):  
include could not find requested file:

```
vtkVersion

```

CMake Error at CMakeLists.txt:22 (determine\_version):  
Unknown CMake command “determine\_version”.

Does anyone have a solution for this?

---

<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: [November 10, 2021, 10:43pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/2 "2021-11-10T22:43:19Z")

</div>

What version of VTK? Where did you get the source from?

---

<div class="post-metadata">

### Author: ![daredevil71120](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@daredevil71120](https://discourse.vtk.org/u/daredevil71120)
#### Post date: [November 11, 2021, 1:17pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/3 "2021-11-11T13:17:23Z")

</div>

Version 9.1.0. I got the source from the VTK website download page.

---

<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: [November 11, 2021, 3:20pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/4 "2021-11-11T15:20:14Z")

</div>

The source tarball has these files. Could you please give specific instructions for what led to these errors?

---

<div class="post-metadata">

### Author: ![daredevil71120](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@daredevil71120](https://discourse.vtk.org/u/daredevil71120)
#### Post date: [November 12, 2021, 3:00pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/5 "2021-11-12T15:00:23Z")

</div>

I created a source folder that had VTK 9.1.0 in it and then I created a build folder. When I run CMake it works until it hits the CMakelist error I listed above.

---

<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: [November 15, 2021, 8:38pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/6 "2021-11-15T20:38:32Z")

</div>

The source I downloaded here worked just fine. Do you have specific commands I could run to reproduce the behavior (including downloading and extracting the source)?

---

<div class="post-metadata">

### Author: ![daredevil71120](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@daredevil71120](https://discourse.vtk.org/u/daredevil71120)
#### Post date: [November 16, 2021, 7:05pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143/7 "2021-11-16T19:05:44Z")

</div>

Hello! I ended up reinstalling VTK and the problem resolved itself. I believe that during installation, it must not have downloaded all of the files. Thank you for your help!
