It seems to be impossible for me to package a project for Linux under Windows with UE 4.21. Do I make something wrong or is this a general issue?
Here are the steps to reproduce:
- Install UE 4.21.2 via the Epic Games Launcher and add linux platform support within the options. (I used “Verify” to check my installation.)
- Install Clang 6.0.1 according to docs.unrealengine.com/en-us/Platforms/Linux/GettingStarted, notice section “Troubleshooting”.
- Start the engine and create the new C++ project “Basic Code” without starter content.
- The solution file is automatically generated. Start it (I use VS Community 2017), set “Development Editor” and “Linux”, and build your project.
The error message says
C:/Program Files/Epic Games/UE_4.21/Engine/Source/Runtime/InputCore/Classes\InputCoreTypes.h(10,10): fatal error : 'InputCoreTypes.generated.h' file not found
Same problem when trying to package the game for Linux and when trying to package with engine version build from source.
So, any suggestions or hints?