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

Hector Visualization Cmake error [closed]

asked 2015-07-23 03:25:17 -0500

psprox96 gravatar image

Hi guys, I got this cmake error when building hector_visualization pacakge:

-- +++ processing catkin package: 'rqt_video_playback'
-- ==> add_subdirectory(hector_visualization/rqt_video_playback)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  (found version "4.8.1")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindQt4.cmake:1171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  hector_visualization/rqt_video_playback/CMakeLists.txt:11 (find_package)

Anybody got a solution to this one? Thanks a lot!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by psprox96
close date 2015-07-24 04:10:39.091709

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-23 05:42:00 -0500

mgruhler gravatar image

updated 2015-07-24 03:04:33 -0500

hector_visualization requires Qt4 to be installed. Seems you don't have this.

So install Qt4. I'm not sure which is included where, but I guess doing a sudo apt-get install qt4-designer will pull in all you need. Probably you'll also need to sudo apt-get install phonon as this seems to be required as well. But I currently have no machine to test this.

Duh, just tried it on a new install. Found the problem (hopefully). You compile against phonon, so you obviously need the development library libphonon-dev, not just the runtime library... My bad for not checking this earlier.

edit flag offensive delete link more


Hi there! Thanks for getting back! I have already installed qt4-designer and phonon (updated too). But this error still occurs.

psprox96 gravatar image psprox96  ( 2015-07-23 21:03:00 -0500 )edit

Can you please give some more information? Which OS/ROS-distro? Which branch from the hector_visualization package? Modified anything?

mgruhler gravatar image mgruhler  ( 2015-07-24 02:45:30 -0500 )edit

Thanks for the reply. I'm using Groovy and the package is a groovy devel branch. I didn't modify anything of the code inside. The problem seems to be due to the line 11 in CMakeList.txt (you linked that, thanks!). Maybe I have to edit so the packages from QT4 and Phonon can be found?

psprox96 gravatar image psprox96  ( 2015-07-24 03:22:28 -0500 )edit

Updated the answer above (even before you're reply ;-) ). You need to install libphonon-dev.

mgruhler gravatar image mgruhler  ( 2015-07-24 03:59:14 -0500 )edit

Wow! Thanks, I got it working already. You are a genius!

psprox96 gravatar image psprox96  ( 2015-07-24 04:10:28 -0500 )edit

Question Tools

1 follower


Asked: 2015-07-23 03:25:17 -0500

Seen: 180 times

Last updated: Jul 24 '15