ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

stage_ros indigo building error

asked 2015-09-19 05:56:34 -0500

Andrea gravatar image

Hi all,

I am trying to install ros on MacOs Yosemite and I have a problem with the stage_ros package. It fails when I try to compile it without any reason. In the following, you can find the output:

[stage_ros] ==> '/Users/morpheus/ros_catkin_ws/build/stage_ros/build_env.sh /usr/local/bin/cmake /Users/morpheus/ros_catkin_ws/src/stage_ros -DCATKIN_DEVEL_PREFIX=/Users/morpheus/ros_catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7' in '/Users/morpheus/ros_catkin_ws/build/stage_ros'
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /Users/morpheus/ros_catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo;/Users/morpheus/ros_catkin_ws/install_isolated
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.10")
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python
-- Using default Python package layout
-- Found PY_em: /usr/local/lib/python2.7/site-packages/em.pyc
-- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /Users/morpheus/ros_catkin_ws/build/stage_ros/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /usr/local/bin/nosetests-2.7
-- catkin 0.6.14
-- Using these message generators: gencpp;genlisp;genpy
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    PYTHON_INCLUDE_DIR
    PYTHON_LIBRARY


-- Build files have been written to: /Users/morpheus/ros_catkin_ws/build/stage_ros
[stage_ros] <== '/Users/morpheus/ros_catkin_ws/build/stage_ros/build_env.sh /usr/local/bin/cmake /Users/morpheus/ros_catkin_ws/src/stage_ros -DCATKIN_DEVEL_PREFIX=/Users/morpheus/ros_catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7' finished with return code '0'
[stage_ros] ==> '/Users/morpheus/ros_catkin_ws/build/stage_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' in '/Users/morpheus/ros_catkin_ws/build/stage_ros'
Scanning dependencies of target rosgraph_msgs_generate_messages_py
Scanning dependencies of target geometry_msgs_generate_messages_cpp
Scanning dependencies of target sensor_msgs_generate_messages_cpp
Scanning dependencies of target std_srvs_generate_messages_py
Scanning dependencies of target std_srvs_generate_messages_lisp
Scanning dependencies of target std_srvs_generate_messages_cpp
Scanning dependencies of target geometry_msgs_generate_messages_lisp
Scanning dependencies ...
(more)
edit retag flag offensive close merge delete

Comments

Did you install stage first?

allenh1 gravatar image allenh1  ( 2015-09-19 16:46:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-09-21 15:35:34 -0500

William gravatar image

This is a recently introduced bug in our version of Stage, see:

https://github.com/ros-simulation/sta...

I've already got a patch that I've already tested on OS X and I'm testing it now on Linux before releasing the fix.

You should be able to fix the problem by doing this:

rm -rf /Users/morpheus/ros_catkin_ws/src/stage
rm -rf /Users/morpheus/ros_catkin_ws/build/stage
git clone https://github.com/ros-gbp/stage-release.git -b release/indigo/stage /Users/morpheus/ros_catkin_ws/src/stage
cd /Users/morpheus/ros_catkin_ws
# Rerun the command you used to build your workspace ...
edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-09-19 05:56:34 -0500

Seen: 262 times

Last updated: Sep 21 '15