[vtkusers] OPENGL_INCLUDE_DIR error message

Maik Beckmann beckmann.maik at googlemail.com
Wed Dec 3 09:21:42 EST 2008


Am Mittwoch, 3. Dezember 2008 schrieb Levine, Zachary:
> I'm trying to install VTK on a RedHat enterprise Linux 5 system.  I have
> the binaries for cmake.2.6.2 installed.  The next step is to configure the
> system in the directory VTK-bin.  So I run
>
> ccmake ../VTK
>
> like it says on page 14 of The VTK User's Guide.
>
> I get an error
>
> CMake Error: The following variables are used in this project, but they are
> set to
>  NOTFOUND.
>  Please set them or make sure they are set and tested correctly in the
> CMake files:
>  OPENGL_INCLUDE_DIR (ADVANCED)
>
>
> So, the first question is: do I have openGL?
>
> Apparently so, because I found files: (some are links)
>
> /usr/lib/libGLU.so.1.3.060501  /usr/lib/libGLU.so.1
> /usr/lib/libGL.so.1            /usr/lib/libGL.so.1.2

You have the runtime part of OpenGL, but the development part is missing.  I'm 
not a redhat user, but I suggest you check which package owns 
/usr/lib/libGL.so.1 and install the related -devel package.

HTH,
 -- Maik



More information about the vtkusers mailing list