Board index FlightGear Support Compiling

simgear next 18.04.0 build failed

Building FlightGear from source, and in the need for help?

simgear next 18.04.0 build failed

Postby yanes » Sat Mar 02, 2019 10:41 pm

Salam all FG community :o ,
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
User avatar
Posts: 135
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

Re: simgear next 18.04.0 build failed

Postby xDraconian » Wed Mar 06, 2019 6:01 am

Hi @yanes,

Thanks for reporting the issue. This has been resolved.

Posts: 346
Joined: Sun Jan 21, 2018 5:53 am
Version: Git
OS: Linux Mint

Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest