bondcpp fails on osx
Hello!
I tried the tutorial http://wiki.ros.org/indigo/Installati... and I know there is a section there for bondcpp
fails and the exact problem I have, which is:
Built target roscpp_generate_messages_cpp
Linking CXX shared library /Users/tiberio/ros_catkin_ws/devel_isolated/bondcpp/lib/libbondcpp.dylib
ld: library not found for -luuid
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/tiberio/ros_catkin_ws/devel_isolated/bondcpp/lib/libbondcpp.dylib] Error 1
make[1]: *** [CMakeFiles/bondcpp.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'bondcpp':
Command '/Users/tiberio/ros_catkin_ws/install_isolated/env.sh make -j8 -l8' returned non-zero exit status 2
Reproduce this error by running:
==> cd /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp && /Users/tiberio/ros_catkin_ws/install_isolated/env.sh make -j8 -l8
Command failed, exiting.
However the solution doesn't work. Am I doing it right?
I did:
brew update
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro indigo -y
and then tried again
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
and had no better luck.
I thank you all for the patience and time in advance.
EDIT: Output from VERBOSE=1, I ran only cd /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp && VERBOSE=1 /Users/tiberio/ros_catkin_ws/install_isolated/env.sh make -j8 -l8
cd /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp && /Users/tiberio/ros_catkin_ws/install_isolated/env.sh make VERBOSE=1 -j8 -l8
/usr/local/Cellar/cmake/3.0.2/bin/cmake -H/Users/tiberio/ros_catkin_ws/src/bond_core/bondcpp -B/Users/tiberio/ros_catkin_ws/build_isolated/bondcpp --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_start /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp/CMakeFiles /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build.make CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/bond_generate_messages_cpp.dir/build.make CMakeFiles/bond_generate_messages_cpp.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/bond_generate_messages_lisp.dir/build.make CMakeFiles/bond_generate_messages_lisp.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/bond_generate_messages_py.dir/build.make CMakeFiles/bond_generate_messages_py.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/std_msgs_generate_messages_lisp.dir/build.make CMakeFiles/std_msgs_generate_messages_lisp.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/roscpp_generate_messages_cpp.dir/build.make CMakeFiles/roscpp_generate_messages_cpp.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build.make CMakeFiles/rosgraph_msgs_generate_messages_py.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/std_msgs_generate_messages_py.dir/build.make CMakeFiles/std_msgs_generate_messages_py.dir/depend
cd /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp && /usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/tiberio/ros_catkin_ws/src/bond_core/bondcpp /Users/tiberio/ros_catkin_ws/src/bond_core/bondcpp /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/DependInfo.cmake --color=
cd /Users/tiberio/ros_catkin_ws/build_isolated/bondcpp && /usr/local/Cellar/cmake/3.0.2/bin ...
Can you rerun your build command with
VERBOSE=1
before it and edit your question to include that output? Having that before your command should cause the exact flags passed toc++
to be displayed on the console, which should give us some more insight.