Trying to compile above version on ubuntu feisty fawn
Used configure script
During make process receieved following error:
Compiling Image.cxx...
Image.cxx:99: error: cannot declare variable ânameâ to be of abstract type
âfltk::Symbolâ
./fltk/Symbol.h:35: note: because the following virtual functions are pure
within âfltk::Symbolâ:
./fltk/Symbol.h:55: note: virtual void fltk::Symbol::_draw(const
fltk::Rectangle&) const
Image.cxx:99: error: no matching function for call to
âfltk::Symbol::Symbol(fltk::PixelType)â
./fltk/Symbol.h:48: note: candidates are: fltk::Symbol::Symbol(const char*)
./fltk/Symbol.h:41: note: fltk::Symbol::Symbol(const
fltk::Symbol&)
Image.cxx:99: error: cannot declare variable âpixeltype_â to be of abstract
type âfltk::Symbolâ
./fltk/Symbol.h:35: note: since type âfltk::Symbolâ has pure virtual
functions
./fltk/Symbol.h:41: error: âfltk::Symbol::Symbol(const fltk::Symbol&)â is
private
Image.cxx:99: error: within this context
Image.cxx:99: error: invalid conversion from âintâ to âconst char*â
Image.cxx:99: error: initializing argument 1 of âfltk::Symbol::Symbol(const
char*)â
Image.cxx:99: error: cannot allocate an object of abstract type âconst
fltk::Symbolâ
./fltk/Symbol.h:35: note: since type âconst fltk::Symbolâ has pure
virtual functions
Image.cxx:99: error: cannot declare variable âw_â to be of abstract type
âfltk::Symbolâ
./fltk/Symbol.h:35: note: since type âfltk::Symbolâ has pure virtual
functions
./fltk/Symbol.h:41: error: âfltk::Symbol::Symbol(const fltk::Symbol&)â is
private
Image.cxx:99: error: within this context
Image.cxx:99: error: invalid conversion from âintâ to âconst char*â
Image.cxx:99: error: initializing argument 1 of âfltk::Symbol::Symbol(const
char*)â
Image.cxx:99: error: cannot allocate an object of abstract type âconst
fltk::Symbolâ
./fltk/Symbol.h:35: note: since type âconst fltk::Symbolâ has pure
virtual functions
Image.cxx:99: error: cannot declare variable âh_â to be of abstract type
âfltk::Symbolâ
./fltk/Symbol.h:35: note: since type âfltk::Symbolâ has pure virtual
functions
Image.cxx:253: error: a function-definition is not allowed here before â{â
token
make[1]: *** [Image.o] Error 1
make: *** [all] Error 2
What to do know??
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev