Unreal 4.10.4 fails to create a project for me. A dll file called ProjectName.dll can't be produced

I’m using UE 4.10.4 and VS 2015. They’re not the latest versions of the respective software but my computer isn’t very powerful so I’m using these older versions.

Anyway, whenever I try to make a blank C++ project in Unreal called Building, I get an error that Building.dll could not be produced. Would I like to open the project in Visual Studio?

I’ve seen other posts but they deal with VS 2017, and since VS 2015 doesn’t have the same kind of installer as 2017, I’m not sure what to do. The very first thing I did was install every C++ related component in VS but that didn’t work.

How can I solve this? Thanks.