smile@smile-X3-S:~/app_install/mapx/build$ sudo make

2023-05-16

smile@smile-X3-S:~/app_install/mapx/build$ sudo make
[sudo] password for smile: 
Scanning dependencies of target fbow
[  0%] Building CXX object 3rd/FBoW/CMakeFiles/fbow.dir/src/fbow.cpp.o
[  1%] Building CXX object 3rd/FBoW/CMakeFiles/fbow.dir/src/vocabulary_creator.cpp.o
[  2%] Linking CXX shared library libfbow.so
[  2%] Built target fbow
Scanning dependencies of target mapx
[  3%] Building CXX object src/mapx/CMakeFiles/mapx.dir/system.cc.o
[  4%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/frame_publisher.cc.o
[  5%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/map_publisher.cc.o
[  6%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/config.cc.o
[  7%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/image_converter.cc.o
[  7%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/stereo_rectifier.cc.o
[  8%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/yaml.cc.o
[  9%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/angle.cc.o
[ 10%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/random_array.cc.o
[ 11%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/sqlite3.cc.o
[ 12%] Building CXX object src/mapx/CMakeFiles/mapx.dir/utils/converter.cc.o
[ 13%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/relocalizer.cc.o
[ 14%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/keyframe_inserter.cc.o
[ 15%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/frame_tracker.cc.o
[ 16%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/tracking_module.cc.o
[ 16%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/area.cc.o
[ 17%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/bow_tree.cc.o
[ 18%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/fuse.cc.o
[ 19%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/projection.cc.o
[ 20%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/robust.cc.o
[ 21%] Building CXX object src/mapx/CMakeFiles/mapx.dir/tracking/match/stereo.cc.o
[ 22%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/frame_statistics.cc.o
[ 23%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/orb_params_database.cc.o
[ 24%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/marker.cc.o
[ 24%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/marker2d.cc.o
[ 25%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/graph_node.cc.o
[ 26%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/map_database.cc.o
[ 27%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/landmark.cc.o
[ 28%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/common.cc.o
[ 29%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/frame.cc.o
[ 30%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/keyframe.cc.o
[ 31%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/bow_vocabulary.cc.o
[ 32%] Building CXX object src/mapx/CMakeFiles/mapx.dir/schema/bow_database.cc.o
[ 32%] Building CXX object src/mapx/CMakeFiles/mapx.dir/solvers/common.cc.o
[ 33%] Building CXX object src/mapx/CMakeFiles/mapx.dir/solvers/homography_solver.cc.o
[ 34%] Building CXX object src/mapx/CMakeFiles/mapx.dir/solvers/fundamental_solver.cc.o
[ 35%] Building CXX object src/mapx/CMakeFiles/mapx.dir/solvers/essential_solver.cc.o
[ 36%] Building CXX object src/mapx/CMakeFiles/mapx.dir/solvers/pnp_solver.cc.o
[ 37%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/camera_database.cc.o
[ 38%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/base.cc.o
[ 39%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/perspective.cc.o
[ 40%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/fisheye.cc.o
[ 41%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/equirectangular.cc.o
[ 41%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/camera/radial_division.cc.o
[ 42%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/bias.cc.o
[ 43%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/config.cc.o
[ 44%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/data.cc.o
[ 45%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/preintegrator.cc.o
[ 46%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/preintegrated.cc.o
[ 47%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/imu_database.cc.o
[ 48%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/imu_util.cc.o
[ 49%] Building CXX object src/mapx/CMakeFiles/mapx.dir/sensor/imu/imu_initializer.cc.o
In file included from /home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex_container.h:7:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:8:
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h:28:24: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
   void oplusImpl(const number_t* update_) override;
                        ^~~~~~~~
                        timer_t
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h:28:8: error: ‘void mapx::optimization::internal::se3::ShotVertex::oplusImpl(const int*)’ marked ‘override’, but does not override
   void oplusImpl(const number_t* update_) override;
        ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h:54:41: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
 inline void ShotVertex::oplusImpl(const number_t* update_) {
                                         ^~~~~~~~
                                         timer_t
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h: In member function ‘void mapx::optimization::internal::se3::ShotVertex::oplusImpl(const int*)’:
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h:55:42: error: no matching function for call to ‘Eigen::Map<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >::Map(const int*&)’
   Eigen::Map<const Vec6_t> update(update_);
                                          ^
In file included from /usr/include/eigen3/Eigen/Core:450:0,
                 from /usr/local/include/g2o/core/base_edge.h:30,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 6, 1, 0, 6, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note:   candidate expects 4 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 6, 1, 0, 6, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index size, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note:   candidate expects 3 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 6, 1, 0, 6, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*]
     explicit inline Map(PointerArgType dataPtr, const StrideType& stride = StrideType())
                     ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note:   no known conversion for argument 1 from ‘const int*’ to ‘Eigen::Map<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >::PointerArgType {aka const double*}’
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note: candidate: Eigen::Map<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >::Map(const Eigen::Map<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >&)
 template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
                                                                               ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note:   no known conversion for argument 1 from ‘const int*’ to ‘const Eigen::Map<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >&’
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:8:0:
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex_container.h: In member function ‘mapx::optimization::internal::se3::ShotVertex* mapx::optimization::internal::se3::ShotVertexContainer::CreateVertex(unsigned int, const Mat44_t&, bool)’:
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex_container.h:122:29: error: invalid new-expression of abstract class type ‘mapx::optimization::internal::se3::ShotVertex’
   auto vtx = new ShotVertex();
                             ^
In file included from /home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex_container.h:7:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:8:
/home/smile/app_install/mapx/src/mapx/optimization/internal/se3/shot_vertex.h:15:7: note:   because the following virtual functions are pure within ‘mapx::optimization::internal::se3::ShotVertex’:
 class ShotVertex final : public g2o::BaseVertex<6, g2o::SE3Quat> {
       ^~~~~~~~~~
In file included from /usr/local/include/g2o/core/base_edge.h:35:0,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/local/include/g2o/core/optimizable_graph.h:398:18: note: 	virtual void g2o::OptimizableGraph::Vertex::oplusImpl(const double*)
     virtual void oplusImpl(const double* v) = 0;
                  ^~~~~~~~~
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex_container.h:9:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:11:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h: At global scope:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h:27:24: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
   void oplusImpl(const number_t* update_) override;
                        ^~~~~~~~
                        timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h:27:8: error: ‘void mapx::sensor::imu::internal::BiasVertex::oplusImpl(const int*)’ marked ‘override’, but does not override
   void oplusImpl(const number_t* update_) override;
        ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h:46:41: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
 inline void BiasVertex::oplusImpl(const number_t* update_) {
                                         ^~~~~~~~
                                         timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h: In member function ‘void mapx::sensor::imu::internal::BiasVertex::oplusImpl(const int*)’:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h:47:42: error: no matching function for call to ‘Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::Map(const int*&)’
   Eigen::Map<const Vec3_t> update(update_);
                                          ^
In file included from /usr/include/eigen3/Eigen/Core:450:0,
                 from /usr/local/include/g2o/core/base_edge.h:30,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note:   candidate expects 4 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index size, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note:   candidate expects 3 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*]
     explicit inline Map(PointerArgType dataPtr, const StrideType& stride = StrideType())
                     ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note:   no known conversion for argument 1 from ‘const int*’ to ‘Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::PointerArgType {aka const double*}’
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note: candidate: Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::Map(const Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >&)
 template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
                                                                               ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note:   no known conversion for argument 1 from ‘const int*’ to ‘const Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >&’
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:11:0:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex_container.h: In member function ‘mapx::sensor::imu::internal::BiasVertex* mapx::sensor::imu::internal::BiasVertexContainer::CreateVertex(unsigned int, const Vec3_t&, bool)’:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex_container.h:99:29: error: invalid new-expression of abstract class type ‘mapx::sensor::imu::internal::BiasVertex’
   auto vtx = new BiasVertex();
                             ^
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex_container.h:9:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:11:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/bias_vertex.h:14:7: note:   because the following virtual functions are pure within ‘mapx::sensor::imu::internal::BiasVertex’:
 class BiasVertex final : public g2o::BaseVertex<3, Vec3_t> {
       ^~~~~~~~~~
In file included from /usr/local/include/g2o/core/base_edge.h:35:0,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/local/include/g2o/core/optimizable_graph.h:398:18: note: 	virtual void g2o::OptimizableGraph::Vertex::oplusImpl(const double*)
     virtual void oplusImpl(const double* v) = 0;
                  ^~~~~~~~~
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:12:0:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/gravity_dir_vertex.h: At global scope:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/gravity_dir_vertex.h:28:24: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
   void oplusImpl(const number_t* update_) override;
                        ^~~~~~~~
                        timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/gravity_dir_vertex.h:28:8: error: ‘void mapx::sensor::imu::internal::GravityDirVertex::oplusImpl(const int*)’ marked ‘override’, but does not override
   void oplusImpl(const number_t* update_) override;
        ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/gravity_dir_vertex.h:49:47: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
 inline void GravityDirVertex::oplusImpl(const number_t* update_) {
                                               ^~~~~~~~
                                               timer_t
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu.h:13:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu_wrapper.h:7,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:13:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/scale_vertex.h:28:24: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
   void oplusImpl(const number_t* update_) override;
                        ^~~~~~~~
                        timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/scale_vertex.h:28:8: error: ‘void mapx::sensor::imu::internal::ScaleVertex::oplusImpl(const int*)’ marked ‘override’, but does not override
   void oplusImpl(const number_t* update_) override;
        ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/scale_vertex.h:47:42: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
 inline void ScaleVertex::oplusImpl(const number_t* update_) {
                                          ^~~~~~~~
                                          timer_t
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu.h:14:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu_wrapper.h:7,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:13:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h:27:24: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
   void oplusImpl(const number_t* update_) override;
                        ^~~~~~~~
                        timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h:27:8: error: ‘void mapx::sensor::imu::internal::VelocityVertex::oplusImpl(const int*)’ marked ‘override’, but does not override
   void oplusImpl(const number_t* update_) override;
        ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h:49:45: error: ‘number_t’ does not name a type; did you mean ‘timer_t’?
 inline void VelocityVertex::oplusImpl(const number_t* update_) {
                                             ^~~~~~~~
                                             timer_t
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h: In member function ‘void mapx::sensor::imu::internal::VelocityVertex::oplusImpl(const int*)’:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h:50:42: error: no matching function for call to ‘Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::Map(const int*&)’
   Eigen::Map<const Vec3_t> update(update_);
                                          ^
In file included from /usr/include/eigen3/Eigen/Core:450:0,
                 from /usr/local/include/g2o/core/base_edge.h:30,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:149:12: note:   candidate expects 4 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, Eigen::Index, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*; Eigen::Index = long int]
     inline Map(PointerArgType dataPtr, Index size, const StrideType& stride = StrideType())
            ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:135:12: note:   candidate expects 3 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note: candidate: Eigen::Map<MatrixType, MapOptions, StrideType>::Map(Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType, const StrideType&) [with PlainObjectType = const Eigen::Matrix<double, 3, 1>; int MapOptions = 0; StrideType = Eigen::Stride<0, 0>; Eigen::Map<MatrixType, MapOptions, StrideType>::PointerArgType = const double*]
     explicit inline Map(PointerArgType dataPtr, const StrideType& stride = StrideType())
                     ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:122:21: note:   no known conversion for argument 1 from ‘const int*’ to ‘Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::PointerArgType {aka const double*}’
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note: candidate: Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >::Map(const Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >&)
 template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
                                                                               ^~~
/usr/include/eigen3/Eigen/src/Core/Map.h:88:79: note:   no known conversion for argument 1 from ‘const int*’ to ‘const Eigen::Map<const Eigen::Matrix<double, 3, 1>, 0, Eigen::Stride<0, 0> >&’
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:16:0:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex_container.h: In member function ‘mapx::sensor::imu::internal::VelocityVertex* mapx::sensor::imu::internal::VelocityVertexContainer::CreateVertex(unsigned int, const Vec3_t&, bool)’:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex_container.h:125:33: error: invalid new-expression of abstract class type ‘mapx::sensor::imu::internal::VelocityVertex’
   auto vtx = new VelocityVertex();
                                 ^
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu.h:14:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu_wrapper.h:7,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:13:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/velocity_vertex.h:14:7: note:   because the following virtual functions are pure within ‘mapx::sensor::imu::internal::VelocityVertex’:
 class VelocityVertex final : public g2o::BaseVertex<3, Vec3_t> {
       ^~~~~~~~~~~~~~
In file included from /usr/local/include/g2o/core/base_edge.h:35:0,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/local/include/g2o/core/optimizable_graph.h:398:18: note: 	virtual void g2o::OptimizableGraph::Vertex::oplusImpl(const double*)
     virtual void oplusImpl(const double* v) = 0;
                  ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc: In member function ‘bool mapx::optimization::ImuInitializer::Initialize(const std::vector<std::shared_ptr<mapx::schema::Keyframe> >&, mapx::Mat33_t&, double&, bool, float, float) const’:
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:31:29: error: ‘make_unique’ is not a member of ‘g2o’
   auto linear_solver = g2o::make_unique<
                             ^~~~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:31:29: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:80:0,
                 from /usr/local/include/g2o/autodiff/fixed_array.h:37,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:36,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/include/c++/7/bits/unique_ptr.h:832:5: note:   ‘std::make_unique’
     make_unique(_Args&&...) = delete;
     ^~~~~~~~~~~
/usr/include/c++/7/bits/unique_ptr.h:820:5: note:   ‘std::make_unique’
     make_unique(_Args&&... __args)
     ^~~~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:32:63: error: expected primary-expression before ‘>’ token
       g2o::LinearSolverEigen<g2o::BlockSolverX::PoseMatrixType>>();
                                                               ^~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:32:66: error: expected primary-expression before ‘)’ token
       g2o::LinearSolverEigen<g2o::BlockSolverX::PoseMatrixType>>();
                                                                  ^
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:34:12: error: ‘make_unique’ is not a member of ‘g2o’
       g2o::make_unique<g2o::BlockSolverX>(std::move(linear_solver));
            ^~~~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:34:12: note: suggested alternatives:
In file included from /usr/include/c++/7/memory:80:0,
                 from /usr/local/include/g2o/autodiff/fixed_array.h:37,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:36,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/include/c++/7/bits/unique_ptr.h:832:5: note:   ‘std::make_unique’
     make_unique(_Args&&...) = delete;
     ^~~~~~~~~~~
/usr/include/c++/7/bits/unique_ptr.h:820:5: note:   ‘std::make_unique’
     make_unique(_Args&&... __args)
     ^~~~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:34:41: error: expected primary-expression before ‘>’ token
       g2o::make_unique<g2o::BlockSolverX>(std::move(linear_solver));
                                         ^
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:87:70: error: invalid new-expression of abstract class type ‘mapx::sensor::imu::internal::GravityDirVertex’
   auto gravity_dir_vtx = new sensor::imu::internal::GravityDirVertex();
                                                                      ^
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:12:0:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/gravity_dir_vertex.h:15:7: note:   because the following virtual functions are pure within ‘mapx::sensor::imu::internal::GravityDirVertex’:
 class GravityDirVertex final : public g2o::BaseVertex<2, Mat33_t> {
       ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/g2o/core/base_edge.h:35:0,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/local/include/g2o/core/optimizable_graph.h:398:18: note: 	virtual void g2o::OptimizableGraph::Vertex::oplusImpl(const double*)
     virtual void oplusImpl(const double* v) = 0;
                  ^~~~~~~~~
/home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:93:59: error: invalid new-expression of abstract class type ‘mapx::sensor::imu::internal::ScaleVertex’
   auto scale_vtx = new sensor::imu::internal::ScaleVertex();
                                                           ^
In file included from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu.h:13:0,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/internal/inertial_gravity_scale_edge_on_imu_wrapper.h:7,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:13:
/home/smile/app_install/mapx/src/mapx/sensor/imu/internal/scale_vertex.h:15:7: note:   because the following virtual functions are pure within ‘mapx::sensor::imu::internal::ScaleVertex’:
 class ScaleVertex final : public g2o::BaseVertex<1, double> {
       ^~~~~~~~~~~
In file included from /usr/local/include/g2o/core/base_edge.h:35:0,
                 from /usr/local/include/g2o/core/base_fixed_sized_edge.h:35,
                 from /usr/local/include/g2o/core/base_binary_edge.h:30,
                 from /usr/local/include/g2o/types/sim3/types_seven_dof_expmap.h:30,
                 from /home/smile/app_install/mapx/src/mapx/schema/type.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.h:4,
                 from /home/smile/app_install/mapx/src/mapx/sensor/imu/imu_initializer.cc:1:
/usr/local/include/g2o/core/optimizable_graph.h:398:18: note: 	virtual void g2o::OptimizableGraph::Vertex::oplusImpl(const double*)
     virtual void oplusImpl(const double* v) = 0;
                  ^~~~~~~~~
src/mapx/CMakeFiles/mapx.dir/build.make:1286: recipe for target 'src/mapx/CMakeFiles/mapx.dir/sensor/imu/imu_initializer.cc.o' failed
make[2]: *** [src/mapx/CMakeFiles/mapx.dir/sensor/imu/imu_initializer.cc.o] Error 1
CMakeFiles/Makefile2:144: recipe for target 'src/mapx/CMakeFiles/mapx.dir/all' failed
make[1]: *** [src/mapx/CMakeFiles/mapx.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

smile@smile-X3-S:~/app_install/mapx/build$ sudo make 的相关文章

  • cmake - 防止“make clean”清理ExternalProject

    我想知道是否有什么办法可以预防make clean在 cmake 中重新构建外部依赖项 我在用着ExternalProject构建第三方 C 库 即使我这样做也不必重新构建它们make clean 另一方面 我可能想创建一个新规则 例如 m
  • SCons 库和子库

    我有一个基于 SCons 的分层构建系统 我有一个根 SConstruct 它调用一个构建共享库的 SConscript 然后调用另一个构建依赖于共享库的可执行文件的 SConscript 所以这是我的问题 我对linux上共享库的理解是
  • 检查 FTP 服务器上的可用空间

    我正在运行一个构建脚本 其中三个可执行文件 每个 100mb 被上传到 FTP 服务器 由于 FTP 服务器空间问题 第一次上传可能会失败 因此我们的构建过程会失败 这意味着我必须从服务器释放一些空间并再次运行构建脚本 这是浪费时间 我想在
  • 将 Babel 添加到 HTML

    我是 ReactJS 新手 在将 babel 导入 html 时遇到问题 目前该项目托管在code pen上链接到代码笔 https codepen io davedaw pen JJgvGK editors 1010 我正在尝试在本地主机
  • 在ubuntu上构建php5.3.8,出现错误:configure:error:无法找到gmp.h

    我正在使用 ubuntu 13 10 x64 并且正在尝试构建 php 5 3 8 我下载了源代码并运行配置 configure enable fpm with fpm user www data with fpm group www da
  • 在 XCode 的复制标头构建阶段将角色更改为公共时,如何保留子组?

    目前 层次结构已变平 所有头文件都被复制到我的 Classes 文件夹中的单个 Headers 目录中 无论它们位于哪个子文件夹中 如果标头具有引用子文件夹中其他标头的 include 语句 则在引用标头时就会出现问题 特别是 这会搞砸 B
  • 配置 Xcode 4 工作区以在需要时构建依赖项的正确方法是什么?

    我的情况很简单 一个工作区有两个兄弟项目 一个主 iOS 应用程序和一个构建该应用程序使用的多个静态库目标的项目 以下是我配置构建的方式 将主应用程序的构建设置中的 用户标题搜索路径 指向库项目位置 通过源树 在我的应用程序的主要目标的编辑
  • 在为项目构建不同的 Eclipse CDT 共享资源文件夹中

    我有一组 Eclipse c 项目 它们都引用公共共享代码库 同一文件夹中的 c 和 h 文件的混合 但会根据每个项目以不同的方式构建该代码 可以在每个项目内编辑公共代码库 但这些编辑将是在所有项目中进行的修复 除了通过定义的构建选项之外
  • Netbeans 删除内置类?

    我有一个 NetBeans 项目 其中有很多类 过去三周我一直在研究这个项目 今天才开始遇到这个问题 单击 NetBeans 中的 运行主项目 按钮时 我看到以下错误 Exception in thread main java lang N
  • 替代品?

    您建议用什么来替代 Maven Java 构建工具集 只是简单的 Ant 脚本吗 SCons 无论如何 这取决于你使用什么 马文1 马文2 我发现 Maven 2 有很好的文档记录 并且在与 Ant 任务和一些自制的 Java 插件结合使用
  • Loop_apply.o:文件无法识别:文件格式无法识别

    我正在尝试安装R s plyr包裹 这是错误消息 installing source package plyr package plyr successfully unpacked and MD5 sums checked libs cla
  • C++ 构建系统 - 使用什么? [关闭]

    Closed 此问题正在寻求书籍 工具 软件库等的推荐 不满足堆栈溢出指南 help closed questions 目前不接受答案 我正在考虑用 C 启动一个新项目 最初是在我自己的时间 并且我正在研究可用的构建系统 答案似乎是 很多
  • 在 CMake 中添加多个可执行文件

    我在 C 项目中的代码组织如下 我有一些 cpp and h包含我的课程的文件 我有一些 cxx必须针对以下内容进行编译的文件 cpp文件和一些外部库 现在 每个 cxx文件有一个main 方法 因此我需要为每个与该文件同名的文件添加不同的
  • ant命令不生成apk文件

    我正在使用 Ant 构建我的应用程序 我的应用程序使用库项目 所以首先我在命令行中运行以下命令以在我的项目中生成 build xml 安卓更新 项目 target 5 p 我的项目路径 l 我的库项目路径 我的应用程序的构建目标是 4 0
  • 仅使用 RSA 和 AES 构建 openssl

    我正在一个项目中使用 libcrypto a OpenSSL 默认情况下 所有算法都在 libcrypto a 下可用 对于该项目 我只需要 RSA AES 和 SHA 如何仅使用这些算法构建 libcrypto a 如果您通过运行以下命令
  • Ant 任务:使用排除参数

    得到以下 build xml 字符串
  • 生产准备 Ionic 应用程序的任务

    我想弄清楚是什么best从代码传递到最终可部署 apk ipa 的过程 到目前为止 我有一个使用 Karma Jasmine 的测试套件 它将 TypeScript 转换为 JS 并运行一些单元测试 我通过 gulp 开始这个过程 之后我所
  • 指定共享对象(共享库)的名称

    Go 编译器为共享对象生成的名称是错误的 例子 go install buildmode shared linkshared github com apache thrift lib go thrift code google com p
  • 除非我手动选择“重建”,否则 Visual Studio 2010 不会重建更改的代码

    在过去一周左右的时间里 我注意到 Visual Studio 2010 不会重新编译代码 除非我强制这样做 这是一个使用 WPF 的 C 4 0 项目 我按了 F5 如果代码已更改 它似乎使用了重建 然后启动应用程序 相反 它现在在左下角状
  • Qt for Android:无法签署应用程序的发布版本

    我正在使用 Qt 5 13 和 Qt Creator 4 9 2 我可以成功构建 Android 应用程序的调试版本 但是当我尝试编译发布版本时 我得到 16 57 35 过程 opt Qt 5 13 0 android armv7 bin

随机推荐