Package Details: ros-indigo-stage 4.1.1-9

Git Clone URL: (read-only, click to copy)
Package Base: ros-indigo-stage
Description: ROS - Mobile robot simulator
Upstream URL:
Licenses: GPL
Submitter: bchretien
Last Packager:
Votes: 1
Popularity: 0.000000
First Submitted: 2014-06-07 17:26
Last Updated: 2017-02-25 23:09

Latest Comments

nylocx commented on 2017-01-17 11:10

The fix still works for kinetic but I had to use a slightly different prepare function.

prepare() {
cd ${srcdir}/${_dir}
sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' libstage/stage.hh
patch -p2 < ${startdir}/ros-kinetic-stage.patch

Maybe this will help others ;)

yiuin commented on 2016-07-17 21:31

Can confirm alvearian's fixes work.

Prepare stage:

prepare() {
sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' stage/libstage/stage.hh
patch -p1 < ${startdir}/ros-indigo-stage.patch.cpp

alvearian commented on 2016-05-22 14:53

Doesn't compile with gcc 6.1.1, with errors:
1. stage/libstage/stage.hh:625:62: error: unable to find string literal operator ‘operator""m
2. stage/libstage/ error: call of overloaded ‘abs(const double&)’ is ambiguous
const int32_t ay(abs(dy));

I was able to fix the issue by adding these steps to prepare():
1. sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' stage/libstage/stage.hh
2. applying this patch: