[Mesa-users] libOSMesa.so is missing during Mesa installation for ParaView off-screen Rendering
Ken Moffat
zarniwhoop at ntlworld.com
Sat Oct 5 12:10:18 PDT 2013
On Sat, Oct 05, 2013 at 07:22:46PM +0100, Oz Wizard wrote:
> I am trying to setup a Virtual Box for doing off-screen rendering with ParaView. I have Ubuntu 12.04 64-bit Server installed in the box. For setting up ParaView and Mesa I have followed the instructions the links below:
>
> http://www.paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_Software_Rendering_via_OSMesa
> http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D
> Installation of Mesa completes fine without and errors or warnings but when I try to build ParaView and try to configure it for off-screen rendering, it gives an error in the middle of the "make" complaining about missing "libOSMesa.so". I searched the whole machine but that file is not there. It seems like it didn't get installed.
> Am I supposed to install a library before building Mesa? How can I get that "libOSMesa.so" installed. Thanks for the help in advance.
Short, but perhaps inadequate, answer -
Add --enable-osmesa to your Mesa configure switches.
I've no real understanding of what paraview is, but I found that
second link very confusing and apparently contradictory. Some of it
looks out of date for current versions of Mesa (particularly,
--with-driver=xlib : I guess that --with-egl-platforms="x11" *might*
be the switch to use in 9.0 and later, but I've no idea if you need
other things there (on a a desktop I specify drm,x11), or if you
need any other--enable switches, or if you need to specify any
gallium drivers.
From memory, Mesa-7 used to try to build everything, so specifying
the driver was a way of cutting it down. With Mesa-{8,9} my
impression is that you may need to add extra switches to enable some
things (and the switches might differ for different versions).
Maybe paraview users can give you more guidance on configuring
recent versions of Mesa.
ĸen
--
das eine Mal als Tragödie, dieses Mal als Farce
More information about the mesa-users
mailing list