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).
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.
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.
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
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.
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).
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.
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.