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

Failed to process package 'cartographer':

asked 2016-10-10 21:21:27 -0500

yueweiliang gravatar image

updated 2016-12-01 02:25:41 -0500

damonkohler gravatar image

when i build the cartographer_ros ,errors happened as follow:

[6/90] Building documentation.
Running Sphinx v1.2.2
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
no targets are out of date.
[9/90] Building CXX object cartographe...eal_time_correlative_scan_matcher.cc.o
FAILED: /usr/bin/c++    -O3 -DNDEBUG -isystem /usr/include/eigen3 -isystem /home/exbot/cartographer/install_isolated/include -I. -I/home/exbot/cartographer/src/cartographer -isystem /usr/include/lua5.2 -I/home/exbot/cartographer/src/cartographer/cartographer/common/{Boost_INCLUDE_DIRS}     -O3 -DNDEBUG -std=c++11 -Wall -Wpedantic -Werror=format-security -Werror=return-type -Werror=uninitialized -MMD -MT cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_real_time_correlative_scan_matcher.dir/real_time_correlative_scan_matcher.cc.o -MF "cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_real_time_correlative_scan_matcher.dir/real_time_correlative_scan_matcher.cc.o.d" -o cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_real_time_correlative_scan_matcher.dir/real_time_correlative_scan_matcher.cc.o -c /home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher.cc
In file included from /opt/eigen/Eigen/Geometry:39:0,
                 from /opt/eigen/Eigen/Dense:6,
                 from /home/exbot/cartographer/install_isolated/include/ceres/internal/numeric_diff.h:40,
                 from /home/exbot/cartographer/install_isolated/include/ceres/dynamic_numeric_diff_cost_function.h:70,
                 from /home/exbot/cartographer/install_isolated/include/ceres/ceres.h:44,
                 from /home/exbot/cartographer/src/cartographer/cartographer/common/math.h:25,
                 from /home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/probability_grid.h:28,
                 from /home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher.h:44,
                 from /home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher.cc:17:
/opt/eigen/Eigen/src/Geometry/Rotation2D.h: In instantiation of ‘Eigen::Rotation2D<Scalar> Eigen::Rotation2D<Scalar>::operator*(const Eigen::Rotation2D<Scalar>&) const [with _Scalar = double]’:
/home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher.cc:123:71:   required from here
/opt/eigen/Eigen/src/Geometry/Rotation2D.h:78:28: error: could not convert ‘(((Eigen::Rotation2D<double>::Scalar)((const Eigen::Rotation2D<double>*)this)->Eigen::Rotation2D<double>::m_angle) + ((Eigen::Rotation2D<double>::Scalar)other.Eigen::Rotation2D<double>::m_angle))’ from ‘Eigen::Rotation2D<double>::Scalar {aka double}’ to ‘Eigen::Rotation2D<double>’
   { return m_angle + other.m_angle; }
                            ^
[9/90] Building CXX object cartographe...dir/fast_correlative_scan_matcher.cc.o
FAILED: /usr/bin/c++    -O3 -DNDEBUG -isystem /usr/include/eigen3 -isystem /home/exbot/cartographer/install_isolated/include -I. -I/home/exbot/cartographer/src/cartographer -I/home/exbot/cartographer/src/cartographer/cartographer/common/{Boost_INCLUDE_DIRS} -isystem /usr/include/lua5.2     -O3 -DNDEBUG -std=c++11 -Wall -Wpedantic -Werror=format-security -Werror=return-type -Werror=uninitialized -MMD -MT cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_fast_correlative_scan_matcher.dir/fast_correlative_scan_matcher.cc.o -MF "cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_fast_correlative_scan_matcher.dir/fast_correlative_scan_matcher.cc.o.d" -o cartographer/mapping_2d/scan_matching/CMakeFiles/mapping_2d_scan_matching_fast_correlative_scan_matcher.dir/fast_correlative_scan_matcher.cc.o -c /home/exbot/cartographer/src/cartographer/cartographer/mapping_2d/scan_matching/fast_correlative_scan_matcher.cc
In file included from /opt/eigen/Eigen/Geometry:39:0,
                 from /opt/eigen/Eigen/Dense:6,
                 from /home/exbot/cartographer/install_isolated/include/ceres/internal/numeric_diff.h:40,
                 from /home/exbot/cartographer/install_isolated/include/ceres/dynamic_numeric_diff_cost_function.h:70,
                 from /home/exbot/cartographer/install_isolated/include/ceres/ceres.h:44,
                 from /home/exbot/cartographer/src/cartographer/cartographer/common/math.h:25 ...
(more)
edit retag flag offensive close merge delete

Comments

I think this is specific enough to be solved by the Cartographer devs themselves. I recommend you report this to cartographer_ros/issues. Please report back if/when you resolve this.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-11 03:31:42 -0500 )edit

I have get the reply from github that X86 is unsopported.But they also say that the errors may not be caused by X86 or X64.I decided to change to X64 to solve it ........

yueweiliang gravatar image yueweiliang  ( 2016-10-11 04:16:55 -0500 )edit

Could you provide a link to the github issue that you reported?

gvdhoorn gravatar image gvdhoorn  ( 2016-10-11 04:25:57 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-12-01 02:24:16 -0500

damonkohler gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-10-10 21:21:27 -0500

Seen: 4,453 times

Last updated: Dec 01 '16