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

The problem of sensor_msgs::fillImage

asked 2012-07-01 17:23:09 -0500

aricc gravatar image

updated 2012-07-02 18:06:49 -0500

Eric Perko gravatar image

Hi, I rosmake the robotino package and got the error "undefined reference to `sensor_msgs::fillImage". Any one has the idea how to solve it? Thanks.

edit retag flag offensive close merge delete


The ROS version is 1.8.10.

aricc gravatar image aricc  ( 2012-07-01 21:25:25 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-07-01 22:02:24 -0500

Lorenz gravatar image

updated 2012-07-02 21:45:59 -0500

sensor_msgs::fillImage is defined as an inline function in the header file sensor_msgs/fill_image.h in /opt/ros/fuerte/include. Are you sure that you are including it?

Edit: In a recent update, lib files for messages were removed. It could be that your cmake still tries to link against it. Try make clean before building your package. You can also use rosmake --pre-clean.

edit flag offensive delete link more

answered 2012-07-02 15:20:09 -0500

aricc gravatar image

Yes, i am including it. Actually, I haven`t change anything regarding ros system. After I update to version 1.8.10, I found this error.

edit flag offensive delete link more


Please don't open new answers that are not answers. Instead, comment on other answers.

Lorenz gravatar image Lorenz  ( 2012-07-02 21:46:46 -0500 )edit

Question Tools


Asked: 2012-07-01 17:23:09 -0500

Seen: 1,278 times

Last updated: Jul 02 '12