Posts Tagged ‘Mac OS X’

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

Error with “kpathsea: Running mktexmf”

14.11.2013 Leave a comment

I installed BasicTex.pkg on Mac Os X, and tried to make PDF from IPython Notebook. But suddenly received an error:

kpathsea: Running mktexmf $NAME$
! I can't find file `$NAME$'.

This can be fixed with installing font packages from TeX Live Utility. This packages are included neither in BasicTeX.pkg nor in mactex-additions.pkg. But they are required for generating pdf.
It can be fixed by installing packages with summary “URW “Base 35″ font pack for LaTeX.”



After installation this errors would not appear again, i hope 🙂

Categories: Mac OS X Tags: , , , ,