[Insight-users] Can't compile ITKApp4.1.1 with FLTK-1.3

Bill Lorensen bill.lorensen at gmail.com
Mon Mar 19 15:10:30 EDT 2012


FLTK is quite tricky to configure. You can look in the superbuild
directory to see the configuration that works. It took we a while to
get the configuration to work for FLTK.

On Mon, Mar 19, 2012 at 11:47 AM, Yi-Yu Chou <yiyu.chou at gmail.com> wrote:
> I was trying to build it manually.
> Btw, SuperBuild works without any problems on ITKApp4.1.1, but I still want
> to figure out how to compile it manually.
> Thanks !!
>
> Yi-Yu Chou
>
> On Mon, Mar 19, 2012 at 2:33 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> Are you using the SuperBuild for ITKApps or are you building the
>> components manually?
>>
>> On Mon, Mar 19, 2012 at 10:52 AM, Yi-Yu Chou <yiyu.chou at gmail.com> wrote:
>> >
>> > Dear ITK users,
>> >
>> > I got problems compile ITKApp with FLTK using the following files:
>> > - ITK4.1
>> > - ITKApp 4.1.1
>> > - Fltk-1.3
>> > - ccmake2.8
>> > - RedHat5
>> >
>> > Below is the make output:
>> > .....................................
>> > .....................................
>> > [ 64%] [ 64%] Built target MRFKmeansIBSRClassificationApp
>> > Generating liFilterConsoleGUI.h
>> > [ 64%] Generating liFilterConsole2DGUI.h
>> > [ 65%] Generating liFilterConsoleGUI.cxx
>> > Linking CXX executable DicomImageViewer
>> > Linking CXX executable DistanceMapFilter
>> > [ 66%] Generating liFilterConsole2DGUI.cxx
>> > Scanning dependencies of target GaussianFilter2D
>> > Scanning dependencies of target GaussianFilter
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.so: undefined reference to
>> > `vtable for fltkSphereFunctionControlGUI'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DicomImageViewer/DicomImageViewer] Error 1
>> > make[1]: *** [DicomImageViewer/CMakeFiles/DicomImageViewer.dir/all]
>> > Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.so: undefined reference to
>> > `vtable for fltkSphereFunctionControlGUI'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DistanceMapFilter/DistanceMapFilter] Error 1
>> > make[1]: *** [DistanceMapFilter/CMakeFiles/DistanceMapFilter.dir/all]
>> > Error
>> > 2
>> > make[2]: Warning: File
>> > `GaussianFilter/CMakeFiles/GaussianFilter2D.dir/depend.make' has
>> > modification time 0.33 s in the future
>> > [ 66%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter2D.dir/liFilterConsole2D.cxx.o
>> > [ 67%] [ 67%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter2D.dir/GaussianFilter2D.cxx.o
>> > Building CXX object
>> >
>> > GaussianFilter/CMakeFiles/GaussianFilter2D.dir/liFilterConsole2DBase.cxx.o
>> > make[2]: Warning: File
>> > `GaussianFilter/CMakeFiles/GaussianFilter.dir/depend.make' has
>> > modification
>> > time 0.24 s in the future
>> > [ 67%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter.dir/liFilterConsole.cxx.o
>> > [ 67%] Building CXX object
>> >
>> > GaussianFilter/CMakeFiles/GaussianFilter2D.dir/liFilterConsole2DGUI.cxx.o
>> > [ 67%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter.dir/liFilterConsoleBase.cxx.o
>> > [ 68%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter.dir/GaussianFilter.cxx.o
>> > [ 68%] Building CXX object
>> > GaussianFilter/CMakeFiles/GaussianFilter.dir/liFilterConsoleGUI.cxx.o
>> > Linking CXX executable GaussianFilter2D
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.so: undefined reference to
>> > `vtable for fltkSphereFunctionControlGUI'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [GaussianFilter/GaussianFilter2D] Error 1
>> > make[1]: *** [GaussianFilter/CMakeFiles/GaussianFilter2D.dir/all] Error
>> > 2
>> > Linking CXX executable GaussianFilter
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.so: undefined reference to
>> > `vtable for fltkSphereFunctionControlGUI'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [GaussianFilter/GaussianFilter] Error 1
>> > make[1]: *** [GaussianFilter/CMakeFiles/GaussianFilter.dir/all] Error 2
>> > make: *** [all] Error 2
>> >
>> > Any sugggestion is appreciated !!
>> >
>> > Regards,
>> > Yi-Yu Chou
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.php
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list