hi all,

I've compiled flightgear and OSG with no problem until three days...
actually the last time was two weeks ago...

but now I get this error:

if g++ -DHAVE_CONFIG_H -I.
-I/home/moi/scripts/fgfs-builder/src/FlightGear/src/Model
-I../../src/Include -I/home/moi/scripts/fgfs-builder/src/FlightGear
-I/home/moi/scripts/fgfs-builder/src/FlightGear/src
-I/home/moi/scripts/fgfs-builder/install/include -I/usr/X11R6/include
-I/usr/local/include  -g -O2 -D_REENTRANT -MT panelnode.o -MD -MP -MF
".deps/panelnode.Tpo" -c -o panelnode.o
/home/moi/scripts/fgfs-builder/src/FlightGear/src/Model/panelnode.cxx; \
         then mv -f ".deps/panelnode.Tpo" ".deps/panelnode.Po"; else rm
-f ".deps/panelnode.Tpo"; exit 1; fi
/home/moi/scripts/fgfs-builder/src/FlightGear/src/Model/panelnode.cxx:
In member function 'virtual void
FGPanelNode::drawImplementation(osg::State&) const':
/home/moi/scripts/fgfs-builder/src/FlightGear/src/Model/panelnode.cxx:135:
error: 'const class osg::Viewport' has no member named 'getViewport'


greping in /home/moi/scripts/fgfs-builder/install/include reports me:

./osg/Camera:92:const Viewport* getViewport() const { return
_viewport.get(); }
./osg/Camera:95:Viewport* getViewport() { return _viewport.get(); }
./osg/CullStack:132: inline osg::Viewport* getViewport();
./osg/CullStack:207:inline osg::Viewport* CullStack::getViewport()
./osg/Viewport:76: void getViewport(int& x,int& y,int& width,int&
height) const
./osg/Viewport:84:void getViewport(double& x,double& y,double&
width,double& height) const
./osgUtil/RenderStage:72:const osg::Viewport* getViewport() const {
return _viewport.get(); }
./osgUtil/RenderStage:75:osg::Viewport* getViewport() { return
_viewport.get(); }
./osgUtil/SceneView:97:osg::Viewport* getViewport() { return
(_camera->getViewport()!=0) ?_camera->getViewport() : 0; }
./osgUtil/SceneView:100:const osg::Viewport* getViewport() const {
return (_camera->getViewport()!=0) ? _camera->getViewport() : 0; }

I use fgfs-builder (rev29) to build. I've copied
/home/moi/scripts/fgfs-builder/install/include/* in /usr/local/include,
just to make a try, with no better result.
The config.log of FlightGear doesn't seem to report errors...
I use the last CVS and svn versions. I googled about "getViewport" with
no relevant solutions (imho)...
OpenProducer, OpenSceneGraph, OpenThreads, plib and Simgear compilations
are ok.

does one of you know what I've missed?

thanks
regards,

seb


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to