Ask Your Question
1

dnn build error via Mingw64

asked 2018-02-23 09:21:52 -0600

komms gravatar image

opencv 3.4 mingw64 eclipse oxygen windows 10 I'm getting these errors while building the dnn module. what's the cause of this error?

[ 58%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s: Assembler messages: C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21573: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21575: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21577: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21579: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21581: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21583: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21585: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21587: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21589: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21591: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21593: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21595: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21597: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21599: Error: invalid register for .seh_savexmm mingw32-make[2]: * [modules\dnn\CMakeFiles\opencv_dnn.dir\build.make:1742: modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj] Error 1 mingw32-make[1]: [CMakeFiles\Makefile2:4024: modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2 mingw32-make: ** [Makefile:162: all] Error 2

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-02-23 10:41:54 -0600

mshabunin gravatar image

This is known problem, try to disable CPU dispatched optimizations: pass -DCPU_DISPATCH= option to cmake

edit flag offensive delete link more

Comments

Thank you. Does it mean that one cant use DNN module in opencv? I built my files without dnn module as i don't need it at the moment via Cmake.

komms gravatar imagekomms ( 2018-03-15 06:25:40 -0600 )edit

The problem should've been fixed in master branch: https://github.com/opencv/opencv/pull...

mshabunin gravatar imagemshabunin ( 2018-03-15 13:01:30 -0600 )edit

thank you :)

komms gravatar imagekomms ( 2018-03-15 16:03:19 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-23 09:21:52 -0600

Seen: 1,884 times

Last updated: Feb 23 '18