Monday, 24 December 2007 06:39FLTK 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
< Prev Next >
Last Updated on Sunday, 17 August 2008 10:14