mikepurvis / ros-install-osx

Installing ROS on OS X.
331 stars 114 forks source link

High Sierra support #86

Open jmtatsch opened 7 years ago

jmtatsch commented 7 years ago

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

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 ?

oceanusxiv commented 6 years ago

@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.

jmtatsch commented 6 years ago

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?

oceanusxiv commented 6 years ago

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