Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Programming FLTK - a C++ simple GUI.
153 guests
Rough Hits : 2923676
moon and stars
how did u find my site?





 
our entire universe; minuscule spec in gigantic multiverse which is mostly lethal.



 
Code is like poetry; most of it shouldn't have been written.
1=0.999...

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
< Prev  Next >
Last Updated on Sunday, 17 August 2008 10:14