On 17.06.2011, at 06:17, Bruce Hartley wrote:

> Dear FLTK,
> 
> I am trying to install FLTK under CaeLink which is a Ubuntu flavour of
> Linux, running under vmware on Microsoft Windows 7.
> 
> When I try to install the libraries using make, I get the error message
> 
> Compiling filename_list.cxx...
> 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**))’
> Am I using the wrong compiler?  I have both c++ and cpp installed but I
> don't know which one would be used for this compilation.
> 
> Can you assist me in resolving this problem

You are not using the wrong compiler, but you may be using an outdated version 
of FLTK. The definition of dirent was changed a while back for 64 bit CPUs and 
newer versions of gcc.

Please go to our download page and grab FLTK 1.3.0. It should not have this 
issue.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to