How can I compile? And if I'm learning fltk, should I even be using 3?

End of make:

Compiling fltk3/font.cxx...
In file included from fltk3/font.cxx:64:0:
fltk3/x11_font.cxx:267:6: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘void font(fltk3::Font, fltk3::Fontsize)’:
fltk3/x11_font.cxx:269:37: error: cannot call member function ‘virtual void 
fltk3::GraphicsDriver::font(fltk3::Font, fltk3::Fontsize)’ without object
fltk3/x11_font.cxx:272:43: error: cannot call member function ‘fltk3::Font 
fltk3::GraphicsDriver::font()’ without object
fltk3/x11_font.cxx:272:84: error: cannot call member function 
‘fltk3::Fontsize fltk3::GraphicsDriver::size()’ without object
fltk3/x11_font.cxx:273:41: error: cannot call member function ‘virtual void 
fltk3::GraphicsDriver::font(fltk3::Font, fltk3::Fontsize)’ without object
fltk3/x11_font.cxx:275:12: error: invalid use of ‘this’ in non-member 
function
fltk3/x11_font.cxx:276:5: error: invalid use of ‘this’ in non-member 
function
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:282:5: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘int height()’:
fltk3/x11_font.cxx:283:23: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:287:5: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘int descent()’:
fltk3/x11_font.cxx:288:23: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:292:8: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘double width(const char*, int)’:
fltk3/x11_font.cxx:293:23: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:297:8: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘double width(unsigned int)’:
fltk3/x11_font.cxx:298:23: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:302:6: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘void text_extents(const char*, int, int&, 
int&, int&, int&)’:
fltk3/x11_font.cxx:304:26: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx:306:49: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx:310:75: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:320:6: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘void draw(const char*, int, int, int)’:
fltk3/x11_font.cxx:322:26: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx:322:29: error: invalid use of ‘this’ in non-member 
function
fltk3/x11_font.cxx:324:49: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx:326:69: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:329:6: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘void draw(int, const char*, int, int, 
int)’:
fltk3/x11_font.cxx:331:3: error: invalid use of ‘this’ in non-member 
function
fltk3/x11_font.cxx: At global scope:
fltk3/x11_font.cxx:334:6: error: ‘Fl_Xlib_Graphics_Driver’ has not been 
declared
fltk3/x11_font.cxx: In function ‘void rtl_draw(const char*, int, int, int)’:
fltk3/x11_font.cxx:336:26: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx:336:29: error: invalid use of ‘this’ in non-member 
function
fltk3/x11_font.cxx:339:72: error: ‘font_descriptor’ was not declared in 
this scope
fltk3/x11_font.cxx: In function ‘double width(unsigned int)’:
fltk3/x11_font.cxx:300:1: warning: control reaches end of non-void function 
[-Wreturn-type]
fltk3/x11_font.cxx: In function ‘double width(const char*, int)’:
fltk3/x11_font.cxx:295:1: warning: control reaches end of non-void function 
[-Wreturn-type]
fltk3/x11_font.cxx: In function ‘int descent()’:
fltk3/x11_font.cxx:290:1: warning: control reaches end of non-void function 
[-Wreturn-type]
fltk3/x11_font.cxx: In function ‘int height()’:
fltk3/x11_font.cxx:285:1: warning: control reaches end of non-void function 
[-Wreturn-type]
make[1]: *** [fltk3/font.o] Error 1
make: *** [all] Error 1

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

Reply via email to