On 17.06.2011 16:30, Bruce Hartley wrote:

> I am trying to install FLTK under CaeLink which is a Ubuntu flavour of
> Linux, running under vmware on Microsoft Windows 7.

Which exakt version of FLTK? How did you download it, i.e. was it a
release version, a snapshot, or from subversion?

> 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

Hmm, this looks much like a problem that has already been solved in
all current FLTK 1.1 and 1.3 versions. The line number lets me guess
that you are using an older version of FLTK 1.1.

Did you run autoconf and configure (which options?), or did you only
run make?

Anyway, please tell us which particular FLTK version you are trying to
compile, and post the output of:

$ cd <fltk-root-dir>
$ grep SCANDIR config.h

(replace <fltk-root-dir> with your root directory name).


Albrecht

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

Reply via email to