[Insight-users] InsightApplications on OS X

Will Woods will.woods at ynic.york.ac.uk
Mon Jul 18 12:53:45 EDT 2005


Hi,

I have managed to compile the Insight toolkit from cvs on OS X (10.3), 
but the InsightApplications (also from cvs) is failing when trying to 
create libvtkVTKITKCommonPython.dylib (the one thing I really need!). 
Output is below, but I don't understand why it is complaining that it 
'can't locate file for: -lvtkFilteringPython' since the files exist:

/usr/local/lib/vtk/libvtkFilteringPython.so
/usr/local/lib/vtk/libvtkFilteringPythonD.dylib


and it is looking in the right place. Any suggestions?

Thanks,

Will




/usr/bin/g++ -dynamiclib      -o libvtkVTKITKCommonPython.dylib 
vtkITKAntiAliasBinaryImageFilterPython.o 
vtkITKBilateralImageFilterPython.o 
vtkITKConfidenceConnectedImageFilterPython.o 
vtkITKConnectedThresholdImageFilterPython.o 
vtkITKCurvatureAnisotropicDiffusionImageFilterPython.o 
vtkITKCurvatureAnisotropicDiffusionImageFilterSSPython.o 
vtkITKDanielssonDistanceMapImageFilterPython.o 
vtkITKDiscreteGaussianImageFilterPython.o 
vtkITKGradientAnisotropicDiffusionImageFilterPython.o 
vtkITKGradientMagnitudeImageFilterPython.o 
vtkITKGrayscaleFillholeImageFilterPython.o 
vtkITKImageToImageFilterPython.o vtkITKImageToImageFilter2DFFPython.o 
vtkITKImageToImageFilterFFPython.o vtkITKImageToImageFilterFULPython.o 
vtkITKImageToImageFilterULULPython.o vtkITKImageToImageFilterSFPython.o 
vtkITKImageToImageFilterSULPython.o vtkITKImageToImageFilterUSULPython.o 
vtkITKImageToImageFilterUSUSPython.o vtkITKImageToImageFilterSSPython.o 
vtkITKIsolatedConnectedImageFilterPython.o 
vtkITKLaplacianSegmentationLevelSetImageFilterPython.o 
vtkITKMutualInformationTransformPython.o 
vtkITKNeighborhoodConnectedImageFilterPython.o 
vtkITKNormalizeImageFilterSFPython.o vtkITKNormalizeImageFilterPython.o 
vtkITKOtsuThresholdImageFilterPython.o 
vtkITKPDEDeformableRegistrationFilterPython.o 
vtkITKStatisticsImageFilterULULPython.o 
vtkITKSmoothingRecursiveGaussianImageFilterSSPython.o 
vtkITKGradientMagnitudeRecursiveGaussianImageFilterSSPython.o 
vtkITKGradientMagnitudeRecursiveGaussianImageFilterFFPython.o 
vtkITKThresholdSegmentationLevelSetImageFilterPython.o 
vtkITKTobogganImageFilterPython.o vtkITKWatershedImageFilterPython.o 
vtkITKWatershedImageFilterSULPython.o 
vtkITKRelabelComponentImageFilterPython.o 
vtkITKArchetypeImageSeriesReaderPython.o -L/usr/local/lib/InsightToolkit 
-L/usr/local/lib/vtk -L/home/willwoods/ITK2/itk-apps/vtkITK/Common 
-lITKAlgorithms -lITKCommon -lITKBasicFilters -lvtkVTKITKCommon 
-lvtkFilteringPython -lvtkCommonPython -lITKAlgorithms -lITKBasicFilters 
-lvtkImaging -lITKIO -lITKNrrdIO -litkgdcm -litkjpeg12 -litkjpeg16 
-litkpng -litktiff -litkjpeg8 -lITKMetaIO -litkzlib -lITKDICOMParser 
-lITKEXPAT -lITKBasicFilters -lITKAlgorithms -lITKNumerics -lITKCommon 
-litkvnl_inst -litkvnl_algo -litkvnl -litkvcl -litknetlib -lm -litksys 
-lvtkFilteringPythonD -lvtkFiltering -lvtkCommonPythonD -lvtkCommon 
-framework AppKit -lpthread -lm -framework Python  -lgcc
/usr/bin/libtool: can't locate file for: -lvtkFilteringPython
/usr/bin/libtool: file: -lvtkFilteringPython is not an object file (not 
allowed in a library)
/usr/bin/libtool: can't locate file for: -lvtkCommonPython
/usr/bin/libtool: file: -lvtkCommonPython is not an object file (not 
allowed in a library)
make[5]: *** [libvtkVTKITKCommonPython.dylib] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Common] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_vtkITK] Error 2
make: *** [default_target] Error 2



More information about the Insight-users mailing list