ros-perception / image_pipeline

An image processing pipeline for ROS.
Other
782 stars 724 forks source link

[image_view] Unable to use image_view #222

Closed yuki-asano closed 7 years ago

yuki-asano commented 7 years ago

I have a problem shown below in image_view. Does anyone know the cause of this?

leus@leus-ThinkPad-T440p:/opt/ros/indigo/lib/image_view$ rosrun image_view image_view image:=/camera/rgb/image_rect_color
[ INFO] [1474958945.226256190]: Using transport "raw"
/opt/ros/indigo/lib/image_view/image_view: symbol lookup error: /opt/ros/indigo/lib/image_view/image_view: undefined symbol: _ZN9cv_bridge18cvtColorForDisplayERKN5boost10shared_ptrIKNS_7CvImageEEERKSsNS_25CvtColorForDisplayOptionsE

On the other hand, image_view2 works.

rosrun image_view2 image_view2 image:=/camera/rgb/image_rect_color
k-okada commented 7 years ago

please run

sudo apt-get update
sudo apt-get dist-upgrade

then try again.

yuki-asano commented 7 years ago

It worked! Thank you.