[vtkusers] Find Mangled Mesa
Berk Geveci
berk.geveci at gmail.com
Tue May 9 10:18:48 EDT 2006
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:
linux:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GL_LIB_NAME = MGL" \
"OSMESA_LIB_NAME = MOSMesa" \
"GL_LIB = libMGL.so" \
"GLU_LIB = libMGLU.so" \
"GLUT_LIB = libMglut.so" \
"GLW_LIB = libMGLw.so" \
"OSMESA_LIB = libMOSMesa.so" \
"CC = gcc" \
"CXX = g++" \
"CFLAGS = -DUSE_MGL_NAMESPACE -O3 -ansi -pedantic -fPIC -ffast-math
-D_P
OSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-DUSE_XSHM -D
PTHREADS -I/usr/X11R6/include" \
"CXXFLAGS = -DUSE_MGL_NAMESPACE -O3 -ansi -pedantic -fPIC
-ffast-math -
D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
-Berk
On 5/4/06, Kevin H. Hobbs <kevin.hobbs.1 at ohiou.edu> wrote:
>
> I just built Mesa-6.4.2 with the mgl name space. CMake does not find the
> Mesa library. ( It finds other things from the mgl build. I've got CMake
> variables to help it ) FindMangledMesa.cmake is looking for MesaGL. Mesa
> made libGL.so.
>
> Is this a failure of the name mangling or a recent change in Mesa?
>
> Can I just use this library?
>
> There are mgl symbols in libGL.so.
>
> nm ~/Mesa-6.4.2-mgl/lib/libGL.so
>
> 00192080 T mglAccum
> 001956a0 T mglActiveStencilFaceEXT
> 001970a0 T mglActiveTexture
> 001934a0 T mglActiveTextureARB
> ...
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQBEWhakqBtEuW+gRPERAt3oAJ4igRRmNhAn1MWOnLeWvJOeyekIKACfSPc8
> +PyOC5tKOHQnWWgl0iIKMbI=
> =2Wwr
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060509/5a44c29a/attachment.htm>
More information about the vtkusers
mailing list