ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

The problem of sensor_msgs::fillImage

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

aricc gravatar image

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

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

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

Lorenz gravatar image

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

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 -0600

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 1,046 times

Last updated: Jul 02 '12