Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

catkin_make image_view failed,cvtColorForDisplay’ is not a member of ‘cv_bridge’

Hello,I am using Indigo(Ubuntu14.04) When I git clone from here then,I run:catkin_make,Error occurred as below: image description

please help me,thx

catkin_make image_view failed,cvtColorForDisplay’ is not a member of ‘cv_bridge’

Hello,I am using Indigo(Ubuntu14.04) When I git clone from here then,I run:catkin_make,Error occurred as below: image description

/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp: In function ‘void imageCb(const ImageConstPtr&)’: /home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp:59:20: error: ‘cvtColorForDisplay’ is not a member of ‘cv_bridge’ g_last_image = cv_bridge::cvtColorForDisplay(cv_bridge::toCvShare(msg), "", ^ /home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp: In member function ‘void image_view::ImageNodelet::imageCb(const ImageConstPtr&)’: /home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp:165:87: error: ‘cvtColorForDisplay’ was not declared in this scope last_image_ = cvtColorForDisplay(cv_bridge::toCvShare(msg), "", do_dynamic_scaling)->image;

please help me,thx

catkin_make image_view failed,cvtColorForDisplay’ is not a member of ‘cv_bridge’

Hello,I am using Indigo(Ubuntu14.04) When I git clone from here then,I run:catkin_make,Error occurred as below: image descriptionbelow:

/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp: In function ‘void imageCb(const ImageConstPtr&)’:
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodes/image_view.cpp:59:20: error: ‘cvtColorForDisplay’ is not a member of ‘cv_bridge’
     g_last_image = cv_bridge::cvtColorForDisplay(cv_bridge::toCvShare(msg), "",
                    ^
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp: In member function ‘void image_view::ImageNodelet::imageCb(const ImageConstPtr&)’:
/home/exbot/catkin_ws/src/image_pipeline/image_view/src/nodelets/image_nodelet.cpp:165:87: error: ‘cvtColorForDisplay’ was not declared in this scope
     last_image_ = cvtColorForDisplay(cv_bridge::toCvShare(msg), "", do_dynamic_scaling)->image;

do_dynamic_scaling)->image;

please help me,thx