Blondazz / KeyOverlay

A simple key overlay for osu! streaming
GNU General Public License v3.0
197 stars 26 forks source link

Can't run on Linux #25

Closed Sayykii closed 2 years ago

Sayykii commented 2 years ago
System.DllNotFoundException: Unable to load shared library 'csfml-system' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libcsfml-system: cannot open shared object file: No such file or directory
   at SFML.System.Clock.sfClock_create()
   at KeyOverlay.AppWindow..ctor() in /home/runner/work/KeyOverlay/KeyOverlay/AppWindow.cs:line 30
   at KeyOverlay.Program.Main(String[] args) in /home/runner/work/KeyOverlay/KeyOverlay/Program.cs:line 13
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'csfml-system' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libcsfml-system: cannot open shared object file: No such file or directory
   at SFML.System.Clock.sfClock_create()
   at KeyOverlay.AppWindow..ctor() in /home/runner/work/KeyOverlay/KeyOverlay/AppWindow.cs:line 30
   at KeyOverlay.Program.Main(String[] args) in /home/runner/work/KeyOverlay/KeyOverlay/Program.cs:line 13
zsh: abort (core dumped)  ./KeyOverlay
Blondazz commented 2 years ago

You have to find the csfml library using your package manager for you linux distribution and download it for it to work on linux

Sayykii commented 2 years ago

Yeah I tried doing that using aur, but it couldn't build for some reason.

aMalteser commented 2 years ago

The package is in the offical package manager, you can download the package using the command: sudo pacman -S csfml

Sayykii commented 2 years ago

Okay so it managed to build, but I still get the same error

aMalteser commented 2 years ago

There are release files available. Extract into a folder, use chmod to make the file executable and run the KeyOverlay file.

Sayykii commented 2 years ago

Yeah I did that, same thing happens.