I am trying to learn VTK by starting with going over the tutorial Step1 using cmake. However, cmake does not work for me: I keep getting the message:
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:135 (MESSAGE):
VTK not found. Set the VTK_DIR cmake cache entry to the directory
containing VTKConfig.cmake. This is either the root of the build tree, or
PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of
UseVTK.cmake. This is either the root of the build tree or
PREFIX/include/vtk for an installation.
Call Stack (most recent call first):
I specified the VTK_DIR using all possible locations, but this message keeps returning and I cannot get started.
Microsoft Visual Studio 10 (cmake does find it)
VTK version 5.8.0 (installed under c:\Program Files\)
Cmake version: 2.8.9 (also installed under c:\Program Files\)