PlsHelp:

I deleted the two lines from my PATH, and will use the VS command prompt you suggested. Does that mean, I should remove the following commands from my installation routine?


If you want to build with the VS generator, then you should probably set CMAKE_GENERATOR, otherwise, the Ninja generator will be used and you don’t need to set any one of them.
[quote=“PlsHelp, post:14, topic:121318”]
The issue that CUDA cannot find Visual Studio remains, even though I have

MSVC v142 - VS 2019 C+±x64/x86-Buildtools (v14.28)
installed (I installed Visual Studio and all components using this previously mentioned file)
Should I just reinstall it using VS Community (which seemed to work), and install the newest MSVC and SDK?

If it could work, then maybe you could just reinstall that. Actually, I don’t know too much about your local environment.

And if so, would you suggest VS Community 16.8.5 - matching the current Buildtools version - or the latest?

I see that you are using my patch. So it won’t have any problem using the latest one.