Hassan Amin wrote: > Hi, > I am using fltk1.1.9, Fedora 12, gcc 4.4.2,ccmake version 2.8.0. I am > getting following errors while compiling fltk: > > [ 1%] Building CXX object src/CMakeFiles/fltk.dir/filename_list.o > /home/Hassan/vision/fltk-1.1.9/src/filename_list.cxx: In function ‘int > fl_filename_list(const char*, dirent***, int (*)(dirent**, > dirent**))’:
[...] > Any help to resolve these is appreciated. First of all: you can't use cmake, because the cmake files are not yet supported and don't work with newer GLIBC versions like that one included with Fedora 12. However, you can use FLTK 1.1.10 (currently RC3) or the svn version to obtain a newer release that can be used with the autogen/make build system. If you want to use 1.1.9 for some reason, you must patch the sources yourself, see STR #2227 and the included patch: http://www.fltk.org/str.php?L2227 http://www.fltk.org/strfiles/2227/glibc_2-10.patch However, all this doesn't work with cmake. Currently you have to #define HAVE_SCANDIR_POSIX 1 in config.h manually after applying the patch and after generating the Makefiles with (c)cmake. Albrecht _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
