### System Information OpenCV => 4.10.0 Operating System / Platform => Windows 10 64bit Compiler => mingw-w64 8.1.0-posix-seh-rt_v6-rev0 ### Detailed description When I compiled the 4.1.0 version with mingw-w64, there was an error  ### Steps to reproduce In my c-make gui there is no D3D10 but only D3D11 so I don't know what to do with this error ### Issue submission checklist - [X] I report the issue, it's not a question - [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution - [X] I updated to the latest OpenCV version and the issue is still there - [X] There is reproducer code and related data files (videos, images, onnx, etc)