gaoxiang12 / slambook

MIT License
6.84k stars 3.26k forks source link

Project 0.3/0.4里cmake版本若改为“Debug”报错。 #58

Open HitLumino opened 6 years ago

HitLumino commented 6 years ago
#set( CMAKE_BUILD_TYPE "Release" )
set( CMAKE_BUILD_TYPE "Debug" )

cmake error :

lumino@lumino:~/hitlumino/slambook/project/0.4/build$ ../bin/run_vo ../config/default.yaml 
dataset: /home/lumino/Downloads/rgbd_dataset_freiburg3_long_office_household
read total 2489 entries
****** loop 0 ******
extract keypoints cost time: 0.087779
descriptor computation cost time: 0.00466
Key frame size = 0
VO costs time: 0.092847

****** loop 1 ******
extract keypoints cost time: 0.00469
descriptor computation cost time: 0.004464
good matches: 302
match cost time: 0.009924
pnp inliers: 301
run_vo: /usr/include/eigen3/Eigen/src/Core/MapBase.h:168:void Eigen::MapBase<Derived, 0>::checkSanity() const [with Derived = Eigen::Map<Eigen::Matrix<double, 2, 6, 0, 2, 6>, 32, Eigen::Stride<0, 0> >]: 假设 ‘((size_t(m_data) % (((int)1 >= (int)internal::traits<Derived>::Alignment) ? (int)1 : (int)internal::traits<Derived>::Alignment)) == 0) && "data is not aligned"’ 失败。
已放弃 (核心已转储)
zsustc commented 5 years ago

同遇到这个问题,Release没有问题