[Insight-users] legacy code in ITK applications and FLTK version

Ruben Schilling r.b.schilling at googlemail.com
Mon Oct 1 02:44:28 EDT 2007


Hi,
although it is pointed out on the website, that the ITK applications  
can be tricky to built, I would like to recommend one simple change  
for all the ITK applications depending on FLTK. Please change the  
following header from

#include <FL/fl_file_chooser.H>
to
#include <FL/Fl_File_Chooser.H>
.

This is maybe legacy code. All FLTK versions from 1.1.7 on do name  
the header file this way and obviously the other include won't work  
therefore. If at all possible I would recommend this change to make  
the applications easier to build (virtually all ITK applications  
depending on FLTK won't build otherwise out of the box).

In particular for the basic Auxiliary/FLTKImageViewer I would also  
recommend to change includes to import <FL/fl_ask.H> for the same  
reasons.

I would also add a recommendation not to built with any  
fltk-2.0.xxxx, since there is not Fl_File_Chooser.H in that version  
anymore. Or is there already such a recommendation somewhere and I  
missed it?

Best regards
Ruben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071001/ac40e079/attachment.html


More information about the Insight-users mailing list