aslam_cv2 icon indicating copy to clipboard operation
aslam_cv2 copied to clipboard

multi-definition error if build static libraries

Open CanCanZeng opened this issue 3 years ago • 0 comments

https://github.com/ethz-asl/maplab/issues/351

like this issue said, the definition of GyroTwoFrameMatcher::getKeypointIteratorsInWindow is in gyro-two-frame-matcher.h file, but it is included by both gyro-two-frame-matcher.cc and feature-tracker-gyro.cc, this may cause multi-definition error if both aslam_cv_matcher module and aslam_cv_tracker module are linked. Would you please move the implementation of GyroTwoFrameMatcher::getKeypointIteratorsInWindow to gyro-two-frame-matcher.cc.

CanCanZeng avatar Jan 20 '22 04:01 CanCanZeng