jsk_visualization build failure

asked 2015-03-15 12:14:06 -0500

inflo gravatar image

updated 2015-03-16 03:23:31 -0500

gvdhoorn gravatar image

hi, i got ubuntu 14.04 and indigo. i went into catkin_ws/src and run git clone https://github.com/jsk-ros-pkg/jsk_visualization.git

After checking out, i went into catkin_ws and run rosdep install jsk_rviz_plugins then catkin_make. The error then is:

/home/ros/catkin_ws/src/jsk_visualization/jsk_rviz_plugins/src/video_capture_display.cpp:132:30: error: ‘CV_FOURCC_DEFAULT’ was not declared in this scope
     writer_.open(file_name_, CV_FOURCC_DEFAULT, fps_, cv::Size(width, height));

After inserting #include <opencv/cv.h> into src/jsk_visualization/jsk_rviz_plugins/src/camera_info_display.h and then re-run catkin_make, it tells me now:

error: ‘CV_FOURCC_DEFAULT’ was not declared in this scope

Is this package broken or did i something wrong ?

thanks

flo

edit retag flag offensive close merge delete

Comments

1

The authors are using continuous integration and testing that package, so it's unlikely that it's broken. Do you have OpenCV installed from source or through apt?

ahendrix gravatar image ahendrix  ( 2015-03-15 15:26:11 -0500 )edit

hi, it wasnt my intention to install opencv, but i think "rosdep install jsk_rviz_plugins" has installed it. It has installed so many packages that i dont know if it was upon them, but i think so.

flo

inflo gravatar image inflo  ( 2015-03-16 14:11:49 -0500 )edit

rosdep would have installed OpenCV though apt, so OpenCV probably isn't your problem.

ahendrix gravatar image ahendrix  ( 2015-03-17 00:42:27 -0500 )edit

I tried building jsk_rviz_plugins with Indigo on 14.04, without any trouble. Which other packages do you have in your workspace?

ahendrix gravatar image ahendrix  ( 2015-03-17 00:53:54 -0500 )edit

hi ahendrix, some other packages, do i need to have a special workspace with special packages ?

how do you build ? catkin_make in catkin_ws ?

thanks

inflo gravatar image inflo  ( 2015-03-17 11:12:07 -0500 )edit