Francois,

Thank you for the answer. After "--enable-osmesa" the ParaView installed fine 
and now I have "libOSMesa.so" file.

But now I am having a different problem. When I try to run the command 
"paraview" in the terminal, it gives the error below:

The program 'paraview' is currently not installed.  You can install it by 
typing:
sudo apt-get install paraview

I tried to add the line "source 
/home/...../...../projects/ParaView-bin/bin/paraview" but it didn't help.

cmake -D PARAVIEW_BUILD_QT_GUI:BOOL=OFF -D VTK_USE_X:BOOL=OFF -D 
VTK_OPENGL_HAS_OSMESA:BOOL=ON -D 
OPENGL_INCLUDE_DIR:PATH=$HOME/projects/Mesa-9.1.6/include -D 
OPENGL_gl_LIBRARY:PATH=  -D 
OPENGL_glu_LIBRARY:FILEPATH=/usr/local/lib/libGLU.so -D 
OSMESA_INCLUDE_DIR:PATH=$HOME/projects/Mesa-9.1.6/include -D 
OSMESA_LIBRARY:FILEPATH=/usr/local/lib/libOSMesa.so 
$HOME/projects/ParaView-v4.0.1-source


Am I getting this error because of the settings above that I have chosen? The 
Linux box I am using is headless so there is no GUI.

Thank you very much for the help again
Oz


________________________________
 From: Francois Bissey <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Sunday, 6 October 2013, 4:49
Subject: Re: [Paraview] libOSMesa.so is missing during Mesa installation for 
ParaView off-screen Rendering
 

On 06/10/13 07:11, 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.
> 
> 

Did you configure Mesa with "--enable-osmesa"? It is turned off by default.

Francois

_______________________________________________
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
_______________________________________________
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

Reply via email to