Package Details: gazebo 11.14.0-2

Git Clone URL: https://aur.archlinux.org/gazebo.git (read-only, click to copy)
Package Base: gazebo
Description: A multi-robot simulator for outdoor environments
Upstream URL: https://classic.gazebosim.org/
Licenses: Apache
Submitter: None
Maintainer: acxz
Last Packager: acxz
Votes: 35
Popularity: 0.000062
First Submitted: 2008-10-18 22:59 (UTC)
Last Updated: 2023-12-11 14:35 (UTC)

Dependencies (34)

Sources (1)

Pinned Comments

billypilgrim commented on 2022-05-09 16:04 (UTC)

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

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 33 Next › Last »

billypilgrim commented on 2020-04-16 19:08 (UTC)

I've updated to v11 now, hopefully fixing all the build errors.

v11 is not entirely backwards compatible with v10, so someone might want to fork this package to keep the v10 series around.

acxz commented on 2020-04-09 22:50 (UTC)

@billypilgrim can you add kartikmohta's patch to fix the build?

MaEtUgR commented on 2020-04-09 09:56 (UTC)

@kartikmohta Thank you, that was a very good hint. I got it working with

# install gazebo from AUR
yay -S gazebo --noconfirm

# fix incompatible cmake policy that leads to linking error
# see https://aur.archlinux.org/packages/gazebo/#comment-738399
pushd ~/.cache/yay/gazebo/src/gazebo-10.2.0/
sed -i '/endif(COMMAND CMAKE_POLICY)/i \ \ CMAKE_POLICY(SET CMP0100 NEW)' CMakeLists.txt
cd ../..
makepkg -si --noextract --noconfirm
popd

I also had to rebuild ignition-fuel_tools-1, just in case someone is running into the same issue.

kartikmohta commented on 2020-04-09 06:01 (UTC)

@MaEtUgR

You need the following patch to fix compilation with new cmake.

--- gazebo-10.2.0/CMakeLists.txt    2020-04-08 22:50:23.733672485 -0700
+++ gazebo-10.2.0/CMakeLists.txt    2020-04-08 22:22:55.533102191 -0700
@@ -3,6 +3,7 @@
 if(COMMAND CMAKE_POLICY)
   CMAKE_POLICY(SET CMP0003 NEW)
   CMAKE_POLICY(SET CMP0004 NEW)
+  CMAKE_POLICY(SET CMP0100 NEW)
 endif(COMMAND CMAKE_POLICY)

 project (Gazebo)

billypilgrim commented on 2020-03-30 15:15 (UTC)

Thanks all for sorting this out.

Just FYI, as I said before, the v11 series of Gazebo has been released, but I'm still waiting on a fix for swig to reach the main repos before I update it because some of gazebo's dependencies are currently not building.

bionade24 commented on 2020-03-30 13:45 (UTC)

@MaEtUgR: Sorry, my fault then. Seems like it works in my chroot because one of the deps was built a time ago.

MaEtUgR commented on 2020-03-30 13:30 (UTC) (edited on 2020-03-30 13:32 (UTC) by MaEtUgR)

@bionade24 I deleted the comment with the problem description immediately upon your request. I am Arch user. None of it was specific to my setup, I reproduced in a fresh archlinux-latest container and get the exact same output for yay -S gazebo --noconfirm:

[ 72%] Linking CXX executable gazebo
/usr/sbin/ld: gui/libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::TerrainEditorPalette::staticMetaObject'
/usr/sbin/ld: gui/libgazebo_gui.so.10.2.0: undefined reference to `vtable for gazebo::gui::IncrementalPlot'
...
/usr/sbin/ld: gui/libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::LinkInspector::staticMetaObject'
/usr/sbin/ld: gui/libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::ModelPluginInspector::staticMetaObject'
/usr/sbin/ld: gui/libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::MainWindow::TrackVisual(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [gazebo/CMakeFiles/gazebo.dir/build.make:157: gazebo/gazebo-10.2.0] Error 1
make[2]: Leaving directory '/home/builduser/.cache/yay/gazebo/src/gazebo-10.2.0/build'
make[1]: *** [CMakeFiles/Makefile2:2546: gazebo/CMakeFiles/gazebo.dir/all] Error 2
make[1]: Leaving directory '/home/builduser/.cache/yay/gazebo/src/gazebo-10.2.0/build'
make: *** [Makefile:158: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gazebo
$ lsb_release -a
LSB Version:    1.4
Distributor ID: Arch
Description:    Arch Linux
Release:    rolling
Codename:   n/a

bionade24 commented on 2020-03-30 09:55 (UTC)

@MaEtUgR: I don't care about that, I WANTED YOU TO DELETE YOUR COMMENTS NOT TO SWITCH. The AUR is mainly for Arch users and please delete your Manjaro specific comments.

julianoes commented on 2020-03-30 09:13 (UTC)

I just tried to rebuild Gazebo using yay -Sy --rebuildtree gazebo and it fails to link for me:

/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `vtable for gazebo::gui::EditorItem'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `vtable for gazebo::gui::GeometryConfigWidget'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::SchematicViewWidget::staticMetaObject'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::LogPlayWidget::SetCurrentDays(QString const&)'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::VideoRecorder::RecordingChanged(bool)'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `vtable for gazebo::gui::CurrentTimeItem'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::ImageView::staticMetaObject'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::LinkInspector::staticMetaObject'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::ModelPluginInspector::staticMetaObject'
/usr/bin/ld: libgazebo_gui.so.10.2.0: undefined reference to `gazebo::gui::MainWindow::TrackVisual(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [gazebo/gui/CMakeFiles/gzclient.dir/build.make:299: gazebo/gui/gzclient-10.2.0] Error 1
make[2]: Leaving directory '/home/julianoes/.cache/yay/gazebo/src/gazebo-10.2.0/build'
make[1]: *** [CMakeFiles/Makefile2:3930: gazebo/gui/CMakeFiles/gzclient.dir/all] Error 2
make[1]: Leaving directory '/home/julianoes/.cache/yay/gazebo/src/gazebo-10.2.0/build'
make: *** [Makefile:180: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gazebo

Any idea what I should try? Thanks!