[Insight-users] error building InsightApplications-2.4.0 : cannot find -lfltk_jpeg ?

Julien Jomier jjomier at cs.unc.edu
Wed Jan 11 04:52:02 EST 2006


Hello Amir,

I suppose you are building FLTK using CMake. If this is the case, make 
sure the option FLTK_USE_SYSTEM_JPG is turned OFF.

Let us know if that solves your problem,

Julien

charfeddine amir wrote:
> hi all,
> i restart building InsightApplications-2.4.0 from the start, but i get 
> the same error every time i repeat the building process ( for ITK-2.4.0, 
> VTK-4.2 and FLTK-1.1.6 every thing was ok) :
> 
> [root at timhpux InsightApplicationsbin-2.4.0]# make
> Building dependencies. cmake.depends...
> -- Using Buildname: Linux-c++
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> cmake.depends is up-to-date
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary: building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer: 
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkDisplayGlWindowFlatGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkFrustumFunctionControlGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkImage2DViewerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkRGBImage2DViewerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkRegularStepGradientDescentGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkSlice2DDrawerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkSlice3DDrawerGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/Auxiliary/FltkImageViewer/fltkSphereFunctionControlGUI.cxx...
> Building Custom command 
> /usr/local/InsightApplicationsbin-2.4.0/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 shared library 
> /usr/local/InsightApplicationsbin-2.4.0/bin/libITKFltkImageViewer.so...
> /usr/bin/ld: cannot find -lfltk_jpeg
> collect2: ld returned 1 exit status
> make[5]: *** 
> [/usr/local/InsightApplicationsbin-2.4.0/bin/libITKFltkImageViewer.so] 
> Erreur 1
> make[4]: *** [default_target] Erreur 2
> make[3]: *** [default_target_FltkImageViewer] Erreur 2
> make[2]: *** [default_target] Erreur 2
> make[1]: *** [default_target_Auxiliary] Erreur 2
> make: *** [default_target] Erreur 2
> [root at timhpux InsightApplicationsbin-2.4.0]#
> 
> wait for comments and advice.
> thankx.
> Amir
> 
> 
> *//*
> 
> ------------------------------------------------------------------------
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
> tarifs exceptionnels pour appeler la France et l'international. 
> Téléchargez 
> <http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com> 
> la version beta.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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