(I’ve asked this question on the UE AnswerHub, but it’s sat for a while and hasn’t received even a comment, so I figured I’d ask here and cover all my bases.)
I’m trying to build my Visual Studio project. It builds fine, until I create a public UPaperSpriteComponent variable. Then when I try to build it says 1 failed and gives me this error:
ERROR : UBT error : Failed to produce item: ...\MyFirst2DGame\Binaries\Win64\UE4Editor-MyFirst2DGame.pdb Cumulative action seconds (4 processors): 0.00 building projects, 69.87 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other UBT execution time: 43.14 seconds C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""D:\Program Files\Epic Games\4.7\Engine\Build\BatchFiles\Build.bat" MyFirst2DGameEditor Win64 Development "...\MyFirst2DGame\MyFirst2DGame.uproject" -rocket" exited with code -1.
I’ve done some googling, and it seems the solution to this issue is to reinstall DirectX. However, I’m unsure which version/type I should reinstall. I’ve already tried reinstalling DX_SDK_Jun10 to no avail.
How do I resolve this issue with building my project? Any help would be appreciated