[vtkusers] Linker Problem with Mesa (XFree 4.0)

Fabian Härle fabian.haerle at web.de
Tue Oct 23 06:38:48 EDT 2001


Hi,

I just installed XFree 4.0 on my Suse Linux system. XFree 4.0 included a new Mesa version. Now I get the following errors when compiling the VTK Cone example:

/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::~vtkMesaRenderWindow(void)':
vtkMesaRenderWindow.o(.text+0xabf): undefined reference to `OSMesaDestroyContext'
/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::WindowInitialize(void)':
vtkMesaRenderWindow.o(.text+0x1f06): undefined reference to `OSMesaCreateContext'
/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::WindowRemap(void)':
vtkMesaRenderWindow.o(.text+0x2e39): undefined reference to `OSMesaDestroyContext'
/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::SetSize(int, int)':
vtkMesaRenderWindow.o(.text+0x2f2e): undefined reference to `OSMesaDestroyContext'
/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::MakeCurrent(void)':
vtkMesaRenderWindow.o(.text+0x3e9c): undefined reference to `OSMesaMakeCurrent'
/usr/local/lib/libVTKGraphics.a(vtkMesaRenderWindow.o): In function `vtkMesaRenderWindow::SetOffScreenRendering(int)':
vtkMesaRenderWindow.o(.text+0x45a4): undefined reference to `OSMesaDestroyContext'
collect2: ld returned 1 exit status

The new Mesa version seems not to have a "OSMesaDestroyContext"-method...

How can I solve this Problem? 

Thanx a lot,

Fabian

_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName at web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de





More information about the vtkusers mailing list