[BUG] - Failure of build on the Linux System #1108
Labels
CLI Tools
Concerning OpenKH.Command.*
Documentation
Concerning Documents.
Enhancement
Request for, or a pull request of, a new feature or enhancement to an existing one.
GUI Tools
Concerning OpenKH.Tools.*
OpenKH Build
More work is required to get the build working in Linux due to Monogame dependency on XNA framework.
OpenKH Program
Indicates missing XNA framework -- Cannot work in Mono as project files specify:
Describe the Bug
Build script on Linux uses mono, but mono is incompatible with XNA framework / MonoGame. Must use wine prefix or Windows VM (defeats the purpose of advertising proper Linux support) to successfully build game assets. For example, can use Linux version of MonoGame to build game assets, THEN cross compile with Linux version of .net.
i.e.: If you need to run in Wine prefix with XNA framework and MonoGame installed via nuget with SDKs intact to build with Monogame, this is not native Linux support. Its Linux support via wine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alternative solution configuration selected that averts MonoGame inclusion and thus will allow you to run OpenKH natively on Linux.
-or-
Sets up a wine prefix the right way using winetricks, and builds in it.
-or-
Builds inside of a Windows compatible Dockerfile.
Additional context
If anything make documentation more clear about support Linux. Its support Linux via wine *. The script does not look for wine, use winetricks to create a proper prefix for building, etc. I feel that it should due to its dependency on XNA framework via MonoGame which does require wine, not mono.
I suggest dedicated guide for Linux as it requires additional setup via a wine prefix to resolve this bug.
The text was updated successfully, but these errors were encountered: