[Insight-users] Re: RegionGrowingSegmentation Compiling problem

Luis Ibanez luis.ibanez at kitware.com
Sat Apr 23 17:11:01 EDT 2005


Hi Ping,


It seems that your update brought new versions
of the shared libraries (modules in Mac) that
you are linking against.


Please do a "make clean" and "make" in both
your ITK and your InsightApplications builds.


    Regards,


      Luis



----------------
ping chen wrote:

> Hi Everyone,
> 
> I am trying to compile this Application
> RegionGrowingSegmentation on Mac 10.3.9.  It compiled 
> and worked greatly last night.  When I came here this
> morning, I didn't change the codes, and I installed
> Mac OS X regular update and installed software
> Retrospect Client (which i believe shouldn't  hurt).
> 
> Then I compiled the code again and it comes up this ld
> error. I google this error message and found people
> working on Mac run into similar problem. But I wasn't
> able to find a solution. I am new to program on Mac OS
> X. Is there anyone who has similar experience?  Any
> advice will be appreciated. Thanks a lot. 
> 
> [Datacommpcp45054pcs:~/Desktop/fltk/binproj] install%
> ccmake ../project/.
> 
> 
> [Datacommpcp45054pcs:~/Desktop/fltk/binproj] install%
> make
> Building dependencies. cmake.depends...
> -- Using Buildname: Darwin-c++
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> cmake.depends is up-to-date
> /Users/install/Desktop/fltk/binproj/Auxiliary:
> building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer:
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkDisplayGlWindowFlatGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkFrustumFunctionControlGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkImage2DViewerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkRGBImage2DViewerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkRegularStepGradientDescentGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkSlice2DDrawerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkSlice3DDrawerGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkSphereFunctionControlGUI.cxx...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/FltkImageViewer/fltkTimeProbesCollectorGUI.cxx...
> Building object file fltkClippingPlane3DDrawerGUI.o...
> Building object file fltkDisplayGlWindowGUI.o...
> Building object file fltkDisplayGlWindowFlatGUI.o...
> Building object file
> fltkFrustumFunctionControlGUI.o...
> Building object file fltkImageViewerGUI.o...
> Building object file fltkImage2DViewerGUI.o...
> Building object file fltkRGBImage2DViewerGUI.o...
> Building object file
> fltkRegularStepGradientDescentGUI.o...
> Building object file fltkSlice2DDrawerGUI.o...
> Building object file fltkSlice3DDrawerGUI.o...
> Building object file fltkSphereFunctionControlGUI.o...
> Building object file fltkTimeProbesCollectorGUI.o...
> Building object file fltkBox3D.o...
> Building object file fltkCone3D.o...
> Building object file fltkClippingPlane3DDrawer.o...
> Building object file fltkCylinder3D.o...
> Building object file fltkFrustum3D.o...
> Building object file fltkGlWindow.o...
> Building object file fltkGlWindowInteractive.o...
> Building object file fltkGlWindowInteractiveFlat.o...
> Building object file fltkImage2DViewerWindow.o...
> Building object file fltkRGBImage2DViewerWindow.o...
> Building object file fltkLightButton.o...
> Building object file fltkProgressBar.o...
> Building object file fltkShape3D.o...
> Building object file fltkSphere3D.o...
> Building object file fltkWindowInteractive.o...
> Building object file fltkTimeProbeGUI.o...
> Building object file fltkTimeProbesCollector.o...
> Building object file fltkUtils.o...
> Building static library libITKFltkImageViewer.a...
> /Users/install/Desktop/fltk/binproj/Auxiliary/VtkFltk:
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command
> /Users/install/Desktop/fltk/binproj/Auxiliary/VtkFltk/fltkVTKImageViewerGUI.cxx...
> Building object file fltkVTKImageViewerGUI.o...
> Building object file vtkFlRenderWindowInteractor.o...
> Building object file fltkVTKImageViewerBase.o...
> Building static library libITKVtkFltk.a...
> /Users/install/Desktop/fltk/binproj/Auxiliary/vtk:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itkCurvatureFlowToVTK.o...
> Building executable
> /Users/install/Desktop/fltk/binproj/Auxiliary/vtk/itkCurvatureFlowToVTK...
> Building object file
> itkReadITKImage3DSegmentShowVTK.o...
> Building executable
> /Users/install/Desktop/fltk/binproj/Auxiliary/vtk/itkReadITKImage3DSegmentShowVTK...
> ld:
> /usr/local/lib/itk-2.0.1-pat/bin/libitkvnl.a(vnl_math.o)
> illegal reference for -dynamic code (section
> difference reference from section (__TEXT,__eh_frame)
> relocation entry (0) to symbol: ___isnan defined in
> dylib: /usr/lib/libpthread.dylib)
> make[5]: ***
> [/Users/install/Desktop/fltk/binproj/Auxiliary/vtk/itkReadITKImage3DSegmentShowVTK]
> 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
> 
> 
> 
> Thanks a lot,
> -Ping
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 





More information about the Insight-users mailing list