[Paraview] More cmake issues on Compaq Alpha OSF1

Joel Welling welling at stat.cmu.edu
Mon Aug 23 20:25:14 EDT 2004


Hi folks;
  I'm building ParaView on a Compaq Alpha under OSF1 using MPI and OSMesa.  My 
settings for the various CMAKE MESA lines are:

OPENGL_INCLUDE_DIR /usr/local/packages/paraview/Mesa/include
OPENGL_gl_LIBRARY /usr/local/packages/paraview/Mesa/lib/libGL.a
OPENGL_glu_LIBRARY /usr/local/packages/paraview/Mesa/lib/libGLU.a
OPENGL_xmesa_INCLUDE_DIR /usr/local/packages/paraview/Mesa/include
OSMESA_INCLUDE_DIR /usr/local/packages/paraview/Mesa/include
OSMESA_LIBRARY /usr/local/packages/paraview/Mesa/lib/libOSMesa.a

Unfortunately my make is failing because cmake constructs Makefiles for which 
the command line places -lGL before -lOSMesa.  libOSMesa refers to entry 
points in libGL not needed elsewhere, and the linker is too stupid to look 
backwards up its lib list to resolve the missing entry points.  I'm able to 
work around the problem by manually editing the Makefiles to swap the order of 
the libs.  This is happening in the VTK/whatever/Testing/Cxx directories, 
where 'whatever' is  Graphics, Imaging, Rendering, Hybrid, or Parallel.  There 
may be other directories as well, but Parallel is as far as my build has made 
it.

Thanks,
-Joel
 welling at psc.edu



More information about the ParaView mailing list