Hello again!
The following code works fine:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_Button.H>
int main(int argc, char **argv){
Fl_Window *w = new Fl_Window(512, 512, 512, 512, "CubeWindow");
w->box(FL_DOWN_BOX);
{
Fl_Button *b = new Fl_Button(40,40,40,40,"But");
}
w->show();
return Fl::run();
}
But this code results in a "non-resolved symbol" error:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_Button.H>
int main(int argc, char **argv){
Fl_Window *w = new Fl_Window(512, 512, 512, 512, "CubeWindow");
w->box(FL_PLASTIC_DOWN_BOX);
{
Fl_Button *b = new Fl_Button(40,40,40,40,"But");
}
w->show();
return Fl::run();
}
The only difference is "FL_DOWN_BOX" instead of "FL_PLASTIC_DOWN_BOX", where
the latter one results in the following "non-resolved symbol" error:
error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) enum
Fl_Boxtype __cdecl fl_define_FL_PLASTIC_UP_BOX(void)"
(__imp_?fl_define_FL_PLASTIC_UP_BOX@@YA?AW4Fl_Boxtype@@XZ)". test.obj
"Nicht aufgelöstes externes Symbol" could be rendered as "non-resolved
external symbol".
Another question is:
After building the whole FLTK on Windows the fltk-1.1.7/lib library contains
only *d.lib debug-libraries (e.g. fltkd.lib or fltkgld.lib) but no "release
libraries" (e.g. fltk.lib). Does that do any harm?
(I am a beginner completely..)
Thanks!
David
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev