Skip to content
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

MAC M1PRO unable to use "skm dotnet run" command: "Unable to load shared library 'splashkit.dll' or one of its dependencies." #153

Open
a456qwerty654 opened this issue Jul 18, 2022 · 0 comments

Comments

@a456qwerty654
Copy link

I have setup splashkit as per the instructions on https://splashkit.io/articles/installation/mac/ and have setup my csproj file with the appropriate framework reference. skm dotnet build work perfectly fine, however when I use skm dotnet run, the following error appears:

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'splashkit.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libsplashkit.dll, 0x0001): tried: '/Users/main_user/.splashkit/lib/macos/libsplashkit.dll' (no such file), 'libsplashkit.dll' (no such file), '/usr/local/lib/libsplashkit.dll' (no such file), '/usr/lib/libsplashkit.dll' (no such file), '/Users/main_user/.splashkit/lib/macos/libsplashkit.dll' (no such file), '/Users/main_user/Documents/university/grad_cert_it/OOP/week1/task_1/libsplashkit.dll' (no such file)
at SplashKitSDK.SplashKit.__sklib__open_window__string__int__int(__sklib_string caption, Int32 width, Int32 height)
at SplashKitSDK.SplashKit.OpenWindow(String caption, Int32 width, Int32 height) in /Users/main_user/Documents/university/grad_cert_it/OOP/week1/task_1/lib/SplashKit.cs:line 5440
at SplashKitSDK.Window..ctor(String caption, Int32 width, Int32 height) in /Users/main_user/Documents/university/grad_cert_it/OOP/week1/task_1/lib/SplashKit.cs:line 16687
at Program.Main() in /Users/main_user/Documents/university/grad_cert_it/OOP/week1/task_1/Program.cs:line 10

I have tried re-installing splashkit several times however I continue to get the same error.

Is anyone able to figure out how to fix this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant