> > Iain Staffell wrote: > MacArthur, Ian (SELEX) (UK) wrote: > > You are creating your Pictar widget on the stack, and there is > > insufficient stack space in your runtime environment to support that. > > > > Either increase you stack space (bad) or create the widget on the heap > > by "new"ing it (good)... >
> > If you really want to be able to create the widget on the stack, > then at least change the class so that img is a pointer that is > dynamically allocated in the ctor with 'new' or 'malloc()', > instead of as a hard coded array. std::vector<double> would do the job for you. Cheers, Stan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

