Package Details: flightgear-git 2020.4.0r15376.4e432b3f8-1

Git Clone URL: https://aur.archlinux.org/flightgear-git.git (read-only, click to copy)
Package Base: flightgear-git
Description: An open-source, multi-platform flight simulator
Upstream URL: https://home.flightgear.org
Licenses: GPL
Conflicts: flightgear
Provides: flightgear
Submitter: pascal
Maintainer: AWhetter (acxz)
Last Packager: flatwhatson
Votes: 17
Popularity: 0.35
First Submitted: 2010-07-24 14:22 (UTC)
Last Updated: 2021-05-02 10:16 (UTC)

Latest Comments

jhogan commented on 2022-01-13 23:17 (UTC) (edited on 2022-01-13 23:18 (UTC) by jhogan)

Hi. Flightgear next will now make use of osgXR if available to enable some basic VR support, otherwise it will try to build its own static built-in version of osgXR which would implicitly depend on OpenXR.

So 3 possible options (in order of preference):

1) add 'libosgXR' to depends so that the osgXR shared library provided by https://aur.archlinux.org/packages/osgxr/ (which pulls in 'openxr') is automatically used (cmake ENABLE_VR and SYSTEM_OSGXR will both default to ON)

2) add the cmake option -DSYSTEM_OSGXR=OFF and add 'openxr' 'libglvnd' to depends, so flightgear will attempt to build its own static built-in version of osgXR (which would depend on OpenXR (and GLX)).

3) add the cmake option -DENABLE_VR=OFF to prevent the implicit dependencies, but obviously disables any VR support.

tldrc commented on 2021-10-16 02:44 (UTC) (edited on 2021-10-16 07:37 (UTC) by tldrc)

Edit: I installed SimGear-git that should give me the 2020.4 version and now I am getting a new error. [ 9%] Building CXX object CMakeFiles/fgfsObjects.dir/src/Environment/metarproperties.cxx.o /var/tmp/pamac-build-tl/flightgear-git/src/flightgear/src/Environment/metarproperties.cxx: In member function ‘const char Environment::MetarProperties::get_metar() const’: /var/tmp/pamac-build-tl/flightgear-git/src/flightgear/src/Environment/metarproperties.cxx:208:20: error: ‘class FGMetar’ has no member named ‘getRawDataPtr’ 208 | return _metar->getRawDataPtr(); | ^~~~~~~~~~~~~ make[2]: [CMakeFiles/fgfsObjects.dir/build.make:1140: CMakeFiles/fgfsObjects.dir/src/Environment/metarproperties.cxx.o] Error 1 make[1]: [CMakeFiles/Makefile2:1677: CMakeFiles/fgfsObjects.dir/all] Error 2 make: ** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

TheHitMan commented on 2021-09-02 00:43 (UTC)

it was my fault ... my xorgproto was an old xorgproto git version ...

GDsouza commented on 2021-08-31 06:21 (UTC)

@TheHitMan That header is provided by xorgproto. You should have that installed as a dependency already.

TheHitMan commented on 2021-08-31 02:11 (UTC)

/usr/include/X11/Xlib.h:44:10: schwerwiegender Fehler: X11/X.h: Datei oder Verzeichnis nicht gefunden 44 | #include <X11/X.h> | ^~~~~~~~~ Kompilierung beendet.

X11/X.h not found ...

flatwhatson commented on 2021-05-02 10:17 (UTC)

@dreieck Done, thanks for the help!

dreieck commented on 2021-05-02 10:05 (UTC) (edited on 2021-05-02 10:53 (UTC) by dreieck)

git needs to be added to the makedepends.

Thanks for maintaining!

dreieck commented on 2021-05-02 09:44 (UTC) (edited on 2021-05-02 10:53 (UTC) by dreieck)

Can you change provides=('flightgear') to provides=("flighgear=${pkgver}")?

@Woodhousezb: I get 2020.4*-version.

Thanks for maintaining!

Woodhousezb commented on 2021-01-31 11:34 (UTC)

Yesterday building this produced a 2020.4 version. Building today gives a 2020.3 version, and thus a downgrade?

flatwhatson commented on 2020-10-13 11:53 (UTC)

