undefined function set(int, int, int, int)
Brought to you by:
z_hossain
When compiling fltkdock-0.07-fltk-2.0.x with fltk-2.0.x-r5808 the following error messages appear:
DockBase.cxx: In member function ‘void fltk::DockBase::pop_sizes()’:
DockBase.cxx:122: error: no matching function for call to ‘fltk::DockBase::set(int&, int&, int&, int&)’
DockBase.cxx:125: error: no matching function for call to ‘fltk::Widget::set(int&, int&, int&, int&)’
The intended function seems to be resize(int, int, int, int) - changing to which fixes the build problem.
Logged In: YES
user_id=1735678
Originator: YES
The function is from Rectangle class of fltk. Including fltk/Rectangle.h in the DockBase.cxx solves the problem.