Ask Your Question

Continued: Installing on Mac Sierra: qt_gui_cpp_sip errors

asked 2017-07-19 17:19:29 -0500

pitosalas gravatar image

It's turning out to be really important for me to try and get ROS installed on Mac even though I realize its not a supported platform (yet). I've made it through lots of hurdles and learned more about python and packages and macOS and ROS than I ever thought possible!

This command fails:

bash-3.2$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

And at the end of the log it gives me this command to reproduce the problem. Here's the output:

cd /Users/pitosalas/ros_catkin_ws/build_isolated/qt_gui_cpp && /Users/pitosalas/ros_catkin_ws/install_isolated/ make -j8 -l8
[ 83%] Built target qt_gui_cpp
[ 88%] Running SIP generator for qt_gui_cpp_sip Python bindings...
sip: Deprecation warning: qt_gui_cpp.sip:1: %Module version number should be specified using the 'version' argument
sip: Unable to find file "QtCore/QtCoremod.sip"
Traceback (most recent call last):
  File "/Users/pitosalas/ros_catkin_ws/install_isolated/share/python_qt_binding/cmake/", line 78, in <module>
  File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/Cellar/sip/4.19.3_1/bin/sip', '-c', '/Users/pitosalas/ros_catkin_ws/build_isolated/qt_gui_cpp/sip/qt_gui_cpp_sip', '-b', '/Users/pitosalas/ros_catkin_ws/build_isolated/qt_gui_cpp/sip/qt_gui_cpp_sip/pyqtscripting.sbf', '-I', '/usr/local/share/sip/PyQt5', '-w', '-x', 'VendorID', '-t', 'WS_MACX', '-t', 'Qt_5_9_1', '-x', 'Py_v3', 'qt_gui_cpp.sip']' returned non-zero exit status 1
make[2]: *** [sip/qt_gui_cpp_sip/Makefile] Error 1
make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-07-20 03:03:35 -0500

lubiluk gravatar image

updated 2017-07-20 03:04:36 -0500

This issue is described in the installation docs in section 4.3: You should manually create this link:

ln -s /usr/local/share/sip/Qt5 /usr/local/share/sip/PyQt5

Also check out my gist of successful ROS installation on macOS Sierra for solutions to further problems. I hope it helps somewhat.

edit flag offensive delete link more

answered 2017-07-20 08:41:54 -0500

pitosalas gravatar image

Thanks! I had not been paying enough attention to the FAQ. my bad.

This link is awesome!!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-07-19 17:19:29 -0500

Seen: 797 times

Last updated: Jul 20 '17