I was using OpenCV 4.2.0 on Microsoft Studio which I downloaded the pre compiled version from the official repository, it was working fine. Then I decided to move to MinGW a