Open CV crashes under WIN7 when opening NamedWindow

末鹿安然 提交于 2020-01-05 04:30:16

问题


I am having trouble with OpenCV2.0 on Win7 32bit, I have recompiled it using MinGW 4.5.0 and everything went OK until I tried to run examples. Anytime it opens NamedWindow it crashs down. On the other side on on different machine Win7 64 bit everything runs without problem. Any idea?

Thx, Jan


回答1:


It is a known problem due to some sort of "stack misalignment" with SSE under certain circumstances.

It has been posted before namedWindow() causes crash in opencv 2.3.1? (Eclipse+MinGW on XP, C++)

/Lars




回答2:


Check that you are picking up the correct DLLs, and if you built with Qt, that you are getting the correct Qt DLLs.

Did you just install somethign that also uses Qt - but a different version (like AMDs codeprofiler)



来源:https://stackoverflow.com/questions/4726041/open-cv-crashes-under-win7-when-opening-namedwindow

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!