Look for this file: VTKConfig.cmake<br><br>set VTK_DIR to the directory containing this file.<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 12:11 PM, Ronny Shalev <span dir="ltr">&lt;<a href="mailto:rys@case.edu" target="_blank">rys@case.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to implement the Step 1 example program provided with the 
VTK Examples.  I am using the cmake GUI to try and create a project but I
 keep getting the message:<br>
<br>
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/<div>FindVTK.cmake:135 (MESSAGE):<br>
VTK not found. Set the VTK_DIR cmake cache entry to the directory<br>
containing VTKConfig.cmake. This is either the root of the build tree, or<br>
PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of<br>
UseVTK.cmake. This is either the root of the build tree or<br>
PREFIX/include/vtk for an installation.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:6 (FIND_PACKAGE)<br>
<br>
<br>
I specified the VTK_DIR using all possible locations, but this message keeps returning and I cannot get started with VTK.<br>
<br>
My environment:<br>
Microsoft Visual Studio 10 (cmake does find it)<br>
VTK version 5.8.0 (installed under c:\Program Files\)<br>
Cmake version: 2.8.9 (also installed under c:\Program Files\) <br><br>I would greatly appreciate help in resolving this.<br>
<br>
Thanks for the help</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>