I use Manjaro XCFE and I got "Unhandled exception. System.DllNotFoundException: Unable to load shared library 'csfml-graphics' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libcsfml-graphics: cannot open shared object file: No such file or directory" this error when I want use SFML.Net.
The project is executed by dotnet run command but it did not work because System.DllNotFoundException. Normally, I just installed dotnet-sdk and dotnet-runtime for Manjaro, and I installed it SFML package from nuget with dotnet command. The error was as above when i got it.
✅ Solution:
I have installed the following packages in order:pamac install sfml
pamac install csfml
Probably, the second command line solved my problem. The first command line may not be necessary:
Maybe there is a better solution than this. If I find, I will update this post.
No comments:
Post a Comment