JernejHabjan / TrumpDefense2020

Visual representation of RTS game, supported by deep reinforcement learning algorithm Alpha Zero written in python.
https://jernejhabjan.github.io/TrumpDefense2020/
MIT License
7 stars 1 forks source link

4.22 build failed #41

Closed saadat99 closed 5 years ago

saadat99 commented 5 years ago

Hi, I get these errors on 4.22. Can you help me out?

Severity    Code    Description Project File    Line    Suppression State
Warning     Modules must specify an explicit precompiled header (eg. PrivatePCHHeaderFile = "TD2020.h") from UE 4.21 onwards.   TD2020  C:\Users\sam\Dev\TrumpDefense2020\TD2020 4.22\Source\TD2020\TD2020.Build.cs 1   
Error       Could not find definition for module 'ShaderCore' (referenced via Target -> TD2020.Build.cs)    TD2020  C:\Users\sam\Dev\TrumpDefense2020\TD2020 4.22\Intermediate\ProjectFiles\UnrealBuildTool 1   
Error   MSB3075 The command ""C:\Program Files\Epic Games\UE_4.22\Engine\Build\BatchFiles\Build.bat" TD2020Editor Win64 Development -Project="C:\Users\sam\Dev\TrumpDefense2020\TD2020 4.22\TD2020.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.    TD2020  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets  44  
JernejHabjan commented 5 years ago

Hey Yes, as stated in >Modules must specify an explicit precompiled header from UE 4.21 onwards.<, this repo is supported until UE 4.19. This is also because Tensorflow submodule is set for this version.