[vtkusers] vtk4.0 installation failed on linux ????

Song Li lisong at vrac.iastate.edu
Tue Jun 4 21:12:03 EDT 2002


Hi,
  Does anybody has the same experience :
   I installed VTK4.0 using cmake, most variables are defualt , except
disable test,the installation seems just fine, but when I compiling my
own code have vtk function, the result is like :
-----------------------------------------------------------------------------------

g++ -DHAVE_CONFIG_H -LANG:std -g -O2
-I/home/users/lisong/vtk/linux/VTK/.
-I/home/users/lisong/vtk/linux/VTK/Graphics
-I/home/users/lisong/vtk/linux/VTK/Filtering
-I/home/users/lisong/vtk/linux/VTK/Common
-I/home/users/lisong/vtk/linux/VTK/Hybrid
-I/home/users/lisong/vtk/linux/VTK/Imaging
-I/home/users/lisong/vtk/linux/VTK/IO
-I/home/users/lisong/vtk/linux/VTK/Rendering
-I/home/users/lisong/vtk/linux/VTK/Parallel
-I/home/users/lisong/vtk/linux/VTK/Patented -LANG:std -c ./cfdApp.cxx
g++ -DHAVE_CONFIG_H -LANG:std -g -O2
-I/home/users/lisong/vtk/linux/VTK/.
-I/home/users/lisong/vtk/linux/VTK/Graphics
-I/home/users/lisong/vtk/linux/VTK/Filtering
-I/home/users/lisong/vtk/linux/VTK/Common
-I/home/users/lisong/vtk/linux/VTK/Hybrid
-I/home/users/lisong/vtk/linux/VTK/Imaging
-I/home/users/lisong/vtk/linux/VTK/IO
-I/home/users/lisong/vtk/linux/VTK/Rendering
-I/home/users/lisong/vtk/linux/VTK/Parallel
-I/home/users/lisong/vtk/linux/VTK/Patented -c ./cfdDataSet.cxx
g++ -DHAVE_CONFIG_H -LANG:std -g -O2
-I/home/users/lisong/vtk/linux/VTK/.
-I/home/users/lisong/vtk/linux/VTK/Graphics
-I/home/users/lisong/vtk/linux/VTK/Filtering
-I/home/users/lisong/vtk/linux/VTK/Common
-I/home/users/lisong/vtk/linux/VTK/Hybrid
-I/home/users/lisong/vtk/linux/VTK/Imaging
-I/home/users/lisong/vtk/linux/VTK/IO
-I/home/users/lisong/vtk/linux/VTK/Rendering
-I/home/users/lisong/vtk/linux/VTK/Parallel
-I/home/users/lisong/vtk/linux/VTK/Patented -c ./cfdIsosurface.cxx
g++ -Bdynamic -LANG:std -o project cfdApp.o cfdDataSet.o
cfdIsosurface.o  -L/usr/X11R6/lib -L/home/users/lisong/vtk/linux/VTK/bin
-L/usr/lib -L/usr -lvtkGraphics -lvtkCommon -lvtkFiltering
-lvtkRendering -lGLU -lGL -lXext -lX11 -lXmu -lXt  -lm

......

/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:79:
undefined reference to `vtkProp::GetRedrawMTime(void)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:80:
undefined reference to `vtkProp::GetNextPath(void)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:81:
undefined reference to `vtkProp::GetNumberOfPaths(void)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:83:
undefined reference to `vtkProp::RenderOverlay(vtkViewport *)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84:
undefined reference to `vtkProp::GetEstimatedRenderTime(vtkViewport *)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84:
undefined reference to `vtkProp::GetEstimatedRenderTime(void)'
/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84:
undefined reference to `vtkProp::SetEstimatedRenderTime(float)'
...........................................................
make: *** [project] Error 1
------------------------------------------------------------------------

it can generate .o , but ons of such errors indicate that there are some
unresolved symbol in the libraries I linked, did I do something wrong,
or my  installation of VTK4.0 actually failed?????
Thanks in advance.

--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong at vrac.iastate.edu
Homepage: http://www.vrac.iastate.edu/~lisong


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020604/bbf81d49/attachment.htm>


More information about the vtkusers mailing list