How To Compile?

I want to create a new project and every time it says

The following modules are missing or built with a different engine version:
    UE4Editor-WSP.dll
Would you like to rebuild them now?

I click yes and it starts the build, but then gives the error

WSP could not be compiled. Try rebuilding from source manually.

How do I do this?