[Insight-users] error: FL/fl_file_chooser.H: No such file or directory

Edwin3219 charles_ao at yahoo.com.hk
Tue Dec 27 13:37:39 EST 2011


Hi every,

I am a freshman to ITK and want to use it to do some image registration.

I have read many information through internet and learn how to set up the
InsightApplication3.20.0.

My system is Linux, I am using FLTK 1.3.0, ITK 3.20.0. My error is that when
I compile "make" under the binaries folder of InsightApplication3.20.0, the
error comes out as below:

[ 57%] Building CXX object
DistanceMapFilter/CMakeFiles/DistanceMapFilter.dir/DistanceMapFilterBase.o
/home/edwin/ITK/InsightApplications-3.20.0/DistanceMapFilter/DistanceMapFilterBase.cxx:12:32:
error: FL/fl_file_chooser.H: No such file or directory
make[2]: ***
[DistanceMapFilter/CMakeFiles/DistanceMapFilter.dir/DistanceMapFilterBase.o]
Error 1
make[1]: *** [DistanceMapFilter/CMakeFiles/DistanceMapFilter.dir/all] Error
2
make: *** [all] Error 2

In order to give you more information about my situation, I am going to post
my "installation" process below

1. ITK 3.20.0 has been built successfully
 	Source folder: /home/Edwin/ITK/itk
	Binaries folder: /home/Edwin/ITK/itk_bin
2. Build and install FLTK 1.3.0
    Source folder: /home/Edwin/ITK/fltk_1.3.0
	Binaries folder: /home/Edwin/ITK/fltk_1.3.0_bin
While Cmaking the FLTK, I have assigned the install path as
/home/Edwin/ITK/FLTK as I am not the root of the system and cannot install
it at the lib folder outside.
		OPTION_PREFIX_BIN --> /home/Edwin/ITK/FLTK
		OPTION_PREFIX_CONFIG --> /home/Edwin/ITK/FLTK
                OPTION_PREFIX_DATA --> /home/Edwin/ITK/FLTK
                OPTION_PREFIX_DOC --> /home/Edwin/ITK/FLTK
                OPTION_PREFIX_INCLUDE --> /home/Edwin/ITK/FLTK
                OPTION_PREFIX_LIB --> /home/Edwin/ITK/FLTK
                OPTION_PREFIX_MAN --> /home/Edwin/ITK/FLTK

3. cd to /home/Edwin/ITK/fltk_1.3.0_bin (binaries folder of FLTK) and
compile “make” and then “make install”

4.build InsightApplication3.20.0,
	Source folder: /home/Edwin/ITK/ InsightApplication3.20.0
	Binaries folder: /home/Edwin/ITK/ InsightApplication3.20.0_bin
While Cmaking InsightApplication3.20.0, I have made some redirections in
DIRs as below,
	ITK_DIR  -> /home/Edwin/ITK/itk_bin
	Turn on USE_FLTK
	FLTK_BASE_LIBRARY         --> /home/edwin/ITK/FLTK/libfltk.a
	FLTK_CONFIG_SCRIPT       --> /home/edwin/ITK/FLTK/FLTKConfig.cmake
	FLTK_DIR                        --> /home/edwin/ fltk_1.3.0_bin
	FLTK_FLUID_EXECUTABKE  --> /home/edwin/ITK/FLTK/fluid
	FLTK_FORMS_LIBARARY    --> /home/edwin/ITK/FLTK/libfltk_forms.a
	FLTK_GL_LIBRARY            --> /home/edwin/ITK/FLTK/libfltk_gl.a
	FLTK_IMAGES_LIBRARY     --> /home/edwin/ITK/FLTK/libfltk_images.a
	FLTK_INCLUDE_DIR           --> /home/edwin/ITK/fltk-1.3.0_bin/
Configuration and Generation, then “make” under the binaries folder, but the
error comes out as mentioned above.

I have searched for a lot information but still can’t fix the problem, I
have put all my setup processes above and hope you can help me to find it
out where is the incorrect part.

Thanks all of you in advance! Sorry for typing so much!

Regards,
Edwin


--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/error-FL-fl-file-chooser-H-No-such-file-or-directory-tp7130780p7130780.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list