Issues on Building 4.12.5 from source in VS2015

Hi,

Following the steps provided in [Building Unreal Engine from Source][1], I am trying to build UE4. However, it seems to get stuck (see the image attached).

104900-未命名.jpg

This status continues for several hours (at least 10 hours, yet to finish), while the progress bar shows the building is in progress.

Even though the building time depends on the specification of system, the time (10 hours or even more) is too unreasonable. (My Specs: i7-4790, 16GB RAM )

I don’t know what happened and what should I do to fix it.

Any help would be appreciated :slight_smile:

Hi Streliteela,

It is not very common, but sometimes the compiler in Visual Studio will get stuck on a file. If you have not already done so, could you try stopping and starting the build again? This should only build any remaining files that have not yet been built, so files that have already been completed successfully will not be built again.

Hi :diamonds::diamonds:,

Thanks for your timely reply.
Unfortunately, I am running into another problem when I stopped and try to build it again.

It had taken even longer than 12 hours to build ShaderCompileWorker yesterday, but it is not over yet.
It is abnormal and seems to get stuck again.
Today, I try it again, but hit the same obstacle T_T

That certainly does sound unusual. Just to confirm, you are not getting any errors or build failures at all, the build process just gets stuck on one file indefinitely?

Would you be able to let me know what your Solution Configuration and Solution Target settings in Visual Studio are? Also, could you provide the dxdiag information for your computer?

Only got errors when I ran Setup.bat and GenerateProjectFiles.bat. But I tried to build UE after successfully downloading the files.
Solution Configuration: Development Editor.
Solution Platform: Win64

What were the errors that you saw when you ran Setup.bat and GenerateProjectFiles.bat?

Sorry for the late reply.

The error got from Setup.bat is showed below.

105698-failedsetup.jpg

Others are net-related.

The source code I built was cloned from GitHub.

I also downloaded the source code as a zip from GitHub and tried to built it. Setup.bat and GenerateProjectFiles.bat ran quickly without any errors, much less time than those from the cloning version. However, it seemed to get stuck in the building of UE4, too.

In the process of building source code (.zip), each time it got stuck, I stop and restart the building.
It stopped completely with 2 errors…

Is it imcompatible with VS2015-update 2 in win7 ? I used VS2015-update2 in win7.

105812-vs2015_version.jpg

Hi Streliteela,

Just a quick question. Are you using a 32-bit version of ? The error message that you showed should only occur if you are trying to build the Engine on a 32-bit OS.

It would also be helpful if you could provide your dxdiag information so we can have a better idea of your system specs since we have not been able to reproduce this here (yet).

Hi :diamonds::diamonds:,

I install the 64-bit version of .

Partial dxdiag information is showed below.

Thank you for providing that information. I do not see anything in the dxdiag information that would normally result in the issue that you are experiencing.

There also should be no problem with using Visual Studio 2015 Community with Update 2. I am currently still on Update 1, but the Engine was recently updated to work with Update 3. If you are downloading the source code from the release branch (currently 4.13.0), it should work with any update to Visual Studio 2015.

If you try again and get to the point where the build fails, could you please provide the last 15-20 lines from your output log? The actual cause of the build failure should be in there.

Could you also please download this file, place it on your desktop, remove the .txt extension, then run the file? This will create a new info.txt file with information related to your Visual Studio installation. Upload that file here and I will take a look and see if there may be a problem there.

So so so sorry for late reply.

info.txt is attached.
Is it installed in wrong path?!
D:**Program Files (x86)**\Microsoft Visual Studio 14.0\Common7\Tools 的目录

link text

The information in that file looks like it is fine. I am trying to find some additional information that may provide some clue to what is causing this issue for you.