Hello Dear members, I am a newbie to VTK and CMake. As the subject states, my problems deals with the CMake error indicating about the non availability of VTKConfig.cmake file. <br><br>Precisely, I am doing following: <br>
1. Installed VTK and Cmake in separate directories. <br>2. Followed instructions as given on <a href="http://www.vtk.org">www.vtk.org</a>.<br>3. I am trying to run examples.Source files being Cxx. (Note ,I am able to run tcl script files directly with VTK)<br>
4. When I choose source and build directories, and press Configure then following message appears:<br>"<b>Cmake Error: VTK not found.Set 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"<br>
<br></b>I have searched all directories of the installation but no success. All I can see files that have similar names viz: <br>vtkGenerateVTKConfig.cmake <br><a href="http://vtkConfigure.h.in">vtkConfigure.h.in</a><br><a href="http://VTKConfig.cmake.in">VTKConfig.cmake.in</a><br>
<br>5. As a hit and trial , I removed extension "in" from the last file( as above) to make it VKConfig.cmake but no success. <br>6. I was able to run Hello World example with CMake. <br>7. Kindly guide me.<br>(PS: since the archive is huge, I have not searched every post) If this post is new please answer else give the reference ( link) of archived mail if already asked before.<br>
Thank you.<br><br>