Board index FlightGear Support Compiling

Ubuntu Studio 17.10 - flightgear 2018 error

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

Ubuntu Studio 17.10 - flightgear 2018 error

Postby CoolGames » Mon Mar 19, 2018 12:22 am

I tried to compile the source code and got an error.
I am not a programmer but seems like an unmet dependency !


I used download_and_compile.sh and it failed simgear and fgdata but I was able to get the files by executing outside the command file.
simgear succeeded when I used hardwire instead of wifi.
fgdata worked if I used git instead of https that failed -110 error.
I used commandline in the install/flightgear directory as
Code: Select all
git clone git://git.code.sf.net/p/flightgear/fgdata
.
I then ran the download... again and it seemed to do incremental steps.

The flightgear compiled failed

[ 38%] Building CXX object src/GUI/CMakeFiles/fglauncher.dir/LauncherMainWindow.cxx.o
In file included from /home/fguser/FgFs/flightgear/src/GUI/LauncherMainWindow.cxx:53:0:
/home/fguser/FgFs/flightgear/src/GUI/RecentLocationsModel.hxx:5:10: fatal error: QvariantList: No such file or directory
#include <QvariantList>
^~~~~~~~~~~~~~
compilation terminated.
src/GUI/CMakeFiles/fglauncher.dir/build.make:190: recipe for target 'src/GUI/CMakeFiles/fglauncher.dir/LauncherMainWindow.cxx.o' failed
make[2]: *** [src/GUI/CMakeFiles/fglauncher.dir/LauncherMainWindow.cxx.o] Error 1
CMakeFiles/Makefile2:2411: recipe for target 'src/GUI/CMakeFiles/fglauncher.dir/all' failed
make[1]: *** [src/GUI/CMakeFiles/fglauncher.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2



Modified spelling to point to
Code: Select all
/usr/include/x86_64-linux-gnu/qt5/QtCore/QVariantList
User avatar
CoolGames
 
Posts: 15
Joined: Fri Jan 12, 2018 12:31 am
Version: 2017.3.1
OS: Ubuntu Studio 17.10

Re: Ubuntu Studio 17.10 - flightgear 2018 error

Postby Thorsten » Mon Mar 19, 2018 6:27 am

Judging by the mailing list traffic over the last days, you''re probably missing one or two little Qt dependencies... I'd suggest to do nothing for a while and then try again, James wanted to re-structure some things, so this might resolve itself.
Thorsten
 
Posts: 10639
Joined: Mon Nov 02, 2009 8:33 am

Re: Ubuntu Studio 17.10 - flightgear 2018 error

Postby CoolGames » Mon Mar 19, 2018 11:54 am

I see the changes I made locally in RecentLocationsModel.hxx source last night.
Next I would need to learn the way to recompile incrementally with a Git pull instead of full download.

It has compiled and is running but still tracking down Dragon lack of texture and animation that somehow disappeared when testing without installing anything.
All I did was delete logs and cache.
I will wait for repository release to install on target system.
User avatar
CoolGames
 
Posts: 15
Joined: Fri Jan 12, 2018 12:31 am
Version: 2017.3.1
OS: Ubuntu Studio 17.10

Re: Ubuntu Studio 17.10 - flightgear 2018 error

Postby wkitty42 » Mon Mar 19, 2018 5:49 pm

CoolGames wrote in Mon Mar 19, 2018 12:22 am: #include <QvariantList>

yeah, the lower case 'v' was the problem here... it has been fixed in the repo...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5428
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest