[vtkusers] Fwd: cmake errors

John Drescher drescherjm at gmail.com
Tue Mar 30 09:15:17 EDT 2010


---------- Forwarded message ----------
From: John Drescher <drescherjm at gmail.com>
Date: Tue, Mar 30, 2010 at 9:14 AM
Subject: Re: [vtkusers] cmake errors
To: hajung lee <white2332 at gmail.com>


On Tue, Mar 30, 2010 at 1:39 AM, hajung lee <white2332 at gmail.com> wrote:
> Hi I tried to change the example Medical3.cxx
> so I edit the file but when I put cmake ., there is an error like that.
> I don't know why
>
> [hjlee at localhost Cxx]$ cmake .
> CMake Error at /home/hjlee/cmake/Modules/FindVTK.cmake:135 (MESSAGE):
>   VTK not found.  Set the 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.  For VTK 4.0, this is the location of
>   UseVTK.cmake.  This is either the root of the build tree or
>   PREFIX/include/vtk for an installation.
> Call Stack (most recent call first):
>
>

Did you build and install VTK?

If yes then run ccmake or cmake-gui and set VTK_DIR to the location
that VTK is installed.

John



More information about the vtkusers mailing list