Home > Mac OS X > ROS Kinetic build errors on Mac OS X

ROS Kinetic build errors on Mac OS X

Recently I’ve tried to install the latest ROS Kinetic on my Max OS X 10.11.6. And I had 3 errors which I’ve fixed.

  1. Building package “Geometric shapes” fails with error “ld: library not found for -lassimp”. Fix: 
    1. If you use official instruction from the ROS website, go to ~/ros_catkin_ws/build_isolated/geometric_shapes/CMakeFiles/geometric_shapes.dir/link.txt and replace -lassimp with /usr/local/lib/libassimp.dylib (use your location).
    2. If you use ros-install-osx script, go to folder where the source code is stored, e.g. kinetic_desktop_ws/src/geometric_shapes/ and open CMakeLists.txt. Make the line 70 look like this target_link_libraries(${PROJECT_NAME} /usr/local/lib/libassimp.dylib ${QHULL_LIBRARIES}
  2. A lot of errors while compiling nodelet_tutorial_math package. Fix:
    1. Try this solution.
    2. In the install file add -DCMAKE_FIND_FRAMEWORK=LAST to the catkin config command call (line 156).
  3. rosrun rviz rviz fails with SEGFAUL error. FIX:
    add to kinetic_desktop_ws/src/rviz/src/rviz/ogre_helpers/render_system.cpp right before #include this #define QT_MAC_USE_COCOA to make Qt use proper libraries


Categories: Mac OS X Tags: , , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: