错误提示:
usr/include/eigen3/Eigen/src/Core/DenseStorage.h:109:
Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions,
16>::plain_array() [with T = double; int Size = 16; int
MatrixOrArrayOptions = 0]: Assertion
`(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array))
& (15)) == 0 && “this assertion is explained here: "
“http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html”
" **** READ THIS WEB PAGE !!! ****”’ failed. Aborted
解决办法
官网解决办法尝试了,无法解决,最后把Debug模式改成了Release模式,成功解决问题:
在Cmakelist.txt文件中添加:
SET(CMAKE_BUILD_TYPE "Release")