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

ros groovy compile fails at pcl [closed]

asked 2014-02-12 22:50:21 -0600

mealejan gravatar image

updated 2014-02-12 23:00:34 -0600

I am trying to compile ROS by source on an arch system. The compile process stucks a pcl. The result of cd ~/ros_catkin_ws/build_isolated/pcl && ~/ros_catkin_ws/install_isolated/env.sh make -j8 -l8 is: common/CMakeFiles/pcl_common.dir/build.make:103: recipe for target 'common/CMakeFiles/pcl_common.dir/src/common.cpp.o' failed make[2]: * [common/CMakeFiles/pcl_common.dir/src/common.cpp.o] Error 1 common/CMakeFiles/pcl_common.dir/build.make:149: recipe for target 'common/CMakeFiles/pcl_common.dir/src/distances.cpp.o' failed make[2]: [common/CMakeFiles/pcl_common.dir/src/distances.cpp.o] Error 1 common/CMakeFiles/pcl_common.dir/build.make:80: recipe for target 'common/CMakeFiles/pcl_common.dir/src/io.cpp.o' failed make[2]: [common/CMakeFiles/pcl_common.dir/src/io.cpp.o] Error 1 CMakeFiles/Makefile2:545: recipe for target 'common/CMakeFiles/pcl_common.dir/all' failed make[1]: [common/CMakeFiles/pcl_common.dir/all] Error 2 octree/CMakeFiles/pcl_octree.dir/build.make:57: recipe for target 'octree/CMakeFiles/pcl_octree.dir/src/octree_impl.cpp.o' failed make[2]: [octree/CMakeFiles/pcl_octree.dir/src/octree_impl.cpp.o] Error 1 CMakeFiles/Makefile2:1083: recipe for target 'octree/CMakeFiles/pcl_octree.dir/all' failed make[1]: [octree/CMakeFiles/pcl_octree.dir/all] Error 2 [ 4%] Built target pcl_io_ply Makefile:126: recipe for target 'all' failed make: ** [all] Error 2

Any ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by mealejan
close date 2014-02-18 06:28:11

Comments

can you run this again with VERBOSE=1 ?

ahendrix gravatar image ahendrix  ( 2014-02-12 22:53:06 -0600 )edit

You can find the output here

mealejan gravatar image mealejan  ( 2014-02-12 22:59:08 -0600 )edit

This is very strange; the compiler is failing and exiting nonzero, but it isn't producing an error message. Can you try compiling one file by hand?

ahendrix gravatar image ahendrix  ( 2014-02-12 23:11:56 -0600 )edit

You can find the output here.

mealejan gravatar image mealejan  ( 2014-02-12 23:20:37 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-12 23:43:45 -0600

ahendrix gravatar image

This looks like either a mismatch between the version of Eigen that's installed and the version of Eigen that pcl is expecting, or a bug in PCL.

I'm reasonably certain that the version of PCL that's packaged with Groovy works with Eigen 3.0.5 and 3.1.0.

Can you confirm that your version of Eigen is newer than 3.1.0 ?

edit flag offensive delete link more

Comments

I have the version eigen-3.2.0-1 installed

mealejan gravatar image mealejan  ( 2014-02-12 23:51:57 -0600 )edit

Is this version to new?

mealejan gravatar image mealejan  ( 2014-02-13 00:52:21 -0600 )edit

I suspect that eigen-3.2 is newer than pcl is expecting. It looks like Eigen has moved their sqrt function to the public API, so you may be able to fix this by modifying pcl's eigen.h header to call 'Eigen::sqrt' instead of 'Eigen::internal::sqrt'

ahendrix gravatar image ahendrix  ( 2014-02-13 08:09:19 -0600 )edit

I think the problem was caused by shiboken. But I found a package of my distribution (arch) pcl-ros which compiled without errors.

mealejan gravatar image mealejan  ( 2014-02-18 06:26:53 -0600 )edit

Question Tools

Stats

Asked: 2014-02-12 22:50:21 -0600

Seen: 512 times

Last updated: Feb 12 '14