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

PCL17 Does not compile

asked 2013-06-14 04:25:22 -0500

mdedonato gravatar image

updated 2013-06-14 15:41:17 -0500

Kevin gravatar image

When I try to rosmake pcl17 or pcl17_ros i get the following error:

/usr/bin/ld: cannot find -lsensor_msgs

I have the sensor_msgs package. Does anyone have any ideas as to why this would happen?

edit retag flag offensive close merge delete

Comments

We need more information. Can you describe what you did step by step? Do you use fuerte?

MichaelKorn gravatar image MichaelKorn  ( 2013-06-17 04:26:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-14 15:40:01 -0500

Kevin gravatar image

Not knowing what version of ROS you are using or seeing the full error message, this problem might already be solved here in this answer: How do I use pcl 1.7 with groovy?.

edit flag offensive delete link more

Comments

I've just compiled this one git clone <a href="https://github.com/ros-perception/perception_pcl.git">https://github.com/ros-perception/perception_pcl.git</a> -b groovy-unstable-devel. You have to change pcl-1.6 to pcl-1.7 in .//pcl/doc/tutorials/content/walkthrough.rst to successfully build other packages that depend on pcl.

Artem gravatar image Artem  ( 2013-06-15 08:26:59 -0500 )edit

Do you have installed sensor_msgs? On Ubuntu you can do this with "apt-get install ros-groovy-common-msgs".

MichaelKorn gravatar image MichaelKorn  ( 2013-06-16 22:23:12 -0500 )edit

BTW after I compiled PCL, rosbuild cannot compile costmap2d anymore, it cannot find pcl.

Artem gravatar image Artem  ( 2013-06-17 03:22:35 -0500 )edit

@Art: you should use catkin

MichaelKorn gravatar image MichaelKorn  ( 2013-06-17 04:24:07 -0500 )edit

I do use catkin to build catkin packages including pcl. However, rosbuild packages also uses catkin packages. I don't know why when I build pcl-1.7, costmap2d does not find it. I don't have the log now, I rolled back to pcl-1.6 now. Actually, let me try to build pcl-1.7 in overlay workspace.

Artem gravatar image Artem  ( 2013-06-17 05:31:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-06-14 04:25:22 -0500

Seen: 630 times

Last updated: Jun 14 '13