I figured out what causes the problem. Whenever I add this it will give that error about the lines I posted above:
#include <FL/Fl_Text_Display.H> Fl_Group *grp2 = new Fl_Group(25, 75, 640, 605); new Fl_Text_Display(145, 325, 400, 75); panel[2] = grp2; grp2->end(); These 2 new lines are causing the problem. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk