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

