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

Reply via email to