ros-install-osx icon indicating copy to clipboard operation
ros-install-osx copied to clipboard

High Sierra support

Open jmtatsch opened this issue 6 years ago • 3 comments

Let's collect some roadblocks and solutions for building on OSX High Sierra:

  • Issue: Dependency matplotlib fails to build Solution: https://github.com/Homebrew/homebrew-science/pull/6382

Built successfully 👍 even rviz works, at least until shutting it down...

rqt_image_view has some problems though:

rqt_image_view                                                                                                                           tatsch@JRetinaMacbookPro
2017-11-03 07:48:49.398 Python[17745:1894993] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
  File "/opt/ros/lunar/lib/python2.7/site-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
    from . import libqt_gui_cpp_sip
ImportError: dlopen(/opt/ros/lunar/lib/python2.7/site-packages/qt_gui_cpp/libqt_gui_cpp_sip.so, 2): Library not loaded: @rpath/libclass_loader.dylib
  Referenced from: /opt/ros/lunar/lib/python2.7/site-packages/qt_gui_cpp/libqt_gui_cpp_sip.so
  Reason: image not found

qt_gui_main() found no plugin matching "rqt_image_view/ImageView"

Is that caused by system integrity protection although i have

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/ros/$ROS_DISTRO/lib

in the beginning of my

/opt/ros/lunar/bin/rosrun ?

jmtatsch avatar Oct 20 '17 20:10 jmtatsch

@jmtatsch Have you tried just using rqt and then selecting its image_view plugin? I was able to use image_view comfortably in High Sierra, though yes I did disable my SIP.

oceanusxiv avatar Nov 07 '17 07:11 oceanusxiv

image_view started as rqt plugin works for me, even with SIP still on. rqt_image_view not working directly is still an issue worthy tracking. Does it work for you with SIP disabled?

jmtatsch avatar Nov 07 '17 08:11 jmtatsch

rqt_image_view does indeed work for me with SIP disabled, so it looks like the workaround for SIP is not quite fullproof

oceanusxiv avatar Nov 07 '17 08:11 oceanusxiv