[Paraview] Compiling without X11 libraries

pat marion pat.marion at kitware.com
Thu Feb 25 10:25:15 EST 2010


Hi John,

Search for VTK_USE_OSMESA in VTK/Rendering/vtkGraphicsFactory.cxx.  Then
look at $build_dir/VTK/vtkToolkits.h to see what is required for
VTK_USE_OSMESA to be defined.

Pat

On Thu, Feb 25, 2010 at 10:14 AM, Biddiscombe, John A. <biddisco at cscs.ch>wrote:

>  Pat
>
>
>
> I don’t quite understand that bit below. In what way does cmake care what
> openGL is being used? I have in the past simply created a symlink libGL
> which points to libOSMesa – this got rid of glx issues when I was
> experimenting – but what does CMake ‘do’ that is causing a problem? (I mean
> how does CMake checking for real GL instead of OSMesa affect anything?)
>
>
>
> JB
>
>
>
> Unfortunately you can't just set libOSMesa.so in place of libGL.so (setting
> OPENGL_gl_LIBRARY in cmake) because cmake uses the OPENGL_gl_LIBRARY
> variable to check for the existance of real opengl versus osmesa.  So that's
> why I said to set OPENGL_gl_LIBRARY to the empty string.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100225/394bddd3/attachment.htm>


More information about the ParaView mailing list