Download

[Resolved] Still can't build 4.18 from source, even in 4.18.1

This has been an issue since preview 3/4, and despite many AH reports still hasn’t been fixed.
https://answers.unrealengine.com/que…om-source.html

Removing the project from Solution Explorer is not a fix for the issue, and doesn’t solve the problem if you want to package up a custom binary build. Pls fix, soon.

Just wanted to reply here as well to let you know that this concern has been raised internally. As stated on Answerhub, keep in mind that this will not necessarily guarantee a quicker fix for the issue, however.

Thanks again for letting us know.

Thanks Sean, good to know it’s raised at least :slight_smile:

Please see https://github.com/EpicGames/UnrealEngine/pull/4222 (specifically the code change in ShaderCacheTool.cpp).

Thanks, that’s what I did in my local version (the automation tool issue was fixed in the hotfix). Unfortunately I now have another issue when trying to use Build Graph to package a binary engine build, which keeps cropping up regardless.

Surprise Surprise, it’s related to another iOS / Apple related thing - the iPhonePackager. I’m not building with iOS support so no idea why it’s trying to build it anyway. I’ve tried restarting the machine, killing most processes. Still not having any luck :confused:

Note: Nothing UE4-related is running on the machine, apart from the Automation Tool of course.

Logs:



****** [7/10] Build Tools CS

Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\UnrealSwarm\SwarmCoordinator\SwarmCoordinator.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
    SwarmCommonUtils -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmCommonUtils.dll
    SwarmCoordinatorInterface -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmCoordinatorInterface.dll
    SwarmCoordinator -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmCoordinator.exe
Took 0.9193549s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\UnrealSwarm\Agent\Agent.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
    UnrealControls -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\UnrealControls.dll
    AgentInterface -> C:\GIT\UnrealEngine\Engine\Binaries\Win64\AgentInterface.dll
    SwarmCommonUtils -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmCommonUtils.dll
    SwarmCoordinatorInterface -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmCoordinatorInterface.dll
    Agent -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmAgent.exe
Took 0.9262918s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
    SwarmInterface -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\SwarmInterface.dll
Took 0.6601819s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\PS4\PS4DevKitUtil\PS4DevKitUtil.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
    PS4DevKitUtil -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\PS4\PS4DevKitUtil.exe
Took 0.7783507s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\PS4\PS4SymbolTool\PS4SymbolTool.csproj /property:Platform=AnyCPU /property:Configuration=Release /verbosity:minimal /nologo
    PS4SymbolTool -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\PS4\PS4SymbolTool.exe
Took 0.635197s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\UnrealControls\UnrealControls.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
    UnrealControls -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\UnrealControls.dll
Took 0.6531676s to run MSBuild.exe, ExitCode=0
Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /target:Rebuild /verbosity:minimal /nologo
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4604,5): warning MSB3061: Unable to delete file "C:\GIT\UnrealEngine\Engine\Binaries\DotNET\DotNETUtilities.dll". Access to the path 'C:\GIT\UnrealEngine\Engine\Binaries\DotNET\DotNETUtilities.dll' is denied. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 1 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 2 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 3 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 4 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 5 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 6 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 7 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 8 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 9 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 10 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): error MSB3027: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Exceeded retry count of 10. Failed. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): error MSB3021: Unable to copy file "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
    DeploymentInterface -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\IOS\DeploymentInterface.dll
Took 13.3751427s to run MSBuild.exe, ExitCode=1
ERROR: Command failed (Result:1): C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /target:Rebuild /verbosity:minimal /nologo. See logfile for details: 'MSBuild-2017.11.16-14.32.05.txt'
       while executing task <CsCompile Project="Engine/Source/Programs/IOS/iPhonePackager/iPhonePackager.csproj" Configuration="Development" Platform="AnyCPU" Arguments="/verbosity:minimal /target:Rebuild" Tag="#Build Tools CS" TagReferences="#Build Tools CS" />
AutomationToolProcess exited with code 1

       at Engine\Build\InstalledEngineBuild.xml(348)
       (see C:\GIT\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
AutomationTool exiting with ExitCode=1 (Error_Unknown)


Answerhub:
https://answers.unrealengine.com/questions/726321/cant-build-4181-with-buildgraph.html

Would it be possible for you to post the full log in either this thread or the AH one?

I’m having the same problem on a Windows PC. To add to the comment above, it also creates an empty ghost file either a .h file or a .cpp once it’s been created in the unreal engine. I’m also getting some errors saying it cannot locate the MACROS GENERATED_BODY(), BEGIN_PLAY() etc, being used, even in a simple C++ Basic Code source file, and crashes the entire solution! The sooner these problems are solved the better.

I’ve attached the logs from my most recent attempts to my Answerhub post @project.gheist

https://answers.unrealengine.com/questions/726010/418-will-not-build-from-source.html

Appears to be working now :slight_smile: Check the AH link above.

[USER=“160394”]Sean L[/USER] I’ve sent you several PMs regarding the sample project that you requested. Please respond here or on Answerhub.