/usr/include/eigen3/Eigen/src/Core/IO.h:72:37: error: field ‘rowSeparator’ has incomplete type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’
std::string rowPrefix, rowSuffix, rowSeparator, rowSpacer;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/bits/stl_map.h:63,
from /usr/include/c++/5/map:61,
from /home/wf/cartographer/cartographer/common/histogram.h:20,
from /home/wf/cartographer/cartographer/common/histogram.cc:17:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: declaration of ‘std::__cxx11::string {aka class std::__cxx11::basic_string<char>}’
class basic_string;
^
In file included from /usr/include/eigen3/Eigen/Core:389:0,
from /home/wf/cartographer/cartographer/common/math.h:23,
from /usr/include/c++/5/cmath:44,
from /home/wf/cartographer/cartographer/common/port.h:21,
from /home/wf/cartographer/cartographer/common/time.h:24,
from /usr/include/sched.h:34,
from /usr/include/pthread.h:23,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:148,
from /usr/include/c++/5/ext/atomicity.h:35,
from /usr/include/c++/5/bits/basic_string.h:39,
from /usr/include/c++/5/string:52,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/bits/stl_map.h:63,
from /usr/include/c++/5/map:61,
from /home/wf/cartographer/cartographer/common/histogram.h:20,
from /home/wf/cartographer/cartographer/common/histogram.cc:17:
/usr/include/eigen3/Eigen/src/Core/IO.h:72:51: error: field ‘rowSpacer’ has incomplete type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’
std::string rowPrefix, rowSuffix, rowSeparator, rowSpacer;
uj5u.com熱心網友回復:
cartographer/common/CMakeFiles/common_histogram.dir/build.make:62: recipe for target 'cartographer/common/CMakeFiles/common_histogram.dir/histogram.cc.o' failedmake[2]: *** [cartographer/common/CMakeFiles/common_histogram.dir/histogram.cc.o] Error 1
CMakeFiles/Makefile2:1071: recipe for target 'cartographer/common/CMakeFiles/common_histogram.dir/all' failed
make[1]: *** [cartographer/common/CMakeFiles/common_histogram.dir/all] Error 2
make[1]: *** 正在等待未完成的任務....
[ 18%] Linking CXX static library libmapping_3d_proto_optimizing_local_trajectory_builder_options.a
[ 18%] Built target mapping_3d_proto_optimizing_local_trajectory_builder_options
[ 18%] Linking CXX static library libmapping_3d_proto_kalman_local_trajectory_builder_options.a
[ 18%] Built target mapping_3d_proto_kalman_local_trajectory_builder_options
[ 18%] Linking CXX static library libproto_trajectory.a
[ 18%] Built target proto_trajectory
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/105913.html
標籤:專題技術討論區
