OpenCV 2.2 Windows XP MinGW build crashes on namedWindow, imshow

后端 未结 1 1650
时光说笑
时光说笑 2021-01-06 02:58

I downloaded the latest OpenCV 2.2 sources for Windows and compiled on Windows XP using MinGW 4.4.1, with the help of CMake 2.8.

Everything went smoothly and compila

相关标签:
1条回答
  • 2021-01-06 03:40

    I've the same problem. I built OpenCV 2.2 under WindowsXP, using CMake, MSYS-make and mingw.

    The sollution is explained here: mingw32 SSE/SSE2 instabilities

    What I have done is the following:

    1. Use CMake (2.8.4), specify target directory and run "Configure" for MSYS's make.
    2. Type Debug at "CMAKE_BUILD_TYPE".
    3. Remove checkmark for "SSE2".
    4. Run "Configure" again.
    5. Run "Generate".
    6. Run make at target directory.
    7. Run make install.

    This worked for me.

    0 讨论(0)
提交回复
热议问题