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

Groovy installation pcl fail

asked 2013-02-07 11:25:31 -0600

seanarm gravatar image

I've been through about a million groovy installation problems (source install on Ubuntu 12.04 32bit). This one, in particular, stumped me because I don't exactly know what's going on between the build_isolated and install_isolated directories, or how/where built libraries are installed so packages dependent on them (in the course of the install) can find them. Here's the error with the tail end of a successful package build:

<== Finished processing package [144 of 153]: 'nodelet_topic_tools'
==> Processing plain cmake package: 'pcl'
==> Building with env: '/home/sean/ros_catkin_ws/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/sean/ros_catkin_ws/build_isolated/pcl'
==> make -j4 -l4 in '/home/sean/ros_catkin_ws/build_isolated/pcl'
[  1%] Built target pcl_pcd_convert_NaN_nan
[  1%] Built target pcl_io_ply
[  2%] Built target pcl_octree
[  2%] Built target pcl_ply2obj
[  3%] Built target pcl_ply2ply
[  3%] Built target pcl_ply2raw
Linking CXX shared library ../lib/libpcl_common.so
[  4%] Built target pcl_plyheader
/usr/bin/ld: cannot find -lsensor_msgs
/usr/bin/ld: cannot find -lroscpp_serialization
/usr/bin/ld: cannot find -lrosconsole
/usr/bin/ld: cannot find -lrostime
collect2: ld returned 1 exit status
make[2]: *** [lib/libpcl_common.so.1.6.0] Error 1
make[1]: *** [common/CMakeFiles/pcl_common.dir/all] Error 2
make: *** [all] Error 2

<== Failed to process package 'pcl': 
  Command '/home/sean/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running:
==> /home/sean/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

Command failed, exiting.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-07 20:38:36 -0600

KruseT gravatar image
edit flag offensive delete link more

Comments

This did fix the above error, so it's the correct answer, but it left me with another error: /usr/bin/ld: cannot find -lpcl_visualization. Just an FYI for anyone else that finds this post.

seanarm gravatar image seanarm  ( 2013-02-08 04:03:07 -0600 )edit

This post makes sense, but I can't find exactly where pcl_visualization is not being installed: http://stackoverflow.com/questions/11874684/compiling-pcl-for-use-with-opencv

seanarm gravatar image seanarm  ( 2013-02-08 04:32:48 -0600 )edit

Another FYI, I circumvented the new error by excluding the particular example class that was breaking the build.

seanarm gravatar image seanarm  ( 2013-02-08 06:59:18 -0600 )edit

I would prefer you to comment on the other question, because that's where I'll send all others with the same problem.

KruseT gravatar image KruseT  ( 2013-02-08 07:36:13 -0600 )edit

Question Tools

Stats

Asked: 2013-02-07 11:25:31 -0600

Seen: 930 times

Last updated: Feb 07 '13