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

Fail to build create_gazebo_plugins package on Mac OS X 10.9

asked 2014-05-26 10:36:20 -0500

anaderi gravatar image

updated 2014-10-24 13:53:11 -0500

ahendrix gravatar image

Hi all!

upon

rosinstall_generator turtlebot_gazebo --rosdistro hydro --deps --wet-only --tar > turtlebot.list
wstool merge -t src turtlebot.list
wstool update -t src
./src/catkin/bin/catkin_make_isolated --install

I end up with multiple "undefined symbol" errors. https://gist.github.com/anaderi/a3214...

These message are result of the following command: https://gist.github.com/anaderi/a3214...

Has anyone managed to build this package? (it is one of dependencies for turtlebot simulator ( http://answers.ros.org/question/15864... ), which I'm actually interested in most of all) (Sorry for not workable links, but is seems like a workaround for my lack of karma)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-28 00:27:12 -0500

demmeln gravatar image

updated 2014-05-28 00:38:14 -0500

The following instructions work for me on OS X 10.9 after patching a few packages. This builds, but I haven't tested running it. avahi seems to be a Linux-only thing, so we won't install related packages. I guess you don't need them for you purpose.

Edit: forgot one patch.

mkdir turtlebot_ws
cd turlebot_ws
. /opt/ros/hydro/setup.bash

# download source, but exclude zeroconf_avahi since this seems to be linux only thing
rosinstall_generator turtlebot_gazebo --rosdistro hydro --deps --wet-only --tar --exclude RPP zeroconf_avahi > turtlebot.list
wstool init -j8 src turtlebot.list

# manually install dependencies (rosdep rules are not complete on osx)
brew install libftdi0 libusb-compat

# the following is a dependency, but not needed for compiling. So you might need them to execute, or you might not.
brew install redis

# check what rosdep has to say
rosdep check --from-path src -i --skip-keys "avahi-utils ftdi-eeprom libftdi-dev avahi-daemon libusb-dev redis-server"
# this should only tell you to install "gcc" and "ros/hydro/zeroconf_avahi_suite", ignore those. 
# Install any additional packages coming up here by hand.

# apply patches
pushd src/openni_camera
curl https://github.com/ros-drivers/openni_camera/pull/22.patch | patch -p1
popd

pushd src/ecl_core
curl https://github.com/stonier/ecl_core/pull/36.patch | patch -p1
popd

pushd src/ecl_lite
curl https://github.com/stonier/ecl_lite/pull/5.patch | patch -p1
popd

pushd src/kobuki_desktop
curl https://github.com/yujinrobot/kobuki_desktop/pull/30.patch | patch -p1
popd

pushd src/turtlebot_create_desktop
curl https://github.com/turtlebot/turtlebot_create_desktop/pull/14.patch | patch -p1
popd

pushd src/kobuki_core
curl https://github.com/yujinrobot/kobuki_core/pull/14.patch  | patch -p1
popd

# build
catkin_make -DCMAKE_BUILD_TYPE=Release
edit flag offensive delete link more

Comments

I just tried following your instructions to compile the turtlebot simulator in my Mac, it builds almost until the end, but it seems to fail to link libgazebo_ros_kobuki.dylib with exactly the same message as the OP. What can I be doing wrong?

meneguzzi gravatar image meneguzzi  ( 2014-10-17 18:38:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-26 10:36:20 -0500

Seen: 439 times

Last updated: May 28 '14