Unresolved references

Greetings. I have tried compiling UE4 from master branch on linux following steps written on UE wiki, however when i ran GenerateProjectFiles.sh i encountered Reference not resolved problem from mono. My mono installation went well it was double checked by me, no errors and every libmono-* package needed was installed properly. Here is my error log.

$ ./GenerateProjectFiles.sh
Setting up Unreal Engine 4 project files...

+ xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool_Mono.csproj /verbosity:quiet /nologo /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'Ionic.Zip.Reduced' not resolved
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'RPCUtility' not resolved
IOS/IOSToolChain.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing a using directive or an assembly reference?
IOS/IOSToolChain.cs(14,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing a using directive or an assembly reference?
System/RPCUtilHelper.cs(10,7): error CS0246: The type or namespace name `RPCUtility' could not be found. Are you missing a using directive or an assembly reference?
System/RPCUtilHelper.cs(17,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing a using directive or an assembly reference?

I understand that this topic is doubled probably, but none of other topics were neither solved nor helpful for me.
I would like some further assistance from you.

Regards

Jakub Macaj

Hi,

It seems that not all dependencies were downloaded when ./Setup.sh was run. Please try running it again and see if anything changes. The Ionic dll should be in Engine/Binaries/DotNET folder.

Also, make sure you have installed mono 3.1 and not 2 as that causes problems running some of the DotNET assemblies/executables.

I ran ./Setup.sh as you suggested and i got something like this. Note that this is different output from Setup.sh as i had previously.

$ ./Setup.sh
Registering git hooks... (this will override existing ones!)

Github build
Checking / downloading the latest archives
Missing method System.Environment::get_CurrentManagedThreadId() in assembly /usr/lib/mono/4.0/mscorlib.dll, referenced in assembly /home/admin/UnrealEngine/Engine/Binaries/DotNET/GitDependencies.exe

Unhandled Exception: System.MissingMethodException: Method not found: 'System.Environment.get_CurrentManagedThreadId'.
  at GitDependencies.Program.ParseParameters (System.Collections.Generic.List`1 ArgsList, System.String Prefix) [0x00000] in <filename unknown>:0 
  at GitDependencies.Program.Main (System.String[] Args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Environment.get_CurrentManagedThreadId'.
  at GitDependencies.Program.ParseParameters (System.Collections.Generic.List`1 ArgsList, System.String Prefix) [0x00000] in <filename unknown>:0 
  at GitDependencies.Program.Main (System.String[] Args) [0x00000] in <filename unknown>:0 
Result: 1
Fixing inconsistent case in filenames.
find: `Content/Editor/Slate': No such file or directory
find: `Content/Slate': No such file or directory
find: `Documentation/Source/Shared/Icons': No such file or directory

Building ThirdParty libraries

If you don't see SUCCESS message in the end, then building did not finish properly.
In that case, take a look into /home/admin/UnrealEngine/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.
==> BuildLND
**********  SUCCESS ****************