From: Daniel P. <leg...@gm...> - 2007-03-30 19:01:44
|
On Thu, 2007-03-29 at 20:46 -0500, Laurence Vanek wrote: > After svn updates of Openthreads, osgProducer, OpenSceneGraph & cvs > update of FG,SimGear-0.3 today I get the following during "make" of FG: I seem to be getting similar errors.. This is the first time I'm trying to build FlightGear CVS.. Complete new checkouts of flightgear, simgear and the OSG stuff.. On Fedora Core 6 .. All the OpenThreads OpenSceneGraph and Producer compiled with no hassles, SimGear-CVS also compiled with no hassles.. My output follows: make[2]: Entering directory `/home/daniel/sources/fg/fg/source/src/Main' if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I../../src/FDM/JSBSim -I/usr/local/include -DPKGLIBDIR= \"/usr/share/FlightGear\" -g -O2 -D_REENTRANT -MT renderer.o -MD -MP -MF ".deps/renderer.Tpo" -c -o renderer.o renderer.cxx; \ then mv -f ".deps/renderer.Tpo" ".deps/renderer.Po"; else rm -f ".deps/renderer.Tpo"; exit 1; fi renderer.cxx: In member function ‘virtual osg::Object* SGPuDrawable::cloneType() const’: renderer.cxx:162: error: cannot allocate an object of abstract type ‘SGPuDrawable’ renderer.cxx:103: note: because the following virtual functions are pure within ‘SGPuDrawable’: /usr/local/include/osg/Drawable:425: note: virtual void osg::Drawable::drawImplementation(osg::RenderInfo&) const renderer.cxx: In member function ‘virtual osg::Object* SGPuDrawable::clone(const osg::CopyOp&) const’: renderer.cxx:163: error: cannot allocate an object of abstract type ‘SGPuDrawable’ renderer.cxx:103: note: since type ‘SGPuDrawable’ has pure virtual functions renderer.cxx: In member function ‘virtual osg::Object* SGHUDAndPanelDrawable::cloneType() const’: renderer.cxx:220: error: cannot allocate an object of abstract type ‘SGHUDAndPanelDrawable’ renderer.cxx:168: note: because the following virtual functions are pure within ‘SGHUDAndPanelDrawable’: /usr/local/include/osg/Drawable:425: note: virtual void osg::Drawable::drawImplementation(osg::RenderInfo&) const renderer.cxx: In member function ‘virtual osg::Object* SGHUDAndPanelDrawable::clone(const osg::CopyOp&) const’: renderer.cxx:221: error: cannot allocate an object of abstract type ‘SGHUDAndPanelDrawable’ renderer.cxx:168: note: since type ‘SGHUDAndPanelDrawable’ has pure virtual functions renderer.cxx: In member function ‘void FGRenderer::init()’: renderer.cxx:504: error: cannot allocate an object of abstract type ‘SGPuDrawable’ renderer.cxx:103: note: since type ‘SGPuDrawable’ has pure virtual functions renderer.cxx:505: error: cannot allocate an object of abstract type ‘SGHUDAndPanelDrawable’ renderer.cxx:168: note: since type ‘SGHUDAndPanelDrawable’ has pure virtual functions renderer.cxx: In static member function ‘static bool FGRenderer::pick(unsigned int, unsigned int, std::vector<SGSceneryPick, std::allocator<SGSceneryPick> >&)’: renderer.cxx:1023: warning: converting to ‘unsigned int’ from ‘double’ make[2]: *** [renderer.o] Error 1 make[2]: Leaving directory `/home/daniel/sources/fg/fg/source/src/Main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/daniel/sources/fg/fg/source/src' make: *** [all-recursive] Error 1 Any ideas anyone? Thanks, Daniel Pekelharing |