Re: [Paraview] [paraview] compiling Mesa with paraview

2010-10-15 Thread Joshua Wu
I tried your configuration for 7.5.2 I also included the OPENGL_gl_LIBRARY in my configuration since if I don't include OPENGL_gl_LIBRARY, I would get the same error this is what I'm getting --- Scanning dependencies of target PSLACReaderLinear [ 46%] [ 46%] Built target DistributedData Built

Re: [Paraview] [paraview] compiling Mesa with paraview

2010-10-15 Thread Dave Partyka
Hi Josh, Just to confirm, do you want to build with off screen or on screen rendering? If you want off screen then you cannot link to libGL and you need to leave OPENGL_gl_LIBRARY blank (I believe because all of the GL symbols are then included in libOSMesa). Also you need to build Mesa as Kevin

[Paraview] [paraview] compiling Mesa with paraview

2010-10-14 Thread Joshua Wu
I'm recently started to install paraview on a new machine, OS is Ubuntu, a 64 bit machine. Mesa itself is built smoothly and my cmake configuration is the same as I built before (I successfully built Mesa with PV many times), I've tried three versions of Mesa to be integrated into PV, 7.9, 7.6.1

Re: [Paraview] [paraview] compiling Mesa with paraview

2010-10-14 Thread Dave Partyka
Hi Joshua, The best way to configure paraview with OSMesa is to use the following settings. VTK_USE_X : OFF OPENGL_gl_LIBRARY : leave this blank OPENGL_glu_LIBRARY: to osmesa's libGLU.so. OSMESA_LIBRARY : /usr/lib64/libOSMesa.so VTK_OPENGL_HAS_OSMESA : ON VTK_USE_MANGLED_MESA : OFF

Re: [Paraview] [paraview] compiling Mesa with paraview

2010-10-14 Thread Kevin H. Hobbs
On 10/14/2010 10:13 AM, Joshua Wu wrote: I'm recently started to install paraview on a new machine, OS is Ubuntu, a 64 bit machine. Mesa itself is built smoothly and my cmake configuration is the same as I built before (I successfully built Mesa with PV many times), I've tried three versions

Re: [Paraview] [paraview] compiling Mesa with paraview

2010-10-14 Thread Berk Geveci
Just a comment: If you are building ParaView for desktop use, do not set OSMESA (i.e. set VTK_OPENGL_HAS_OSMESA to OFF). Set OPENGL_gl_LIBRARY to Mesa's GL library. If you are building ParaView for server use (only) and you want offscreen rendering support, follow Dave's instructions. After