I need to install MinGW compiler as per the instructions given here.
Choose the options for "posix" threads, and for "seh" exceptions handling, then install to the default location c:\Program Files\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev2
I tried following the procedure with " sjlj" option but it was not successful. "seh" exception option was the only step that i did differently .
chdir %GOPATH%\src\gocv.io\x\gocv
win_build_opencv.cmd
I also changed the path of MngW compiler in win_build_opencv.cmd to make it work.
I am on 64-bit operating system , x64-based processor.
Issue can be something else as well , but i am just exploring the possibility of "seh" exception handling making things wrong in my task.