On 02.11.2010, at 04:08, eric wrote:
> I follow Greg's suggestion, download that zip file and goto FLTK, then
> autoconf
> make
> but here is the trouble/errors I meet.
> -----------------------------------------------------------------
> filename_list.cxx: In function �int fl_filename_list(const char*, 
> dirent***, int (*)(dirent**, dirent**))�:
> filename_list.cxx:70: error: invalid conversion from �int (*)(const void*, 
> const void*)� to �int (*)(const dirent**, const dirent**)�
> filename_list.cxx:70: error:   initializing argument 4 of �int 
> scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const 
> dirent**, const dirent**))�
> make[1]: *** [filename_list.o] Error 1
> make: *** [all] Error 1
> ---------------------------------------
> I am using gcc 4.4.3 under unbuntu linux,
> I already autoconf before I type make
> need any advancer's help, and thx a lot in advance for your time, Eric
> in order to copy/test Mr. Bjarne Stroustrup's book's example on dispaly model 
> by c++, which using fltk

This has been fixed in FLTK 1.1.10, I suggest that you use 1.1.10
instead of 1.1.9. I didn't follow all the recent threads, but 1.1.10
should be as compatible with 1.1.9 as necessary to run the examples.


Note: this is not a FLTK 1.1.9 problem, but a change in glibc in
recent Linux distros (after the release of 1.1.9).

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to