Open wuzhentao opened 6 years ago
in Xcode9 build ,this error "Allocator::value_type must be same type as value_type"
In include/LoopClosing.h, change lines 49 and 50 to:
include/LoopClosing.h
typedef map<KeyFrame*,g2o::Sim3,std::less<KeyFrame*>, Eigen::aligned_allocator<std::pair<KeyFrame* const, g2o::Sim3> > > KeyFrameAndPose;
in Xcode9 build ,this error "Allocator::value_type must be same type as value_type"