在安装好ORB-SLAM2后,运行了其中的一个Demo,但是却遇到了下边的一个问题:
QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault (core dumped)
解决方法
经过检查发现,在编译opencv时,时将WITH_QT设置为true;原因是默认使用了系统中的Qt5,从而导致了错误。
因此解决方法时,在编译opencv时将WITH_QT设置为false即可。
在安装好ORB-SLAM2后,运行了其中的一个Demo,但是却遇到了下边的一个问题:
QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault (core dumped)
经过检查发现,在编译opencv时,时将WITH_QT设置为true;原因是默认使用了系统中的Qt5,从而导致了错误。
因此解决方法时,在编译opencv时将WITH_QT设置为false即可。