Visual Studio 2013 Compile error

Hi i’m getting this error when i’m compiling in visual studio 2013, I have followed all steps until the visual studio build, please help…

My system configuration is

Windows 8

Intel core i7 4770 (Quad Core)

8GB RAM

Geforce GTX 780

Visual Studio 2013 Express for Windows Desktop Installed

June 2010 DirectX runtime Installed

=============================================================

Error Message

1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------

1> Building UnrealHeaderTool…

1> Performing 24 actions (max 4 parallel jobs)

1> -------- End Detailed Actions Stats -----------------------------------------------------------

1>ERROR : UBT error : Failed to produce item: C:\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll

1> Cumulative action seconds (8 processors): 0.00 building projects, 1.03 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other

1> UBT execution time: 3.83 seconds

1> UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1.

========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

I am sorry to hear that you are experiencing this issue, and I will begin investigation into this as soon as possible. Thanks for your patience.

In the meantime, and for best results, please be sure to review our suggestions for how to report your issues, and feel free to edit your post if you have any additional information to provide:

Thank you.

oh finally, thank you for your reply, please help me out

Are you trying to build version 4.2.0 or 4.2.1, and did you download the dependencies for the correct version (the dependencies for 4.2.0 will not work with 4.2.1 and vice versa)?

Is there error message you provided the complete error output?

i’m trying build 4.2.1 which is the lastest, i have download all the proper dependencies i.e. the Required_1of2.zip and Required_2of2.zip

https://github.com/EpicGames/UnrealEngine/releases/download/4.2.1-release/Required_1of2.zip

https://github.com/EpicGames/UnrealEngine/releases/download/4.2.1-release/Required_2of2.zip

and thats the complete error meesage what i’ve posted

What do you have your Solution Configuration and Solution Platform options set to when you try to build the Engine?

Solution Configuration = Development Editor,
Solution Platform = Win64

No, actually I uninstalled visual studio 2013 express and installed visual studio 2013 ultimate for windows desktop to try my luck but it dint happen.

Do you have any other versions of Visual Studio installed other than VS 2013 Express?

Can you look up your VS120COMNTOOLS environment variable and let me know what the value is? You can find the environment variables at Control Panel\System and Security\System -> Advanced System Settings -> Environment Variables

the value is C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

That looks correct, as long as you installed Visual Studio in the default location.

Could you please try re-downloading the two dependency files and completely replace what you have already downloaded? I want to make sure something did not get corrupted during the previous download or unzipping. Also, double-check to make sure that you are unzipping those dependencies to the right folders (or unzip them into a temp folder and move the unzipped folders into your UE4 directory).

Ok I’ll try that and let you know

This is not VS 2013 / Win8 specific. I get the same error on VS 2012 / Win7.

1>ERROR : UBT error : Failed to produce item: D:\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll
1>  Cumulative action seconds (4 processors): 0.00 building projects, 218.02 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.82 linking, 0.00 other
1>  UBT execution time: 120.00 seconds
1>  UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: D:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

I’ve tried doing a fresh pull from github into a new clean folder, and I added the contents of the new zip files for 4.3:
Required_1of2.zip md5 399f7be61254121f190450403fcc3cd1
Required_2of2.zip md5 87725b7382ea3a2ffe5f87965a065ffc

Hi ,

Did you also download and unpack the optional dependency file since you are using VS 2012? I will try building the Engine using VS 2012 later today.

Oops, I forgot, VS 2012 wasn’t specified in the 4.3 release notes so I forgot to download it. I’ll try now.

Also I didn’t include the linker error that presumably causes the build to fail. Which is

LNK1181: cannot open input file ‘icudt.lib’

1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
1>  Building UnrealHeaderTool...
1>  Performing 5 actions (max 2 parallel jobs)
1>  [1/5] link.exe UnrealHeaderTool-Core.dll
1>LINK : fatal error LNK1181: cannot open input file 'icudt.lib'
1>  -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: D:\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll
1>  Cumulative action seconds (4 processors): 0.00 building projects, 0.00 compiling, 0.00 creating app bundles, 0.00 generating debug info, 1.27 linking, 0.00 other
1>  UBT execution time: 5.72 seconds
1>  UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: D:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped 

==========

Awesome that worked perfectly. I downloaded the latest Options.zip and everything is linking just fine now.

Sorry about not including the linker error. That would have pointed directly to the file inside Options.zip

Excellent, I’m glad to hear that you are up and running again.

Hi eveonx,

We have not heard from you for a few days. Were you able to build the Engine successfully?

Hi , I’m sorry I’ve been very busy lately, will post the outcome in 12 hours