Source Fails to Build
Hi. I am attempting to perform the final step to build Unreal 4 using the source code. When I try to Build the UE4 target in UE4.sln in Visual Studio 2013 Express, the process errors out after a couple of minutes with the following complaint: "Could not write output file 'Unreal 4 Source\Engine\Intermediate\Build\BuildRules\UE4Rules.dll' -- The process cannot access the file because it is being used by another process."
I have restarted my machine, and also deleted the file this line mentions (in hopes of getting a different and less weird error). Building the UE4 target re-built the object and generated the same error as before. I have also tried running the installer as an admin - to no avail, sadly.
Note: my operating system is Windows 7 Pro 64-bit SP1.
Has anyone else encountered this issue? Please help.
asked Jan 27 '16 at 11:17 PM in Installation & Setup
Just wanted to say we have just run into this problem, and the cause was, to put it short, that source file timestamps were in the future, catching UBT in a perpetual "target not up to date" loop.
Steps to reproduce:
The fix is to either reset the timestamps on the files in the working copy to the present (for instance using the
answered Oct 03 '16 at 12:05 PM
It seems like something else running is preventing the compiler from completing. Can you let me know if restarting your computer and then attempt to build before loading any other programs? Also, The CS0016 error that you posted seems to be an issue with the environment variables. Can you check that the environment variables are set poperly? This can be done by finding "MyComputer" or "Computer" in the start menu, rick clicking and selecting Properties. In the window that appears, select "Advanced system settings" on the left hand side. In the System Properties window under the Advanced Tab, click the button for Environment Variables... In the System variables box select the variable for "Path" and choose edit.
answered Feb 02 '16 at 03:45 PM
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
answered Feb 22 '16 at 05:39 PM
Could it be in Registry you have more than 1 items under \HKCU\Software\Epic Games\Unreal Engine\Builds?
answered Apr 07 '16 at 10:30 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here