Hi Everyone

I guess 1.0 does not get much use these days but the code base was only 
17K lines of code back then. I would like to build it but I am getting 
errors.

I am on Xubuntu and I have complied 1.3 from source without issue.

If I run configure, this message is in there:

X11/extensions/Xdbe.h: present but cannot be compiled

Is my x library too new and not backwards compatible by chance?

Here is the tail end after typing make:


Compiling Fl_x.o...
Fl_x.cxx: In function ‘int fl_handle(const XEvent&)’:
Fl_x.cxx:494:16: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, 
int)’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
Fl_x.cxx:494:55: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, 
int)’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
Fl_x.cxx:523:31: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, 
int)’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
Fl_x.cxx:523:70: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, 
int)’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) 
[-Wdeprecated-declarations]
Fl_x.cxx:524:61: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
Fl_x.cxx: In function ‘int can_boxcheat(uchar)’:
Fl_x.cxx:892:70: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
Compiling filename_absolute.o...
Compiling filename_expand.o...
Compiling filename_ext.o...
Compiling filename_isdir.o...
Compiling filename_list.o...
filename_list.cxx: In function ‘int filename_list(const char*, dirent***)’:
filename_list.cxx:56:74: error: invalid conversion from ‘int (*)(const 
void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’ 
[-fpermissive]
/usr/include/dirent.h:256:12: error: initializing argument 4 of ‘int 
scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const 
dirent**, const dirent**))’ [-fpermissive]
make[1]: *** [filename_list.o] Error 1
make[1]: Leaving directory `/home/patrick/fltk-1.0/src'

If anyone has some tips, that would be great.

Thanks for reading-Patrick

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

Reply via email to