banner
Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Programming FLTK - a C++ simple GUI.
If you appreciate the information found on this website, please drop me a line!

Who's Online

We have 19 guests online
Content View Hits : 1154878
moon and stars
How did you find my site?
 
How often do you answer random online questions?
 

Random Quote

I have discovered a truly remarkable proof which this margin is too small to contain. -- Pierre de Fermat
Autumn_1st_Grade_001
P1010144
P1010032
P1010097

FLTK - a C++ simple GUI.

Monday, 24 December 2007 06:39
FLTK is a nice little C++ gui toolkit. No deps outside.

Fl_Widget::label already defined
I just recently tried to compile a project with FLTK 1 references and my VS2008 compiler gave me an error:
fltk.lib(Fl_Widget.obj) : error LNK2005: 
"public: void __thiscall Fl_Widget::label(char const *)" (?label@Fl_Widget@@QAEXPBD@Z) already defined in facedetect.obj

To fix it, change all "somewidget->label("theLabel");" to "somewidget->label(FL_NORMAL_LABEL,"theLabel",);". (caught from Fl_Label link error - GIDForums) fltk
Last Updated on Sunday, 17 August 2008 10:14