Raspberry Pi Desktop Build Error QT
I'm building the full desktop version of ROS on a raspberry pi following these instructions: http://www.ros.org/wiki/groovy/Installation/Raspbian/Source
Currently I am at step 6
I'm not sure what is causing the error, here is the build log:
[ 84%] Running SIP generator for qt_gui_cpp_sip Python bindings...
roovy/share/python_qt_binding/cmake/shiboken_helper.cmake:11 (find_package):
By not providing "FindGeneratorRunner.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"GeneratorRunner", but CMake did not find one.
Could not find a package configuration file provided by "GeneratorRunner"
with any of the following names:
GeneratorRunnerConfig.cmake
generatorrunner-config.cmake
Add the installation prefix of "GeneratorRunner" to CMAKE_PREFIX_PATH or
set "GeneratorRunner_DIR" to a directory containing one of the above files.
If "GeneratorRunner" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
CMake Warning at /opt/ros/groovy/share/python_qt_binding/cmake/shiboken_helper.cmake:18 (message):
Shiboken binding generator NOT available.
Call Stack (most recent call first):
src/qt_gui_cpp_shiboken/CMakeLists.txt:41 (include)
-- SIP binding generator available.
-- Python binding generators: sip
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/ros/groovy/ros_catkin_ws/build_isolated/qt_gui_cpp
==> make -j1 -l1 in '/opt/ros/groovy/ros_catkin_ws/build_isolated/qt_gui_cpp'
<== Failed to process package 'qt_gui_cpp':
Command '/opt/ros/groovy/env.sh make -j1 -l1' returned non-zero exit status 2
Reproduce this error by running:
==> /opt/ros/groovy/env.sh make -j1 -l1
I did manage to find one thread on this, but it was left unanswered. Does anyone recognize the error, and know how to fix it? Thanks!
UPDATE:
I managed to get a slightly different error after I ran
sudo apt-get install qt-sdk
This is what I got:
[ 84%] Running SIP generator for qt_gui_cpp_sip Python bindings...
sh: 1: /usr/bin/sip: not found
Error: Unable to open
"/opt/ros/groovy/ros_catkin_ws/build_isolated/qt_gui_cpp/sip/qt_gui_cpp_sip/pyqtscripting.sbf"
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
Traceback (most recent call last):
File "./src/catkin/bin/../python/catkin/builder.py", line 717, in build_workspace_isolated
number=index + 1, of=len(ordered_packages)
File "./src/catkin/bin/../python/catkin/builder.py", line 497, in build_package
install, force_cmake, quiet, last_env, cmake_args, make_args + catkin_make_args
File "./src/catkin/bin/../python/catkin/builder.py", line 353, in build_catkin_package
run_command(make_cmd, build_dir, quiet)
File "./src/catkin/bin/../python/catkin/builder.py", line 198, in run_command
raise subprocess.CalledProcessError(proc.returncode, ' '.join(cmd))
CalledProcessError: Command '/opt/ros/groovy/env.sh make -j1 -l1' returned non-zero exit status 2
<== Failed to process package 'qt_gui_cpp':
Command '/opt/ros/groovy/env.sh make -j1 -l1' returned non-zero exit status 2
Reproduce this error by running:
==> /opt/ros/groovy/env.sh make -j1 -l1
Command failed, exiting.