Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我也是同样出现这个错误 #11

Open
Moonteresa opened this issue Nov 8, 2019 · 2 comments
Open

我也是同样出现这个错误 #11

Moonteresa opened this issue Nov 8, 2019 · 2 comments

Comments

@Moonteresa
Copy link

我也是同样出现这个错误

Originally posted by @lsj1005 in #10 (comment)

请问你的opencv pcl vtk 配置是怎么样的?我是3.4 1.9 6.2

@MRwangmaomao
Copy link

MRwangmaomao commented Nov 25, 2019

经过断点调试后发现问题出现在Eigen中的Eigen/src/Core/MapBase.h对齐问题,我猜可能是gcc优化后代码运行中发生了conflict,导致核心转储。

我修改了CMakeLists.txt中的gcc编译等级,把 -march=native -O3给去掉了,如下所示。

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 ")

现在可以正常run起来了。

@Livesoso
Copy link

如果有去掉之后还不行的eigen的版本换成3.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants