I am trying to use OpenCV 3.4.1 on Windows 10 with CodeBlocks. So I downloaded mingw64(x86_64-8.1.0-release-posix-seh-rt_v6-rev0
), and used CMake to configure and generate opencv.cbp
successfully. But when I opened it on CodeBlocks and tried to build it, I got these error message:
C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20393|Error: invalid register for .seh_savexmm| C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20395|Error: invalid register for .seh_savexmm| C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20397|Error: invalid register for .seh_savexmm|
..
.[modules\dnn\CMakeFiles\opencv_dnn.dir\build.make|1016|modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj] Error 1|
[CMakeFiles\Makefile2|4086|modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2| [ C:\opencv\build\Makefile|162|all] Error 2| ||=== Build failed: 18 error(s), 1642 warning(s) (28 minute(s), 36 second(s)) ===
|