Hi,
I am attempting to build OpenCV from the sources using Windows 10 and Visual Studio 2022 c++ 17.
I have followed the instructions from the OpenCV website. I have installed python, cmake and no end of other stuff. When I click “configure” in cmake there is an error and the cmake output log says “The system is: Windows - 10.0.19044 - AMD64”
I have scoured the internet and I cannot find any guidance as to what the issue might be.
I think the installer for Visual Studio 2022 is a bit funky.
I went into the Installer to ensure I had the right modules and it said I did not have a version of VS2022 installed which is really weird because I was using it just fine.
So I reinstalled VS2022 and then I could not compile a project because it could not find windows.h >mega funky.
So I reinstalled VS2022 a third time, I could compile my c++ projects and now cmake seemed to work fine.
I built OpenCV using cmake and I was able to open OpenCV as an sln and I am currently compiling it within VS2022.
Such my life!!