[Paraview] Paraview 4.4.0 build error with osmesa on RHEL cluster at LLNL

Ben Boeckel ben.boeckel at kitware.com
Fri Oct 30 14:54:15 EDT 2015


On Fri, Oct 30, 2015 at 18:22:01 +0000, Cook, Rich wrote:
> I'm seeing an error when trying to build the latest Paraview using
> osmesa:
> 
> The configuration step goes OK.  In particular note that I set
> -DOPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so

I think with OSMesa, this should be empty. Here is what our superbuild
sets when using osmesa:

  -DOPENGL_INCLUDE_DIR:PATH=
  -DOPENGL_xmesa_INCLUDE_DIR:PATH=
  -DOPENGL_gl_LIBRARY:FILEPATH=
  -DOPENGL_glu_LIBRARY:FILEPATH=
  -DOSMESA_INCLUDE_DIR:PATH=<INSTALL_DIR>/include
  -DOSMESA_LIBRARY:FILEPATH=<INSTALL_DIR>/lib/libOSMesa.so

Where <INSTALL_DIR> is /usr on a system-installed mesa. You can also use
libOSMesa.a for a static mesa.

--Ben


More information about the ParaView mailing list