@Woodhousezb I think you need to update your simgear-git before building this one.

Woodhousezb commented on 2020-10-13 11:33 (UTC) (edited on 2020-10-13 11:35 (UTC) by Woodhousezb)

I am now getting another Error further down the line and compile will not finish:


/var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx: In function ‘naRef f_print(naContext, naRef, int, naRef)’:
/var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx:539:41: error: ‘SG_MANDATORY_INFO’ was not declared in this scope
  539 |         if (sglog().would_log(SG_NASAL, SG_MANDATORY_INFO)) {
      |                                         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/simgear/props/props.hxx:34,
                 from /var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx:38:
/var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx:554:26: error: ‘SG_MANDATORY_INFO’ was not declared in this scope
  554 |         SG_LOG(SG_NASAL, SG_MANDATORY_INFO, buf);
      |                          ^~~~~~~~~~~~~~~~~
/var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx: In member function ‘void FGNasalSys::initLogLevelConstants()’:
/var/tmp/pamac-build-melle/flightgear-git/src/flightgear/src/Scripting/NasalSys.cxx:1060:47: error: ‘SG_MANDATORY_INFO’ was not declared in this scope
 1060 |     hashset(_globals, "MANDATORY_INFO", naNum(SG_MANDATORY_INFO));
      |                                               ^~~~~~~~~~~~~~~~~
[ 75%] Building CXX object src/Main/CMakeFiles/fgfs.dir//Scripting/NasalString.cxx.o
[ 75%] Building CXX object src/Main/CMakeFiles/fgfs.dir//Scripting/NasalModelData.cxx.o
[ 75%] Building CXX object src/Main/CMakeFiles/fgfs.dir//Scripting/NasalSGPath.cxx.o
[ 75%] Building CXX object src/Main/CMakeFiles/fgfs.dir//Scripting/NasalUnitTesting.cxx.o
make[2]:  [src/Main/CMakeFiles/fgfs.dir/build.make:3748: src/Main/CMakeFiles/fgfs.dir/__/Scripting/NasalSys.cxx.o] Error 1
make[2]: ** Waiting for unfinished jobs....
make[1]:  [CMakeFiles/Makefile2:3505: src/Main/CMakeFiles/fgfs.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

PCITechie commented on 2020-08-05 17:08 (UTC) (edited on 2020-08-05 17:13 (UTC) by PCITechie)

Openscenegraph34 does not exist in the AUR nor in the official repos as far as i can tell. I have requested the simgear-git maintainers fix this. For now before building just edit the simgear-git PKGBUILD manually.

acxz commented on 2020-01-18 01:46 (UTC)

I cannot install this package, error:

==> Error: Could not find all required packages:
    openscenegraph34 (Wanted by: flightgear-git)
    openscenegraph34 (Wanted by: flightgear-git -> simgear-git)

GDsouza commented on 2019-10-13 20:42 (UTC)

@satscape: You need to patch some weirdness with Boost. There's a working copy here >> https://github.com/GDsouza/PKGBUILDS

satscape commented on 2019-10-13 17:59 (UTC)

-- Found Boost: /usr/lib64/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
CMake Error at CMakeModules/BoostTestTargets.cmake:55 (message): NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0 required but not found. (found: '1.71.0' want >=103400) You may disable ENABLE_TESTS to continue without the tests. Call Stack (most recent call first): CMakeLists.txt:222 (include)

-- Configuring incomplete, errors occurred! See also "/home/scott/.cache/yay/simgear-git/src/simgear/CMakeFiles/CMakeOutput.log". See also "/home/scott/.cache/yay/simgear-git/src/simgear/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting... Error making: simgear-git

GDsouza commented on 2019-01-12 04:56 (UTC)

@simona, Could you please attach an error log from the build?

simona commented on 2019-01-11 23:08 (UTC)

do not install :-(

gadget3000 commented on 2012-05-11 13:50 (UTC)

I've emailed the maintainer to try and get him/her to update the package. Until then there is a working PKGBUILD here: http://pastebin.com/BSDX3BS4

commented on 2011-11-04 22:12 (UTC)

simgear-git and flightgear-git have now switched to cmake, marking out of date.