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. <biddi...@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. >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview