ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Trouble installing rqt features (from source) in Raspbian Jessie in a Minimal ROS Installation.

asked 2016-05-05 06:28:22 -0600

nishthapa gravatar image

updated 2016-05-05 06:31:46 -0600

Hello guys, I have been trying to install rqt features (such as rqt_plot and rqt_graph) in a Minimal ROS installation (not the full desktop) my Raspberry Pi 2 from source. I have been resolving dependencies all night but now I am stuck. When the package rqt_gui_cpp is being built with catkin_make , the following error keeps creeping up. What should i do ?

-- +++ processing catkin package: 'qt_gui_cpp'
-- ==> add_subdirectory(qt_gui_core/qt_gui_cpp)
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   system
CMake Error at qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/CMakeLists.txt:3 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:

  Qt5WidgetsConfig.cmake
  qt5widgets-config.cmake

Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files.  If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
 been installed.


-- Configuring incomplete, errors occurred!
See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:7390: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-05 10:53:56 -0600

Dirk Thomas gravatar image

The rosdep rule for Debian Jessie has recently been fixed ( https://github.com/ros/rosdistro/comm... ). Please make sure to use the latest versions and install all dependencies with rosdep again.

In your case you are missing qtbase5-dev which provides the CMake config files for Qt5Widgets.

edit flag offensive delete link more

Comments

Thank you for the quick answer. Installing qtbase5-dev solved my problem.

nishthapa gravatar image nishthapa  ( 2016-05-07 08:36:57 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-05-05 06:28:22 -0600

Seen: 843 times

Last updated: May 05 '16