Thanks, FLTK 1.1.10 (currently RC3) is succesfuly build using make. On Sun, Dec 27, 2009 at 1:00 AM, <[email protected]> wrote: > Send fltk-bugs mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.easysw.com/mailman/listinfo/fltk-bugs > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fltk-bugs digest..." > > > Today's Topics: > > 1. invalid conversion error(fltk1.1.9, Fedora 12, gcc 4.4.2, > ccmake version 2.8.0) (Hassan Amin) > 2. Re: invalid conversion error(fltk1.1.9, Fedora 12, gcc 4.4.2, > ccmake version 2.8.0) (Albrecht Schlosser) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 26 Dec 2009 19:17:15 +0500 > From: Hassan Amin <[email protected]> > Subject: [fltk.bugs] invalid conversion error(fltk1.1.9, Fedora 12, > gcc 4.4.2, ccmake version 2.8.0) > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > 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**))?: > /home/Hassan/vision/fltk-1.1.9/src/filename_list.cxx:70: error: > invalid conversion from ?int (*)(const void*, const void*)? to ?int > (*)(const dirent**, const dirent**)? > /home/Hassan/vision/fltk-1.1.9/src/filename_list.cxx:70: error: > initializing argument 4 of ?int scandir(const char*, dirent***, int > (*)(const dirent*), int (*)(const dirent**, const dirent**))? > make[2]: *** [src/CMakeFiles/fltk.dir/filename_list.o] Error 1 > make[1]: *** [src/CMakeFiles/fltk.dir/all] Error 2 > make: *** [all] Error 2 > > Any help to resolve these is appreciated. > > Regards, > > > -- > Dr. Hassan Amin > Assistant Professor > National University(NUCES) > Peshawar Campus > Pakistan > Phone:0092-(0)91-111-128-128 > Email: [email protected] > > > > ------------------------------ > > Message: 2 > Date: Sat, 26 Dec 2009 07:28:05 -0800 > From: Albrecht Schlosser <[email protected]> > Subject: Re: [fltk.bugs] invalid conversion error(fltk1.1.9, Fedora > 12, gcc 4.4.2, ccmake version 2.8.0) > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > 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 > > > End of fltk-bugs Digest, Vol 71, Issue 13 > ***************************************** >
-- Dr. Hassan Amin Assistant Professor Head of Computer Science Department National University(NUCES) Peshawar Campus Pakistan Phone:0092-(0)91-111-128-128 Email: [email protected] _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
