Not sure if I missed a step or because am just very inexperienced in handling .net projects, but I’ve been able to install the Dinghy nuget package, but when I build and run the init code sample I get an error as Dinghy is unable to load sokol:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'sokol' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol.dylib' (no such file)
dlopen(/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol.dylib, 0x0001): tried: '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol.dylib' (no such file), '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol.dylib' (no such file)
dlopen(sokol.dylib, 0x0001): tried: 'sokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSsokol.dylib' (no such file), '/usr/lib/sokol.dylib' (no such file, not in dyld cache), 'sokol.dylib' (no such file), '/usr/local/lib/sokol.dylib' (no such file), '/usr/lib/sokol.dylib' (no such file, not in dyld cache)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol.dylib' (no such file)
dlopen(/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol.dylib, 0x0001): tried: '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol.dylib' (no such file), '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol.dylib' (no such file)
dlopen(libsokol.dylib, 0x0001): tried: 'libsokol.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsokol.dylib' (no such file), '/usr/lib/libsokol.dylib' (no such file, not in dyld cache), 'libsokol.dylib' (no such file), '/usr/local/lib/libsokol.dylib' (no such file), '/usr/lib/libsokol.dylib' (no such file, not in dyld cache)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/sokol' (no such file)
dlopen(/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol, 0x0001): tried: '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol' (no such file), '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/sokol' (no such file)
dlopen(sokol, 0x0001): tried: 'sokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OSsokol' (no such file), '/usr/lib/sokol' (no such file, not in dyld cache), 'sokol' (no such file), '/usr/local/lib/sokol' (no such file), '/usr/lib/sokol' (no such file, not in dyld cache)
dlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.1/libsokol' (no such file)
dlopen(/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol, 0x0001): tried: '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol' (no such file), '/Users/nic/Projects/dinghy/dinghytest/ConsoleApp/bin/Debug/net8.0/libsokol' (no such file)
dlopen(libsokol, 0x0001): tried: 'libsokol' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsokol' (no such file), '/usr/lib/libsokol' (no such file, not in dyld cache), 'libsokol' (no such file), '/usr/local/lib/libsokol' (no such file), '/usr/lib/libsokol' (no such file, not in dyld cache)
at Dinghy.Internal.Sokol.App.run(sapp_desc* desc)
at Dinghy.Engine.Boot(RunOptions opts)
at Dinghy.Engine.Run(RunOptions opts)
at Program.<Main>$(String[] args) in /Users/nic/Projects/dinghy/dinghytest/ConsoleApp/Program.cs:line 3
I am on a arm Mac going through vscode