[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] (no subject)
From:       "Fucang Jia" <jiafucang () hotmail ! com>
Date:       2003-03-31 5:18:35
Message-ID: F66ulWYZx9V94DX0mFH00010d75 () hotmail ! com
[Download RAW message or body]

Hi everyone,

I want to do animation using OffScreenRendering by MangledMesa. I compiled 
Mesa-5.0.1 by "configure;make" and then compile vtk, compiler says:

...............
Building executable /data2/vtk421/VTK421-bin/bin/vtk...
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglLightModelfv'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglXCreateContext'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglColor3f'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglRasterPos2f'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglCullFace'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglLineWidth'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglGetString'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglReadBuffer'
/data2/vtk421/VTK421-bin/bin/libvtkftgl.so: undefined reference to 
`mglPopClientAttrib'
/data2/vtk421/VTK421-bin/bin/libvtkRendering.so: undefined reference to 
`mglOrtho'
----snipped-----

I think this is because Mesa bluid into libGL.so(a), but no libMGL.a as 
described in Examples/MangledMesa/README
Berk once said that there needs a special option to build mangled mesa. But 
I do not know.

Which option should be used to build mangled mesa?

I am working on Redhat Linux 8.0, gcc 3.2, Mesa-5.0.1, 
VTK-4.2.1-latest.tar.gz.

Thank you very much!

Regards,

Fucang

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic