[Insight-users] compilation problem (itkCurvatureFlowToVTK.cxx)

Silvester Czanner czanner@psc.edu
Fri, 03 Jan 2003 12:56:36 -0500


Luis,

I have again a compilation problem. I have updated the FLTK 1.1 to 1.2 
and now I can not compile the ITK examples with VTK and FLTK.  I am 
using VTK 4.x Nightly Release. Can you, please, help me. Thank you.

Silvester

c++ -rdynamic -ftemplate-depth-50 itkCurvatureFlowToVTK.o  
-L/home/czanner/install/ITKv1/Insight/bin 
-L/home/czanner/install/VTK/bin -lpthread -ldl -lpthread -ldl -lm -lGL 
-lXt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -ldl -lm 
-lGLU -lGL -lXt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lm 
-lvtkRendering -lvtkGraphics -lvtkImaging -lvtkIO -lvtkFiltering 
-lvtkCommon -lVXLNumerics -lITKCommon -lITKBasicFilters -lvtkpng 
-lvtkzlib -lvtkftgl -lvtkfreetype -lvtktiff -lvtkzlib -lvtkjpeg 
-lvtkexpat -lITKCommon -lVXLNumerics -lGL -lXt  -lSM -lICE  
-L/usr/X11R6/lib -lX11 -lXext -lpthread -lm -ldl 
-Wl,-rpath,/home/czanner/install/ITKv1/Insight/bin:/home/czanner/install/VTK/bin  
-o /home/czanner/install/ITKv1/Insight/bin/itkCurvatureFlowToVTK
itkCurvatureFlowToVTK.o: In function `main':
itkCurvatureFlowToVTK.o(.text+0x23c): undefined reference to 
`vtkImageImport::New()'
itkCurvatureFlowToVTK.o(.text+0x2a3): undefined reference to 
`vtkImageShiftScale::New()'
itkCurvatureFlowToVTK.o(.text+0x2b4): undefined reference to 
`vtkImageSource::GetOutput()'
itkCurvatureFlowToVTK.o(.text+0x30b): undefined reference to 
`vtkImageActor::New()'
itkCurvatureFlowToVTK.o(.text+0x31f): undefined reference to 
`vtkImageSource::GetOutput()'
itkCurvatureFlowToVTK.o(.text+0x345): undefined reference to 
`vtkRenderer::New()'
itkCurvatureFlowToVTK.o(.text+0x350): undefined reference to 
`vtkRenderWindow::New()'
itkCurvatureFlowToVTK.o(.text+0x35b): undefined reference to 
`vtkRenderWindowInteractor::New()'
itkCurvatureFlowToVTK.o(.text+0x3a1): undefined reference to 
`vtkRenderWindow::AddRenderer(vtkRenderer*)'
itkCurvatureFlowToVTK.o(.text+0x3b9): undefined reference to 
`vtkRenderWindowInteractor::SetRenderWindow(vtkRenderWindow*)'
itkCurvatureFlowToVTK.o: In function `vtkRenderer::AddActor(vtkProp*)':
itkCurvatureFlowToVTK.o(.gnu.linkonce.t._ZN11vtkRenderer8AddActorEP7vtkProp+0x14): 
undefined reference to `vtkViewport::AddProp(vtkProp*)'
collect2: ld returned 1 exit status
make[5]: *** 
[/home/czanner/install/ITKv1/Insight/bin/itkCurvatureFlowToVTK] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_vtk] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Auxiliary] Error 2
make: *** [default_target] Error 2
[czanner@gabi Insight]$

-- 

Dr. Silvester Czanner

Pittsburgh Supercomputing Center
Carnegie Mellon University
4400 Fifth Avenue,
Pittsburgh, PA 15213, USA

http://www.psc.edu