This is likely caused by multiple versions of C++ build tools being installed or cmake refusing to generate build files with Visual Studio 15, if you have multiple versions of the build tools installed, uninstall them or upgrade to a newer version Visual Studio preferably 17 2022 or 18 2026