[vtkusers] Why there is no FindVTK.cmake in CMAKE_MODULE_PATH

Nie, Andrew (MU-Student) znhc5 at mail.missouri.edu
Fri Feb 26 21:35:40 EST 2016


Hi there,


I used CMake 3.5.0 and VS 2013 to build VTK 7.0.0. Why there is no FindVTK.cmake in C:\MyVTKProjects\VTK-7.0.0\VTK-bin\lib\cmake\vtk-7.0\Modules. All of examples of VTK cannot work because no FindVTK.cmake.


CMake Error at CMakeLists.txt:6 (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.

How can I deal with this problem? Really appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160227/da5427af/attachment.html>


More information about the vtkusers mailing list