In short , as the title mentions , I pulled the git version tonight and tried to build as I do normally
simgear failed to build twice and stops due to error at 57% in "SimGearScene.dir/scene/model/model.cxx.o"
This is the unsuccessful part of my log
- Code: Select all
[ 57%] Building CXX object simgear/CMakeFiles/SimGearScene.dir/scene/model/model.cxx.o
/home/yanes/Documents/fg-source/flightgear-simgear/simgear/scene/model/model.cxx: In member function ‘osg::Texture2D* simgear::TextureUpdateVisitor::textureReplace(int, const osg::StateAttribute*)’:
/home/yanes/Documents/fg-source/flightgear-simgear/simgear/scene/model/model.cxx:168:22: error: request for member ‘valid’ in ‘newImage’, which is of pointer type ‘osg::Image*’ (maybe you meant to use ‘->’ ?)
if (newImage.valid())
^~~~~
simgear/CMakeFiles/SimGearScene.dir/build.make:1790: recipe for target 'simgear/CMakeFiles/SimGearScene.dir/scene/model/model.cxx.o' failed
make[2]: *** [simgear/CMakeFiles/SimGearScene.dir/scene/model/model.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1143: recipe for target 'simgear/CMakeFiles/SimGearScene.dir/all' failed
make[1]: *** [simgear/CMakeFiles/SimGearScene.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
any help , or is there any recent changes to this part ??
thanks in advance
Yanes Bechir