Open RomanPro100 opened 9 months ago
@bmwalters A common solution to this is to install libsdl2-dev instead. Is there a solution to not have to install the dev version on systems that encounter this issue?
That helped, thx
Keeping open for visibility as dev version is a workaround.
I think there’s a few possibilities:
I suggest adding a string representation of the DllNotFoundException to the error window for further troubleshooting and so we know which library name is not found
Looking at previous issues I see we used to have the exception string which indicates at least one user had issues with the main SDL2 library, making the second point less likely https://github.com/FireFox2000000/Moonscraper-Chart-Editor/issues/62
Looking at this issue I see the user had version 2.0.10 whereas 2.28.1 was available at the time they opened the issue, making the first point more likely https://github.com/FireFox2000000/Moonscraper-Chart-Editor/issues/110
Apparently this can also happen if dynamic linking dependencies of SDL fails due to other dependency issues on the system. Running the binary with the env var LD_DEBUG=libs
may help debug. https://github.com/ppy/osu/issues/18628
When I run the binary, a popup appears saying "SDL2 Linux runtime dependency not found" even though I have all dependencies installed. The executable path is
~/Moonscraper Chart Editor v1.5.4 Linux (Universal)/Moonscraper Chart Editor.x86_64
My system: