Package Details: simgear 2024.1.3-1

Git Clone URL: https://aur.archlinux.org/simgear.git (read-only, click to copy)
Package Base: simgear
Description: A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications
Upstream URL: https://gitlab.com/flightgear/simgear
Licenses: LGPL-2.0-only
Submitter: Barthalion
Maintainer: mhdi
Last Packager: mhdi
Votes: 25
Popularity: 0.37
First Submitted: 2018-01-05 16:49 (UTC)
Last Updated: 2025-11-06 13:19 (UTC)

Latest Comments

1 2 3 4 Next › Last »

dreieck commented on 2025-09-15 14:08 (UTC)

Suggestion:

Remove this comment:

Development is on Github: https://github.com/acxz/flightgear-arch Please open issues and PRs there instead of commenting.

since @acxz is no longer the maintainer of this package.
To not divert users to that issue tracker which might just be ignored.

Regards!

dreieck commented on 2025-09-15 14:03 (UTC) (edited on 2025-09-15 14:04 (UTC) by dreieck)

Info:

Builds also with Boost 1.80.0. I did not try other versions between 1.80.0 and 1.88.0.

Using at least 1.80.0 would make terragear buildable again:

https://gitlab.com/flightgear/terragear/-/issues/2#note_2748858724

One would need to find out the newest Boost version which simgear version 2024.1.1 builds with, and then create the appropriate boost package into the AUR and adapt simgear, flightgear and terragear-git accordingly.

Regards!

dreieck commented on 2025-08-24 21:22 (UTC) (edited on 2025-08-25 08:24 (UTC) by dreieck)

Ahoj,

to use boost174 even if another (more up to date) version of boost is installed, add -DBoost_DIR=/opt/boost-1.74.0/lib/cmake/Boost-1.74.0 to the cmake command line.

This would make the requirement mentioned in comment from 2025-08-18 obsolete.

A Patch that determines that needed directory automatically:

--- PKGBUILD.orig   2025-08-24 23:13:02.175280995 +0200
+++ PKGBUILD    2025-08-24 23:22:34.698597700 +0200
@@ -3,3 +3,3 @@
 _pkgver=2024.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
@@ -14,2 +14,5 @@
 build() {
+  _boost174_version="$(pacman -Qi boost174 | grep -E '^Version[[:space:]]*:' | awk -F: '{print $2}' | sed -E -e 's|-[^-]*$||' | tr -d '[[:space:]]')"
+  _boost174_cmake_dir="$(pacman -Qql boost174 | grep -E "/lib/cmake/Boost-${_boost174_version}/$")"
+
   mv $srcdir/simgear-v${_pkgver} $srcdir/simgear
@@ -21,2 +24,3 @@
     -DENABLE_TESTS=OFF \
+    -DBoost_DIR="${_boost174_cmake_dir}" \
     ../simgear

Regards!

<deleted-account> commented on 2025-08-18 19:27 (UTC)

Note: Before building simgear, you HAVE to uninstall boost, and instead use boost174, or else it will fail to compile.

lemust83 commented on 2023-02-24 23:40 (UTC)

I can confirm this issue too: make[2]: [simgear/CMakeFiles/SimGearScene.dir/build.make:1826: simgear/CMakeFiles/SimGearScene.dir/scene/viewer/Compositor.cxx.o] Error 1 make[2]: Attente des tâches non terminées.... make[2]: [simgear/CMakeFiles/SimGearScene.dir/build.make:1840: simgear/CMakeFiles/SimGearScene.dir/scene/viewer/CompositorBuffer.cxx.o] Error 1 make[1]: [CMakeFiles/Makefile2:887: simgear/CMakeFiles/SimGearScene.dir/all] Error 2 make: *** [Makefile:156: all] Error 2

simona commented on 2023-02-23 09:23 (UTC)

make[2]: [simgear/CMakeFiles/SimGearScene.dir/build.make:1826: simgear/CMakeFiles/SimGearScene.dir/scene/viewer/Compositor.cxx.o] Error 1
make[1]:
[CMakeFiles/Makefile2:887: simgear/CMakeFiles/SimGearScene.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

acxz commented on 2022-09-07 14:48 (UTC)

Development is on Github: https://github.com/acxz/flightgear-arch Please open issues and PRs there instead of commenting.

flatwhatson commented on 2020-12-22 06:47 (UTC)

@gugah @onekopaka Thanks! I've pushed a fix for the compilation error.

onekopaka commented on 2020-12-22 05:19 (UTC) (edited on 2020-12-22 05:20 (UTC) by onekopaka)

I was able to get things building by adapting a change that was made to SimGear in its repo https://github.com/FlightGear/simgear/commit/39d616a0d591d9df6e3cab947952e140986952e6 though I ignored the style changes of the declaration to minimize the size of the diff.

Here's the diff to apply to the source:

diff --color --unified --recursive --text simgear-2020.3.4.orig/simgear/props/props.cxx simgear-2020.3.4.new/simgear/props/props.cxx
--- simgear-2020.3.4.orig/simgear/props/props.cxx       2020-12-21 20:57:57.338327502 -0800
+++ simgear-2020.3.4.new/simgear/props/props.cxx        2020-12-21 20:58:37.398237351 -0800
@@ -574,11 +574,8 @@
            int last_index = -1)
 {
   using namespace boost;
-  typedef split_iterator<typename range_result_iterator<Range>::type>
-    PathSplitIterator;

-  PathSplitIterator itr
-    = make_split_iterator(path, first_finder("/", is_equal()));
+  auto itr = make_split_iterator(path, first_finder("/", is_equal()));
   if (*path.begin() == '/')
     return find_node_aux(current->getRootNode(), itr, create, last_index);
    else

gugah commented on 2020-12-20 17:36 (UTC)

I'm getting the following error when compiling simgear 2020.3.4-1 (using up-to-date dependencies)

[ 41%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/props/propertyObject.cxx.o
[ 42%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/props/props.cxx.o
/tmp/yay-tmp/aur-simgear/src/simgear-2020.3.4/simgear/props/props.cxx: In function ‘SGPropertyNode* find_node(SGPropertyNode*, const Range&, bool, int)’:
/tmp/yay-tmp/aur-simgear/src/simgear-2020.3.4/simgear/props/props.cxx:577:69: error: template argument 1 is invalid
  577 |   typedef split_iterator<typename range_result_iterator<Range>::type>
      |                                                                     ^
/tmp/yay-tmp/aur-simgear/src/simgear-2020.3.4/simgear/props/props.cxx: In instantiation of ‘SGPropertyNode* find_node(SGPropertyNode*, const Range&, bool, int) [with Range = boost::iterator_range<const char*>]’:
/tmp/yay-tmp/aur-simgear/src/simgear-2020.3.4/simgear/props/props.cxx:2113:26:   required from here
/tmp/yay-tmp/aur-simgear/src/simgear-2020.3.4/simgear/props/props.cxx:581:26: error: cannot convert ‘boost::algorithm::split_iterator<const char*>’ to ‘PathSplitIterator’ {aka ‘int’} in initialization
  581 |     = make_split_iterator(path, first_finder("/", is_equal()));
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          boost::algorithm::split_iterator<const char*>
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/build.make:1720: simgear/CMakeFiles/SimGearCore.dir/props/props.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1025: simgear/CMakeFiles/SimGearCore.dir/all] Error 2
make: *** [Makefile:171: all] Error 2

I have tried the "-fpermissive" option to -DCMAKE_CXX_FLAGS in PKGBUILD for cmake with no luck.