Generate cpp project Couldn't find UnrealBuildTool

I got same errors when trying to build from .sln created via command line like in previous suggestions, only way that worked was by opening project from launcher and converting there (but I also had to eliminate all compile errors before that worked so it took few tries by copying project over and over and fixing issues one by one)