-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build mono module #8
Comments
No, feel free to try yourself. |
@TingPing I managed to fix scons: *** [bin/GodotSharp/Tools/GodotSharpTools.dll] /usr/lib/sdk/mono5/lib/nuget/nuget.exe: Exec format error |
@TingPing Can't we use |
@ricvelozo No, its unsafe. |
Has there been any progress on this? |
@PureTryOut Not that I know of. I don't have much Mono experience or time to help with this, unfortunately. |
The glue code of Mono doesn't compile (#50) because of the Flatpak sandbox. A solution is use the official binaries, like flathub/org.blender.Blender@08eace8. |
Now that .NET 6 has been merged to the master branch, is C# support for the flatpak version feasible? |
I haven't checked if this changes much with regards to packaging .NET 6 on Linux, but I wouldn't expect it to be a cakewalk still. I don't have time to look into it, so feel free to tinker with this if you'd like. Remember that when building a Flatpak, the goal is to build all components from source (with the exception of the base platform). Therefore, using pre-compiled binary distributions is frowned upon (even if it's technically allowed). |
I got a fork of this that has dotnet6 support via the |
For anyone interested, PR #109 should have a working build of Godot 4 Alpha 15 with .NET 6 support. There are a few caveats however:
EDIT: Updated one of the commands, which should now allow Godot to properly build and rebuild the solution. |
Are there any updates on this since now Godot's latest stable release uses dotnet instead of mono which seems to have better flatpak support? |
Please test #109 (see its latest comments) and report back if it works correctly 🙂 Note that this will have to be a separate Flatpak, as C# support not only makes the Flatpak larger but also requires all projects exported with it to contain the .NET runtime (which makes your exported project larger). This is problematic for projects that only use GDScript. |
Now that both Godot 3's Mono version and Godot 4's .NET version have their own Flatpaks on Flathub, I think this issue can be closed now 👍 |
Closing per the above comment. Thanks @Zishan-Rahman for their continued work on these Flatpaks 🙂 |
Build with
module_mono_enabled=yes
. This currently fails trying to findmonosgen-2
module.The text was updated successfully, but these errors were encountered: