[vtkusers] Begineer Question

Brandon Lin brandon.lin at gmail.com
Sat Apr 7 04:32:00 EDT 2007


Dear VTK experts,

I'm new to VTK and CMake, so please bear with me.

I am trying to build my very first VTK application.
First I ran CMake, I have
C:\Program Files\VTKSource\Examples\Tutorial\Step1\Cxx as my source code dir
and
C:\Program Files\VTK Source\Examples\Tutorial\Step1\Cxx\bin as my binary
dir.

Configure...
I got a pop-up window giving me the following error:
"CMake Error: VTK not found.  Set the VTK_DIR make cache registry to the
directory containing VTKConfig.cmake.  ... "

I then went OK, then changed my VTK_DIR value to C:/Program
Files/VTKSource.
Configure...
I got exactly the same error.

C:/Program Files/VTKSource is where I unzipped my VTK package.  In the
directory, I have VTKConfig.cmake.in and vtkGenerateVTKConfig.cmake, but I
don't have VTKConfig.cmake.
Is this the problem?

Any help or hint will be greatly appreciated.


Best Regards,
Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070407/4d42b9af/attachment.htm>


More information about the vtkusers mailing list