System information (version)
- OpenCV => 4.4.0
- Operating System / Platform => Windows 64 Bit
- Compiler => mingw32
Detailed description
The symbol "scr1" is already defined in the mingw-w64 runtime package in "mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\x86_64-w64-mingw32\include\dlgs.h" (included through "windows.h" for example).
Steps to reproduce
The compilation fails.
Several ways to solve this issue
- The ugliest one would be to add at the beginning of this file:
#if defined scr1
# undef scr1
#endif // scr1
-
A better one should be to avoid including the "windows.h" file before "color_yuv.simd.hpp"
-
An alternative could be the renaming of variables.
The guilty mingw32 "dlgs.h" file:
dlgs_h.txt
System information (version)
Detailed description
The symbol "scr1" is already defined in the mingw-w64 runtime package in "mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\x86_64-w64-mingw32\include\dlgs.h" (included through "windows.h" for example).
Steps to reproduce
The compilation fails.
Several ways to solve this issue
A better one should be to avoid including the "windows.h" file before "color_yuv.simd.hpp"
An alternative could be the renaming of variables.
The guilty mingw32 "dlgs.h" file:
dlgs_h.txt