MaKiPL / OpenVIII-monogame

Open source Final Fantasy VIII engine implementation in C# working on Windows and Linux (Android and iOS planned too!) [Monogame]
MIT License
637 stars 58 forks source link

Linux: fluidmidi dependency fail #120

Open Birdulon opened 5 years ago

Birdulon commented 5 years ago

Fails to compile on Ubuntu 18.04, probably the case on all case-sensitive filesystems. Renaming it to StringFile.cs seems to compile with no problems, though I'm currently unable to confirm if there's any runtime problems with that change as my Mono is throwing System.DllNotFoundExceptions on included library x64/libfluidsynth-2.so which is likely unrelated.

MaKiPL commented 5 years ago

Bug confirmed. Stringfile fixed, fluidsynth WIP- some dependency is missing for Linux

MaKiPL commented 5 years ago

Added workaround for FluidMidi if fluidsynth init fails

Birdulon commented 5 years ago

Runs on my end now thanks, without MIDI of course. Hitting Esc at certain points throws an unhandled System.NullReferenceException at Fluid_Midi.cs line 1082 - a bValid check would probably be enough to stop that though I don't know if it would cause any leaks.