[vtkusers] Compilation problem

Bill Oliver billo at radix.net
Tue Jul 19 08:44:51 EDT 2005


On Tue, 19 Jul 2005, David Cole wrote:

> Did you set the OPENGL_* variables appropriately for Mesa when you ran ccmake 
> to configure?
> Did you build Mesa yourself or did it come with your Linux?
>
> Something along these lines should end up in your CMakeCache.txt when using 
> Mesa:
> OPENGL_INCLUDE_DIR:PATH=/home/david/Mesa-6.2.1/include
> OPENGL_gl_LIBRARY:FILEPATH=/home/david/Mesa-6.2.1/lib/libGL.so
> OPENGL_glu_LIBRARY:FILEPATH=/home/david/Mesa-6.2.1/lib/libGLU.so
> OPENGL_xmesa_INCLUDE_DIR:PATH=/home/david/Mesa-6.2.1/include
>
> I'm not a Linux expert, so I can't speak to specifics, but you should be able 
> to build VTK with or without Mesa and get it work... Perhaps somebody else 
> will chime in with some more hints if this doesn't do the trick...
>
> HTH,
> David

Yeah, all that is set -- and it compiles and runs when I compile without osmesa 
support (I did it last night).  The rest of the gl stuff seems to be
fine.

I used the Mandrake rpms.

Thanks for the suggestion.

billo



More information about the vtkusers mailing list