关于在linux平台或cygwin平台运行opencv出现Illege instruction(core dump)问题的缘由

来源:互联网 发布:网络网警qq是多少 编辑:程序博客网 时间:2024/05/29 19:59

在linux或cygwin平台运行opencv程序时,会出现Illege instruction (core dump)问题,原因的解释来自:

http://www.mesimian.com/installing-opencv/

  • If you happen to get “Illegal instruction” while running applications using OpenCV, you should disable some CPU performance tunning in OpenCV makefiles (Actually cmake files). Edit OpenCV/release/CMakeCache.txt, settingENABLE_SSE2:BOOL=OFF. Then rerun cmake, make, make install. This is very common with old AMD CPUs (like Athlon XP).

0 0
原创粉丝点击