Building from source on Windows 10

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!!

1 Like