Package Details: gazebo 8.0.0-2

Git Clone URL: https://aur.archlinux.org/gazebo.git (read-only)
Package Base: gazebo
Description: A multi-robot simulator for outdoor environments
Upstream URL: http://gazebosim.org/
Licenses: Apache
Submitter: None
Maintainer: marauder
Last Packager: marauder
Votes: 19
Popularity: 2.391180
First Submitted: 2008-10-18 22:59
Last Updated: 2017-06-06 00:10

Dependencies (32)

Sources (1)

Latest Comments

zaidan commented on 2017-06-09 14:39

had to rebuild ignition-msgs

zaidan commented on 2017-06-09 12:41

@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

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

@ryanvade Updated

ryanvade commented on 2017-06-06 00:03

boost was updated, a minor package revision update would be nice to force a rebuild.

maarroyo commented on 2017-05-16 16:08

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.

jap48 commented on 2017-04-12 05:15

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

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

marauder commented on 2017-02-19 04:17

Updated PKGBUILD's needed to compile gazebo 8.0.0

ignition-math 3.0.0:https://gist.github.com/anonymous/999bbd815d1eb5cadc676929b8e63383
ignition-transport 3.0.0: https://gist.github.com/anonymous/8a340176b21e8231f5875ca799a59837
sdformat 5.0.0: https://gist.github.com/anonymous/2aa6f22a05809e1c719b0805d791506c

zorun commented on 2017-02-03 17:10

jbuchanan30: this package is orphaned and there is a new release 8.0.0, feel free to adopt it if you want.

All comments