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

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!


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.

These message are result of the following command:

Has anyone managed to build this package? (it is one of dependencies for turtlebot simulator ( ), 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

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 | patch -p1

pushd src/ecl_core
curl | patch -p1

pushd src/ecl_lite
curl | patch -p1

pushd src/kobuki_desktop
curl | patch -p1

pushd src/turtlebot_create_desktop
curl | patch -p1

pushd src/kobuki_core
curl  | patch -p1

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


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


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

Seen: 453 times

Last updated: May 28 '14