[vtkusers] VTK3.1 - Problems with building an application
Christian Hagen
hagen at tu-harburg.de
Tue Nov 5 09:12:16 EST 2002
Hello VTK Gurus!
I am trying to re-animate a C++ application that was developed at our
department several years ago, using VTK3.1. Thus I am using this "old"
version of VTK. The application also needs Tcl Wrapping.
When building VTK (with Tcl), no error messages occured.
Now I'm trying to build the application, using gmake on a SuSE-Linux 8 system.
Compilation works fine, but the linker gives the following error messages that
are associated to VTK.
Can anybody tell me what I am doing wrong?
Thank you very much!
Linker Output:
/daten/dynafem> gmake
g++ -I/usr/X11/include -Ih -I/daten/usr/vtk31/common
-I/daten/usr/vtk31/imaging -I/daten/usr/vtk31/contrib
-I/daten/usr/vtk31/graphics -I/daten/usr/vtk31/patented
-L/daten/usr/vtk31/tcl -o dynafem IMmove____.o IMwichtung.o IMdefs____.o
IMmatrix__.o IMghmat_sp.o IMassem_sp.o IMghmat_pl.o IMassem_pl.o IMghmat_cy.o
IMassem_cy.o IMghmatrix.o IMassemble.o IMfundalsg.o IMelements.o IMelem2___.o
IMnodes___.o IMghmat_ba.o IMinput___.o header.o gauss.o pivot.o function.o
iofunc__.o \
element0.o element1.o element2.o element3.o element4.o element5.o element6.o
element7.o element8.o element9.o belement.o influenc.o main.o graphics.o
sparse.o -lGLU -lGL -lm -lXext -lXt -lX11 -lVTKGraphics -lVTKGraphicsTcl
-lVTKCommon -lVTKCommonTcl -lVTKImaging -lVTKImagingTcl -lpthread -ltcl8.3
-ltk8.3 -L/daten/usr/vtk31/common -L/daten/usr/vtk31/imaging
-L/daten/usr/vtk31/contrib -L/daten/usr/vtk31/graphics
-L/daten/usr/vtk31/patented -L/daten/usr/vtk31/tcl -L/usr/X11R6/lib
-L/usr/lib
/daten/usr/vtk31/graphics/libVTKGraphics.a(vtkMesaRenderWindow.o): In function
`vtkMesaRenderWindow::~vtkMesaRenderWindow(void)':
vtkMesaRenderWindow.o(.text+0x8dd): undefined reference to
`OSMesaDestroyContext'
/daten/usr/vtk31/graphics/libVTKGraphics.a(vtkMesaRenderWindow.o): In function
`vtkMesaRenderWindow::WindowInitialize(void)':
vtkMesaRenderWindow.o(.text+0x16dc): undefined reference to
`OSMesaCreateContext'
/daten/usr/vtk31/graphics/libVTKGraphics.a(vtkMesaRenderWindow.o): In function
`vtkMesaRenderWindow::WindowRemap(void)':
vtkMesaRenderWindow.o(.text+0x2107): undefined reference to
`OSMesaDestroyContext'
/daten/usr/vtk31/graphics/libVTKGraphics.a(vtkMesaRenderWindow.o): In function
`vtkMesaRenderWindow::SetSize(int, int)':
vtkMesaRenderWindow.o(.text+0x2207): undefined reference to
`OSMesaDestroyContext'
[and several hundred more lines similar to these ...]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Christian Hagen
- Mechanics und Ocean Engineering -
Technical University Hamburg-Harburg
Hamburg, Germany
<mailto: hagen at tu-harburg.de>
www.mum.tu-harburg.de
More information about the vtkusers
mailing list