Posts Tagged ‘ros’

ROS Kinetic build errors on Mac OS X

08.03.2017 Leave a comment

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: , , , ,