you have to downgrade tinyxml2 to 4
OR see this:
https://github.com/leethomason/tinyxml2/issues/498
I have just installed it now and it has been built successfully.
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 .. 21 22 23 24 25 26 27 28 29 30 31 .. 33 Next › Last »
1CatchMe1 commented on 2017-06-28 17:49 (UTC)
wbthomason commented on 2017-06-26 21:21 (UTC)
This is failing to build for me (with either the current PKGBUILD or the PKGBUILD in the gist linked by @zaidan) with a linking error: "util/libgazebo_util.so.8.0.0: undefined reference to `tinyxml2::StrPair::GetStr()'
I've reinstalled tinyxml2, but with no luck. Has anyone gotten this to build recently?
zaidan commented on 2017-06-09 14:39 (UTC)
had to rebuild ignition-msgs
zaidan commented on 2017-06-09 12:41 (UTC)
@marauder yuxiang.li's PKGBUILD fixed by jap48 and published here by mimoralea as gist was the last working PKGBUILD:
https://gist.github.com/mimoralea/fc78869ed9236e34b38def9920831a6b
but it is broken after protobuf update:
https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/protobuf
[ 25%] Building CXX object gazebo/msgs/CMakeFiles/gazebo_msgs.dir/msgs.cc.o
In file included from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.hh:32:0,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.cc:26:
/usr/include/ignition/msgs0/ignition/msgs/color.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/color.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/color.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
In file included from /usr/include/ignition/msgs0/ignition/msgs/color.pb.h:31:0,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.hh:32,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.cc:26:
/usr/include/ignition/msgs0/ignition/msgs/header.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/header.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/header.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
In file included from /usr/include/ignition/msgs0/ignition/msgs/header.pb.h:31:0,
from /usr/include/ignition/msgs0/ignition/msgs/color.pb.h:31,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.hh:32,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.cc:26:
/usr/include/ignition/msgs0/ignition/msgs/time.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/time.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/time.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
In file included from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.hh:33:0,
from /AUR/gazebo/src/osrf-gazebo-85ba68a2545f/gazebo/msgs/msgs.cc:26:
/usr/include/ignition/msgs0/ignition/msgs/material.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/material.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/usr/include/ignition/msgs0/ignition/msgs/material.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
make[2]: *** [gazebo/msgs/CMakeFiles/gazebo_msgs.dir/build.make:4159: gazebo/msgs/CMakeFiles/gazebo_msgs.dir/msgs.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1110: gazebo/msgs/CMakeFiles/gazebo_msgs.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
ryanvade commented on 2017-06-06 02:48 (UTC)
seems to no longer be building for me:
/tmp/yaourt-tmp-ryan/aur-gazebo/src/gazebo-8.0.0/gazebo/common/VideoEncoder.cc: In member function ‘bool gazebo::common::VideoEncoder::Start(const string&, const string&, unsigned int, unsigned int, unsigned int, unsigned int)’:
/tmp/yaourt-tmp-ryan/aur-gazebo/src/gazebo-8.0.0/gazebo/common/VideoEncoder.cc:283:5: error: ‘avformat_alloc_output_context2’ was not declared in this scope
avformat_alloc_output_context2(&this->dataPtr->formatCtx, nullptr, nullptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/yaourt-tmp-ryan/aur-gazebo/src/gazebo-8.0.0/gazebo/common/VideoEncoder.cc:283:5: note: suggested alternative: ‘avformat_alloc_context’
avformat_alloc_output_context2(&this->dataPtr->formatCtx, nullptr, nullptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avformat_alloc_context
/tmp/yaourt-tmp-ryan/aur-gazebo/src/gazebo-8.0.0/gazebo/common/VideoEncoder.cc:305:14: error: ‘avcodec_get_name’ was not declared in this scope
<< avcodec_get_name(this->dataPtr->formatCtx->oformat->video_codec)
^~~~~~~~~~~~~~~~
/tmp/yaourt-tmp-ryan/aur-gazebo/src/gazebo-8.0.0/gazebo/common/VideoEncoder.cc:305:14: note: suggested alternative: ‘avcodec_get_type’
<< avcodec_get_name(this->dataPtr->formatCtx->oformat->video_codec)
marauder commented on 2017-06-06 00:11 (UTC)
@ryanvade Updated
ryanvade commented on 2017-06-06 00:03 (UTC)
boost was updated, a minor package revision update would be nice to force a rebuild.
maarroyo commented on 2017-05-16 16:08 (UTC) (edited on 2017-05-16 19:07 (UTC) by maarroyo)
The dependency on ogre was causing issues for me. Specifically I was getting the following error message:
[Err] [server_main.cc:54] Ogre Error:ItemIdentityException: Resource with the name DeferredRendering/Shadows/RSMCaster_Spot already exists. in ResourceManager::add at /build/ogre/src/ogre/OgreMain/src/OgreResourceManager.cpp (line 150)
[Err] [main.cc:34] Ogre Error:ItemIdentityException: Resource with the name DeferredRendering/Shadows/RSMCaster_Spot already exists. in ResourceManager::add at /build/ogre/src/ogre/OgreMain/src/OgreResourceManager.cpp (line 150)
To fix this, I ended up installing ogre-1.8 and modifying its install path to be '/usr' solved it.
japm48 commented on 2017-04-12 05:15 (UTC) (edited on 2017-04-12 05:15 (UTC) by japm48)
Please remove the qtwebkit dependency and replace it with qt5-webkit-ng.
PKGBUILD from the yuxiang.li comment works perfecly after that.
yuxiang.li commented on 2017-02-25 15:11 (UTC)
It seems that Gazebo 8 is based on Qt5 instead of Qt4. The dependencies should be updated and most importantly, we need to install qwt-qt5 instead of qwt, otherwise our executable is linked to both Qt4 and Qt5 which leads to segmentation fault at start.
Here is my PKGBUILD for Gazebo:
https://gist.github.com/lyx-x/e6908ef82351b462d4b2e480a43b076c
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.