UE4 compiling Error on VS 2012: icudt.lib can't be opened

Hey guys,
I tried to setup the UE4 project the first time with visual studio 2012. But I get an error which says

1>------ Erstellen gestartet: Projekt: UE4, Konfiguration: Debug_Game Win32 ------
1> Building UnrealHeaderTool…
1> Performing 5 actions (max 4 parallel jobs)
1> [1/5] link.exe UnrealHeaderTool-Core.dll
1>LINK : fatal error LNK1181: Eingabedatei “icudt.lib” kann nicht ge÷ffnet werden.
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\Users\Stefan\Desktop\UE4\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll
1> Cumulative action seconds (8 processors): 0,00 building projects, 0,00 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,16 linking, 0,00 other
1> UBT execution time: 3,36 seconds

and I don’t get what it’s all about with this icudt.lib. Is it a missing file on my pc which regularly should be there? Or did I miss any point?

Thanks in adavance!

On VS2013, trying to build master branch with both required and an optional dependencies, I get the same error:

1>LINK : fatal error LNK1181: cannot open input file ‘icudt.lib’

Update: Same with 4.3 and dependencies.

Make sure that you downloaded the required dependency files for the version you are trying to complile.

I did not use the updated dependency files. After downloading the updated 4.3 dependencies the build worked fine on the 4.3 branch. Will try master next.

Same for me

@dd_Stefan & @Apiotrw

We are marking this as Resolved for tracking purposes, but please let us know if your issue is still ongoing and the solution Sizur provided did not work for you.

Thanks

It seems it will search icudt.lib in the folder
Engine\Source\ThirdParty\ICU\icu4c-53_1\Win32\VS2012\lib (for win32)
or
Engine\Source\ThirdParty\ICU\icu4c-53_1\Win64\VS2012\lib (for win64),
but there are not exist.

so you can build this thirdparty library by vs2012.
i give up to build it by vs2012 at last, because there is not physX lib for vs2012, and there is no source code. when i build the editor by physx lib for vs2013, the editor will crash

Hi junhongwang,

Did you also download the Optional dependencies for the version of the Engine you are trying to build? The icudt.lib files in the VS2012 folders are in the Optional dependencies file.

Thanks a lot. I did forget to download the optional dependencies in this computer. Your answer is helpful.

Hi, could you show from where the “Optional dependencies” can be downloaded?

Hi PowerDesign,

The zipped dependency files (including the optional dependencies) are no longer used when building the Engine from source code. Currently all you need to do is to run Setup.bat, which will download the dependencies required for the version of the Engine you are trying to build.

Also, if you are trying to build the Engine using Visual Studio 2012, please keep in mind that we no longer support Visual Studio 2012.

Thanks! Thanks! Thanks! : )