We had issues with mangling newer Mesa libs. I don't know when but mangling broke in Mesa at one point. I recommend using Mesa 6.0. As for the name of the GL library created by Mesa, you should be able to set it. This is done by editing Make-config, I believe. Here is what I have in my Make-config:
<br><br>linux:<br> $(MAKE) $(MFLAGS) -f Makefile.X11 targets \<br> "GL_LIB_NAME = MGL" \<br> "OSMESA_LIB_NAME = MOSMesa" \<br> "GL_LIB = libMGL.so" \<br> "GLU_LIB =
libMGLU.so" \<br> "GLUT_LIB = libMglut.so" \<br> "GLW_LIB = libMGLw.so" \<br> "OSMESA_LIB = libMOSMesa.so" \<br> "CC = gcc" \<br> "CXX = g++" \
<br> "CFLAGS = -DUSE_MGL_NAMESPACE -O3 -ansi -pedantic -fPIC -ffast-math -D_P<br>OSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -D<br>PTHREADS -I/usr/X11R6/include" \<br> "CXXFLAGS = -DUSE_MGL_NAMESPACE -O3 -ansi -pedantic -fPIC -ffast-math -
<br>D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \<br><br>-Berk<br><br><div><span class="gmail_quote">On 5/4/06, <b class="gmail_sendername">Kevin H. Hobbs</b> <<a href="mailto:kevin.hobbs.1@ohiou.edu">
kevin.hobbs.1@ohiou.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I just built Mesa-6.4.2 with the mgl name space. CMake does not find the
<br>Mesa library. ( It finds other things from the mgl build. I've got CMake<br>variables to help it ) FindMangledMesa.cmake is looking for MesaGL. Mesa<br>made libGL.so.<br><br>Is this a failure of the name mangling or a recent change in Mesa?
<br><br>Can I just use this library?<br><br>There are mgl symbols in libGL.so.<br><br>nm ~/Mesa-6.4.2-mgl/lib/libGL.so<br><br>00192080 T mglAccum<br>001956a0 T mglActiveStencilFaceEXT<br>001970a0 T mglActiveTexture<br>001934a0 T mglActiveTextureARB
<br>...<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.3 (GNU/Linux)<br><br>iD8DBQBEWhakqBtEuW+gRPERAt3oAJ4igRRmNhAn1MWOnLeWvJOeyekIKACfSPc8<br>+PyOC5tKOHQnWWgl0iIKMbI=<br>=2Wwr<br>-----END PGP SIGNATURE-----
<br><br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br></blockquote></div><br>