"Engine source code was not found. In order to use a C++ template, you must have engine source code in Engine/Source." What to do?

  3d, c++, unreal-engine4

I’d wanted to create a C++ project in Unreal Engine 4 and this message appeared. I think I’ve done all the possible things to solve the problem: have reinstalled Unreal Engine, updated Visual Studio and even have installed Unreal Engine via source code from GitHub! I have no idea how to solve that… HELP!

Source: Windows Questions C++