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

Building ROS Groovy from source fails on PCL package

asked 2013-01-17 06:41:17 -0500

Donny3000 gravatar image

Hello All,

I'm working on an Ubuntu 12.04 32-bit VM trying to install the ROS groovy release from source (following the instructions at ROS wiki. Can't post the link because my karma is insufficient), but I keep running into PCL linking errors on step 2.1.3 Building the catkin Workspace on the instructions. Specifically, it complains about not being able to find the sensor_msgs, roscpp_serialzation, rosconsole and rostime libraries. Below is the build output of the PCL error:

==> Processing plain cmake package: 'pcl'
==> Creating build directory: 'build_isolated/pcl'
==> Building with env: '/opt/ros/ros_catkin_ws/install_isolated/env.sh'
==> cmake /opt/ros/ros_catkin_ws/src/pcl -DCMAKE_INSTALL_PREFIX=/opt/ros/ros_catkin_ws/install_isolated
==> make -j8 in '/opt/ros/ros_catkin_ws/build_isolated/pcl'
Scanning dependencies of target pcl_pcd_convert_NaN_nan
Scanning dependencies of target pcl_io_ply
[  0%] [  1%] Building CXX object io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o
Building CXX object io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o
Scanning dependencies of target pcl_octree
[  1%] Building CXX object octree/CMakeFiles/pcl_octree.dir/src/octree_impl.cpp.o
Scanning dependencies of target pcl_common
[  2%] [  2%] [  3%] [  3%] [  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/common.cpp.o
Building CXX object common/CMakeFiles/pcl_common.dir/src/io.cpp.o
Building CXX object common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o
Building CXX object common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o
Building CXX object common/CMakeFiles/pcl_common.dir/src/distances.cpp.o
Linking CXX executable ../../bin/pcl_pcd_convert_NaN_nan
[  4%] Built target pcl_pcd_convert_NaN_nan
[  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o
[  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/parse.cpp.o
In file included from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/point_types.h:301:0,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/src/io.cpp:40:
/opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/impl/point_types.hpp:1009:68: warning: ‘SHOT’ is deprecated [-Wdeprecated-declarations]
In file included from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/point_types.h:301:0,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/common/impl/common.hpp:41,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/common/common.h:186,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/src/common.cpp:39:
/opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/impl/point_types.hpp:1009:68: warning: ‘SHOT’ is deprecated [-Wdeprecated-declarations]
In file included from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/point_types.h:301:0,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/common/impl/common.hpp:41,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/common/common.h:186,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/common/distances.h:40,
                 from /opt/ros/ros_catkin_ws/src/pcl/common/src/distances.cpp:37:
/opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/impl/point_types.hpp:1009:68: warning: ‘SHOT’ is deprecated [-Wdeprecated-declarations]
In file included from /opt/ros/ros_catkin_ws/src/pcl/common/include/pcl/point_types.h:301:0,
                 from /opt/ros/ros_catkin_ws/src/pcl/octree/src/octree_impl.cpp:40:
/opt ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2013-01-17 19:29:40 -0500

jkammerl gravatar image

Hi,

This commit should have fixed this bug: https://github.com/ros-gbp/pcl-release/commit/bf43ffc0eebca4042c6765319c4dd211409d7ace

If not, please open a ticket on github.

Thanks, Julius

edit flag offensive delete link more

Comments

Thanks jkammerl for pointing this out to me. I actually saw this commit the other day but, didn't know if it pertained to my issue or not. I will checkout that commit today and report back with my results.

Donny3000 gravatar image Donny3000  ( 2013-01-18 18:21:53 -0500 )edit

jkammerl, blowing away the old src/pcl folder and checking out the commit you mentioned fixed my build issue! Thanks!

Donny3000 gravatar image Donny3000  ( 2013-01-18 18:47:49 -0500 )edit
0

answered 2013-01-17 15:35:51 -0500

kalectro gravatar image

updated 2013-01-17 15:36:35 -0500

that is weird... try the following:

cd ~/catkin_ws 
mv src/pcl* .
./src/catkin/bin/catkin_make_isolated --force-cmake --install

if that all works, move the folders back to src and try to compile it again

edit flag offensive delete link more

Comments

Thanks kalectro for the response. But I tried it and it didn't resolve the issue. The PCL package still failed to build with the "cannot find -lsensor_msgs", "cannot find -lroscpp_serialization", "cannot find -lrosconsole", "cannot find -lrostime" linker errors.

Donny3000 gravatar image Donny3000  ( 2013-01-18 18:18:21 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2013-01-17 06:41:17 -0500

Seen: 742 times

Last updated: Jan 17 '13