SGPagedLOD.cxx:73: error: no matching function for call to ‘osgDB::DatabasePager::requestNodeFile(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, simgear::SGPagedLOD* const, double&, osg::FrameStamp*&, osg::ref_ptr<osg::Referenced>&, osgDB::Options*)’
/home/tom/fgfs/install/OpenSceneGraph/include/osgDB/DatabasePager:73: note: candidates are: virtual void osgDB::DatabasePager::requestNodeFile(const std::string&, osg::NodePath&, float, const osg::FrameStamp*, osg::ref_ptr<osg::Referenced>&, const osg::Referenced*)
make[3]: *** [SGPagedLOD.o] Error 1
make[3]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear/scene/model'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear/scene'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear'
make: *** [install-recursive] Error 1
Quadunit404 wrote in Mon Jan 24, 2011 12:25 am:Now I see what's wrong... I tried running make install on the source of SimGear and this is what I saw at the end:
- Code: Select all
SGPagedLOD.cxx:73: error: no matching function for call to ‘osgDB::DatabasePager::requestNodeFile(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, simgear::SGPagedLOD* const, double&, osg::FrameStamp*&, osg::ref_ptr<osg::Referenced>&, osgDB::Options*)’
/home/tom/fgfs/install/OpenSceneGraph/include/osgDB/DatabasePager:73: note: candidates are: virtual void osgDB::DatabasePager::requestNodeFile(const std::string&, osg::NodePath&, float, const osg::FrameStamp*, osg::ref_ptr<osg::Referenced>&, const osg::Referenced*)
make[3]: *** [SGPagedLOD.o] Error 1
make[3]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear/scene/model'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear/scene'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/tom/fgfs/simgear/simgear/simgear'
make: *** [install-recursive] Error 1
Gonna see if getting a fresher copy of download_and_compile.sh solves the problem... if not, then, well, I'm screwed
EDIT: Nope, did nothing.
rm OpenSceneGraph/ -fr && sh download_and_compile.sh -a n -p n -s OSG && sh download_and_compile.sh -a n -p n SIMGEAR && sh download_and_compile.sh -a n -p n FGFS
Users browsing this forum: No registered users and 1 guest