Hi Gerrit,

The code on the Wiki has been tested with PV 4.0.0, but it sounds like it no longer works. The issue is that if you do not put *something in the GL library then CMake will fill it in with the system libGL. That is the wrong thing to do when using OSMesa and can lead to run time issues if you don't set LD_LIBRARY_PATH. In recent builds I've been putting libOSMesa in place of the empty string and that has worked. We can update the Wiki, however the real solution will be to remove linking of libGL and X11 libraries when using OSMesa.

Burlen

On 9/26/2014 7:49 AM, Gerrit Laube wrote:
Hi Paraview Users, developers or wiki-maintainers (whoever that is),

not sure, who's editing the paraview-wiki, but I think, I came across a problematic statement on the OSMesa-page:

here
http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D
in chapter "Configuring ParaView for use with OSMesa" it says:
...
-DOPENGL_gl_LIBRARY=\"\" \
...
but here
http://www.paraview.org/pipermail/paraview/2013-November/029961.html
it says, that you should avoid empty quotes in this variable. I experienced similar problems and i think
...
-DOPENGL_gl_LIBRARY= \
...
finally fixed it. You might want to correct or mention this issue in the wiki.

Regards!

Gerrit
_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

Reply via email to