-
Notifications
You must be signed in to change notification settings - Fork 78
Description
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?