rviz_QT_VERSION Error for a rviz plugin on ROS1
Hello. I'm going to try the Rviz tutorial. I got the source codes from here.
I checked out to the kinetic-devel
branch ' for ROS1 Kinetic.
And, I just build with catkin_make
.
Then, I got below error.
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 6 packages in topological order:
-- ~~ - visualization_tutorials (metapackage)
-- ~~ - interactive_marker_tutorials
-- ~~ - librviz_tutorial
-- ~~ - rviz_plugin_tutorials
-- ~~ - rviz_python_tutorial
-- ~~ - visualization_marker_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'visualization_tutorials'
-- ==> add_subdirectory(visualization_tutorials/visualization_tutorials)
-- +++ processing catkin package: 'interactive_marker_tutorials'
-- ==> add_subdirectory(visualization_tutorials/interactive_marker_tutorials)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'librviz_tutorial'
-- ==> add_subdirectory(visualization_tutorials/librviz_tutorial)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Using Qt5 based on the rviz_QT_VERSION: 5.5.1
CMake Error at visualization_tutorials/librviz_tutorial/CMakeLists.txt:25 (find_package):
Could not find a configuration file for package "Qt5" that exactly matches
requested version "5.5.1".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.6.1
-- Configuring incomplete, errors occurred!
How to fix this issue? Do I should to install Qt5?
Thanks.