[Insight-users] Trouble building ITKapps

Karthik Krishnan Karthik.Krishnan at kitware.com
Mon Feb 27 14:17:01 EST 2006


Rebuild the respective application in InsightApplications. It seems to 
have lingering symbols from an old non-existent library . libvtkPatented 
was removed. (VTK is free of patents, I think ).

-karthik

Atwood, Robert C wrote:

>I have built the itk apps before, on the same machine;  I do not recall
>having this problem. Here is the last bit of the verbose Make output,
>indicating that the vtkFieldData::AddArray method is not found. 
>
>Note that I have my own numbering scheme, not always in step with the
>correct one, I increment my package number each time I rebuild from CVS.
>These are using CVS checkout from Friday for ITK, VTK and ITK apps. I
>rebuild ITK and VTK on Friday seemingly without problems.
>
>Thanks for any insight
>
>Robert
>
>
>____
>
>Building executable
>/usr/local/encap/itk_apps-2.2.1.2/bin/ThresholdSegmentationLevelSet...
>c++          -ftemplate-depth-50  -Wno-deprecated -fPIC
>ThresholdSegmentationLevelSetGUI.o ThresholdSegmentationLevelSetBase.o
>ThresholdSegmentationLevelSet.o    -o
>/usr/local/encap/itk_apps-2.2.1.2/bin/ThresholdSegmentationLevelSet
>-rdynamic -L/usr/local/encap/ITK-2.4.1.1/lib/InsightToolkit
>-L/usr/local/lib -L/usr/local/encap/itk_apps-2.2.1.2/lib
>-L/usr/X11R6/lib -lITKAlgorithms -lITKCommon -lITKBasicFilters
>-lITKCommon -lITKNumerics -lITKBasicFilters -lITKIO -lITKFltkImageViewer
>-lITKVtkFltk -lvtkRendering -lvtkGraphics -lvtkHybrid -lvtkImaging
>-lvtkIO -lvtkFiltering -lvtkCommon -lvtkVolumeRendering -lITKNrrdIO
>-litkgdcm -litkjpeg12 -litkjpeg16 -litkpng -litktiff -litkjpeg8
>-lITKSpatialObject -lITKNumerics -lITKMetaIO -lITKDICOMParser -lITKEXPAT
>-lITKniftiio -lITKznz -litkzlib -lITKAlgorithms -lITKStatistics
>-lITKCommon -litkvnl_inst -litkvnl_algo -litkvnl -litkvcl -litknetlib
>-lm -litksys -lITKBasicFilters -lfltk_images -lpng -ljpeg -lz -lfltk
>-lfltk_gl -lfltk_forms -lGLU -lvtkexoIIc -lvtkNetCDF -lpthread -ldl -lm
>-lvtkRendering -lvtkftgl -lvtkfreetype -lGL -lXt -lSM -lICE -lSM -lICE
>-lSM -lICE -lX11 -lXext -lX11 -lXext -lX11 -lXext -lvtkIO
>-lvtkDICOMParser -lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkexpat
>-lvtksys -lvtkMPEG2Encode
>-Wl,-rpath,/usr/local/encap/ITK-2.4.1.1/lib/InsightToolkit:/usr/local/li
>b:/usr/local/encap/itk_apps-2.2.1.2/lib:/usr/X11R6/lib
>/usr/local/encap/vtk-4.4.0.2/lib/vtk/libvtkPatented.so: undefined
>reference to `vtkFieldData::AddArray(vtkDataArray*)'
>/usr/local/encap/vtk-4.4.0.2/lib/vtk/libvtkPatented.so: undefined
>reference to `vtkDataArray::GetTuples(vtkIdList*, vtkDataArray*)'
>/usr/local/encap/vtk-4.4.0.2/lib/vtk/libvtkPatented.so: undefined
>reference to `vtkByteSwap::SwapWrite4BERange(char*, int, _IO_FILE*)'
>/usr/local/encap/vtk-4.4.0.2/lib/vtk/libvtkPatented.so: undefined
>reference to `vtkDataArray::GetTuples(int, int, vtkDataArray*)'
>collect2: ld returned 1 exit status
>make[3]: ***
>[/usr/local/encap/itk_apps-2.2.1.2/bin/ThresholdSegmentationLevelSet]
>Error 1
>make[3]: Leaving directory
>`/dev/shm/ITKapp_build/ThresholdSegmentationLevelSet'
>make[2]: *** [default_target] Error 2
>make[2]: Leaving directory
>`/dev/shm/ITKapp_build/ThresholdSegmentationLevelSet'
>make[1]: *** [default_target_ThresholdSegmentationLevelSet] Error 2
>make[1]: Leaving directory `/dev/shm/ITKapp_build'
>make: *** [default_target] Error 2
>[root at xe01 ITKapp_build]# 
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>  
>


More information about the Insight-users mailing list