<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<br> Does anybody has the same experience :
<br> 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 :
<br>-----------------------------------------------------------------------------------
<br>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
<br>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
<br>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
<br>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
<p>......
<p>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:79: undefined
reference to `vtkProp::GetRedrawMTime(void)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:80: undefined
reference to `vtkProp::GetNextPath(void)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:81: undefined
reference to `vtkProp::GetNumberOfPaths(void)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:83: undefined
reference to `vtkProp::RenderOverlay(vtkViewport *)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84: undefined
reference to `vtkProp::GetEstimatedRenderTime(vtkViewport *)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84: undefined
reference to `vtkProp::GetEstimatedRenderTime(void)'
<br>/home9/users/lisong/vtk/linux/VTK/Rendering/vtkLODProp3D.cxx:84: undefined
reference to `vtkProp::SetEstimatedRenderTime(float)'
<br>...........................................................
<br>make: *** [project] Error 1
<br>------------------------------------------------------------------------
<p>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?????
<br>Thanks in advance.
<pre>--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong@vrac.iastate.edu
Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>
</html>