[vtkusers] Error warning when I install the VTK

Nie, Andrew (MU-Student) znhc5 at mail.missouri.edu
Mon Feb 15 23:24:23 EST 2016

Hi there,

This is Andrew Nie, a Ph.D student at University of Missouri. I have to use the VTK to reconstruct the 3D model. Now I am installing the VTK. But there is an error when I test an example that the website provides.

My OS is Windows 7 Ultimate, and VS version is VS 2015. First of all, I downloaded the VTK 7.0.0 and CMake 3.5.0. I used CMake to build the binaries. It was no errors. After then I used VS 2015 to build them successfully. It seems like I have installed the VTK 7.0.0. Finally, when I compile examples, there was an error warning. It is shown in below:

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:


  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 that?

Thank you very much.

Nie, Zhengwei Andrew
Ph.D Candidate
Mechanical & Aerospace Engineering
University of Missouri
znhc5 at mail.missouri.edu<mailto:znhc5 at mail.missouri.edu>

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

More information about the vtkusers mailing list