[vtkusers] vtk installation error(LINUX)

Alexander MacLennan alex.maclennan at gmail.com
Tue May 27 02:18:33 EDT 2008


Hi Deepak,

You need to tell cmake where the include ( .h )  and libraries are ( .so
etc.. ) files are so it can create the build scripts

for example:

opengl_gl_library will be the full path to libGL.so  e.g.
/usr/X11R6/lib/libGL.so
opengl_include_dir will be the name of the directory that contains the
header files used by opengl   e.g. /usr/include/GL .. or even /usr/include

You'll need to do the same for python and tk

alex




On Tue, May 27, 2008 at 2:03 PM, Deepak Tiwari <vtoolkit at gmail.com> wrote:

> Hello,
>
> I am installing vtk on Linux. I am getting the following error when I do
> the initial configuration. I am not quiet sure what this means.
>
>  CMake Error: This project requires some variables to be set,
>  and cmake can not find them.
>  Please set the following variables:
>  OPENGL_INCLUDE_DIR (ADVANCED)
>  OPENGL_gl_LIBRARY (ADVANCED)
>  PYTHON_INCLUDE_PATH
>  PYTHON_LIBRARY
>  TK_INCLUDE_PATH (ADVANCED)
>
> Thanks,
>
> ~D
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080527/d4d70b86/attachment.htm>


More information about the vtkusers mailing list