I guess you are packaging a content-only project. In that case, you need to build UE4 (project) in Development configuration for Linux (using the supplied cross-toolchain) beforehand. We will fix that by providing a prebuilt binary in future releases to be used with content-only projects.
ok, when you said “build UE4 (project) in Development configuration for Linux”, what do you mean by that? is it with in VS2013? I did add an environment variable (Control Panel->System->Advanced system settings->Advanced->Environment variables) named LINUX_ROOT with proper toolkit folder
Yes, it’s in VS. Build the project UE4 in Development configuration for Linux platform. If you don’t have Linux in platform list, make sure you regenerated the projects after setting LINUX_ROOT variable.
Judging from the logs, you tried to build UnrealSync project. You need to build UE4 - please find that project in solution, right click and choose Build.
I did select the UE4 project and build with Linux & Development in the drop down menu, and there are 6 programs that failed to compile. should I worry about it?
thanks now it built, I transfer the built folder to my Linux Target, how to test it? in Terminal I try to run UE4Game and it says bash: UE4Game: Command not found; I ran from the Binary compiled Linux folder.
*Update, now I chmod +x on the UE4Game, and it wont run at all…
Hello, RCL I tried to follow the packaging instruction as your said in UE4.5. but I still got errors when I packaged the linux client(Step 3:Run the editor, open your project, and then package it for Linux.)
Here is my errors log,can you check it for me. thank you very much.
Your error is caused by SubstanceCore module. Whatever that module is, it doesn’t seem to support Linux:
UnrealBuildTool: ERROR: Unable to instantiate instance of ‘SubstanceCore’ object type from compiled assembly ‘StormUnitedModuleRules’. Unreal Build Tool creates an instance of your module’s ‘Rules’ object in order to find out about your module’s requirements. The CLR exception details may provide more information:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> UnrealBuildTool.BuildException: ERROR: Platform not supported by Substance
You are right we use Allegorithmic substance for UE4 (Plugins - Substance 3D) and it seems like they don’t support linux
I’ve just seen on their forum other people have the same problem, they don’t support linux
Hi,RCl. thank you for you helped. I am sorry to bother you again. finally I removed the substance then successful packaged the linux server 32.
but it still have a error when I compile the linux 64(both engine and game)
Here is my error:
I have been switched to UE4.5.1 and I am using vs2013.
I am really needing you help. I am looking forward you can give me an answer. thank you very much!