> Fl_Window* main()
You can only have one main() function in your program,
and it needs to return int.
My guess is in your fluid file, you may have changed
fluid's default function name "make_window" to "main",
thereby shadowing your app's main() function.
When starting in fluid, choose New -> Code -> Function/Method,
and leave the "make_wnidow" default as the function name, and
attach your windows and widgets to that.
Then later, define a New -> Code -> Function/Method
and blank it out (to make a main() function), and then
in that function, call 'make_window()' etc. (New->Code->Code)
I think there's a fluid tutorial that should cover this
correctly; make sure you don't try to attach your widgets
directly to the main() function.. call it anything else.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev