i was able to compile with this PKGBUILD: https://gist.github.com/greboide/2949ae90ab6a23a9c541086439f1533a ive used patchs from here: https://bitbucket.org/osrf/gazebo/issues/2475/gazebo9-compile-error-with-ogre111 but i did not tested it to see if it is working...
Search Criteria
Package Details: gazebo 11.14.0-2
Package Actions
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)
- boost (boost-gitAUR)
- cppzmq (cppzmq-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- freeglut (freeglut-x11-gitAUR, freeglut-wayland-gitAUR)
- freeimage
- graphviz
- ignition-cmake-2AUR
- ignition-common-3AUR
- ignition-fuel_tools-4AUR
- ignition-math-6AUR
- ignition-msgs-5AUR
- ignition-transport-8AUR
- libccdAUR (libccdAUR, libccd-gitAUR)
- libltdl (libtool-gitAUR, libtool)
- libtar
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- ogre-1.9AUR
- protobuf (protobuf-gitAUR)
- qwt
- sdformat-9AUR
- tbb (onetbb-gitAUR, onetbb)
- tinyxml2 (tinyxml2-gitAUR)
- cmake (cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- ruby-ronn (ruby-ronn-ng) (make)
- bullet (bullet-gitAUR, bullet-dp) (optional) – Bullet support
- ceguiAUR (cegui-gitAUR) (optional) – Design custom graphical interfaces
- ffmpeg4.4 (optional) – Playback movies on textured surfaces
- gdal (gdal-libkmlAUR, gdal-libkml-filegdbAUR, gdal-hdf4AUR, gdal-ecwAUR) (optional) – Digital elevation terrains support
- libdartAUR (optional) – DART support
- libspnav (libspnav-gitAUR) (optional) – space navigator joystick support
- libusb (libusb-gitAUR) (optional) – USB peripherals support
- simbodyAUR (optional) – Simbody support
- urdfdomAUR (optional) – Load URDF files
Required by (8)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 16 17 18 19 20 21 22 23 24 25 26 .. 33 Next › Last »
greboide commented on 2018-07-22 17:22 (UTC)
1CatchMe1 commented on 2018-07-14 14:44 (UTC)
@LazyLucretia comment "patch -Np2 -i "${srcdir}/ogre-1.10.patch" in PKGBUILD
jlecoeur commented on 2018-07-14 10:46 (UTC)
Same here, I have downgraded boost as indicated by @nicolino as a temporary fix. An annoying side effect is that libre office now crashes on startup.
A proper fix would be really appreciated!
braineniac commented on 2018-07-14 10:21 (UTC)
@LazyLucretia I am having the same issue. Still waiting for a proper fix
LazyLucretia commented on 2018-07-13 19:33 (UTC)
@rochus I tried your patch. Unfortunately, it did not work for me. I get this error when I try to build:
In file included from /home/umut/.manually_installed_pkgs/gazebo/src/gazebo-9.0.0/gazebo/rendering/MovableText.hh:27,
from /home/umut/.manually_installed_pkgs/gazebo/src/gazebo-9.0.0/gazebo/rendering/ApplyWrenchVisual.cc:24:
/home/umut/.manually_installed_pkgs/gazebo/src/gazebo-9.0.0/gazebo/rendering/ogre_gazebo.h:34:10: fatal error: OGRE/OgreWindowEventUtilities.h: No such file or directory
#include <OGRE/OgreWindowEventUtilities.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [gazebo/rendering/CMakeFiles/gazebo_rendering.dir/build.make:63: gazebo/rendering/CMakeFiles/gazebo_rendering.dir/ApplyWrenchVisual.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2501: gazebo/rendering/CMakeFiles/gazebo_rendering.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
rochus commented on 2018-07-03 06:35 (UTC) (edited on 2018-07-03 06:36 (UTC) by rochus)
@LazyLucretia, the compilation errors are due to boost 1.67. Upstream gazebo already fixed these issues in their master branch. You can find my patch in which I backported the relevant changes for the AUR package here: https://gist.github.com/rochus/82ab183cbbebe91ca427e29a28fa3b77
LazyLucretia commented on 2018-06-23 12:34 (UTC)
@nicolino Your suggested workaround indeed lets gazebo build. However, I (probably like many other robotics researcher) was trying to install the ros-melodic-desktop-full
package which includes gazebo. Unfortunately, downgrading ogre
, boost
and boost-libs
breaks dependencies for ros-melodic-diff-drive-controller
which is also a part of ros-melodic-desktop-full
package.
nicolino commented on 2018-06-22 14:47 (UTC) (edited on 2018-06-22 15:14 (UTC) by nicolino)
Hi,
I have found a workaround to make it compile and run. I will restrain to make any personal comment, but it is easy to understand where the problem lies.
I have managed to make it work with a combination of luck and downgrade.
Simply downgrade ogre and the combination of boost and boost-libs to the following versions:
Ogre: ogre-1.10.10-3-x86_64.pkg.tar.xz boost: boost-1.66.0-3-x86_64.pkg.tar.xz boost-libs: boost-libs-1.66.0-3-x86_64.pkg.tar.xz
It then works without any patch.
OF COURSE IT BREAKS BOOST DEPENDENCIES but if you are reading this it means you work with Gazebo, and it is probably a research project and you can handle, for a while, this stuff.
Best Regards
LazyLucretia commented on 2018-06-22 11:42 (UTC)
Currently, build fails on my machine with this error message:
[ 14%] Building CXX object gazebo/common/CMakeFiles/gazebo_common.dir/Console.cc.o
/home/umut/.cache/aurman/gazebo/src/gazebo-9.0.0/gazebo/common/Console.cc: In member function ‘void gazebo::common::FileLogger::Init(const string&, const string&)’:
/home/umut/.cache/aurman/gazebo/src/gazebo-9.0.0/gazebo/common/Console.cc:197:12: error: no match for ‘operator==’ (operand types are ‘boost::system::error_code’ and ‘int’)
if (ec == 0)
~~~^~~~
/home/umut/.cache/aurman/gazebo/src/gazebo-9.0.0/gazebo/common/Console.cc:197:12: note: candidate: ‘operator==(int, int)’ <built-in>
/home/umut/.cache/aurman/gazebo/src/gazebo-9.0.0/gazebo/common/Console.cc:197:12: note: no known conversion for argument 1 from ‘boost::system::error_code’ to ‘int’
In file included from /usr/include/boost/filesystem/path_traits.hpp:23,
from /usr/include/boost/filesystem/path.hpp:25,
from /usr/include/boost/filesystem.hpp:16,
from /home/umut/.cache/aurman/gazebo/src/gazebo-9.0.0/gazebo/common/Console.cc:18:
/usr/include/boost/system/error_code.hpp:611:17: note: candidate: ‘bool boost::system::operator==(const boost::system::error_code&, const boost::system::error_condition&)’
inline bool operator==( const error_code & code,
^~~~~~~~
/usr/include/boost/system/error_code.hpp:611:17: note: no known conversion for argument 2 from ‘int’ to ‘const boost::system::error_condition&’
/usr/include/boost/system/error_code.hpp:624:17: note: candidate: ‘bool boost::system::operator==(const boost::system::error_condition&, const boost::system::error_code&)’
inline bool operator==( const error_condition & condition,
^~~~~~~~
/usr/include/boost/system/error_code.hpp:624:17: note: no known conversion for argument 1 from ‘boost::system::error_code’ to ‘const boost::system::error_condition&’
/usr/include/boost/system/error_code.hpp:526:26: note: candidate: ‘bool boost::system::operator==(const boost::system::error_code&, const boost::system::error_code&)’
inline friend bool operator==( const error_code & lhs,
^~~~~~~~
/usr/include/boost/system/error_code.hpp:526:26: note: no known conversion for argument 2 from ‘int’ to ‘const boost::system::error_code&’
make[2]: *** [gazebo/common/CMakeFiles/gazebo_common.dir/build.make:193: gazebo/common/CMakeFiles/gazebo_common.dir/Console.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1544: gazebo/common/CMakeFiles/gazebo_common.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
1CatchMe1 commented on 2018-06-20 06:16 (UTC)
@GPereira Could you put patches, please?
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.