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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(MAKE) $(MFLAGS) -f Makefile.X11 targets \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GL_LIB_NAME = MGL&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;OSMESA_LIB_NAME = MOSMesa&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GL_LIB = libMGL.so&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GLU_LIB = 
libMGLU.so&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GLUT_LIB = libMglut.so&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;GLW_LIB = libMGLw.so&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;OSMESA_LIB = libMOSMesa.so&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;CC = gcc&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;CXX = g++&quot; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;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&quot; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;CXXFLAGS =&nbsp; -DUSE_MGL_NAMESPACE -O3 -ansi -pedantic -fPIC -ffast-math -
<br>D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE&quot; \<br><br>-Berk<br><br><div><span class="gmail_quote">On 5/4/06, <b class="gmail_sendername">Kevin  H. Hobbs</b> &lt;<a href="mailto:kevin.hobbs.1@ohiou.edu">
kevin.hobbs.1@ohiou.edu</a>&gt; 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>