Skip to content

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

@a456qwerty654

Description

@a456qwerty654

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions