You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build a create a window in a .NET 6 on a Mac Pro M1 with OS Monterey (12.4) the following exception is thrown.
System.TypeInitializationException: The type initializer for 'Veldrid.Sdl2.Sdl2Native' threw an exception.
---> System.IO.FileNotFoundException: Could not find or load the native library from any name: [ libsdl2.dylib ]
at NativeLibraryLoader.LibraryLoader.LoadNativeLibrary(String[] names, PathResolver pathResolver)
at NativeLibraryLoader.NativeLibrary..ctor(String[] names, LibraryLoader loader, PathResolver pathResolver)
at NativeLibraryLoader.NativeLibrary..ctor(String[] names)
at Veldrid.Sdl2.Sdl2Native.LoadSdl2()
at Veldrid.Sdl2.Sdl2Native..cctor()
--- End of inner exception stack trace ---
at Veldrid.Sdl2.Sdl2Native.SDL_SetHint(String name, String value)
at Veldrid.Sdl2.Sdl2Window..ctor(String title, Int32 x, Int32 y, Int32 width, Int32 height, SDL_WindowFlags flags, Boolean threadedProcessing)
at Veldrid.StartupUtilities.VeldridStartup.CreateWindow(WindowCreateInfo& windowCI)
at Veldrid.StartupUtilities.VeldridStartup.CreateWindow(WindowCreateInfo windowCI)
It's weird because the libsdl2.dylib is there, but it does not seem able to load it. Happens either with x64 or Any CPU.
The text was updated successfully, but these errors were encountered:
When trying to build a create a window in a .NET 6 on a Mac Pro M1 with OS Monterey (12.4) the following exception is thrown.
System.TypeInitializationException: The type initializer for 'Veldrid.Sdl2.Sdl2Native' threw an exception.
---> System.IO.FileNotFoundException: Could not find or load the native library from any name: [ libsdl2.dylib ]
at NativeLibraryLoader.LibraryLoader.LoadNativeLibrary(String[] names, PathResolver pathResolver)
at NativeLibraryLoader.NativeLibrary..ctor(String[] names, LibraryLoader loader, PathResolver pathResolver)
at NativeLibraryLoader.NativeLibrary..ctor(String[] names)
at Veldrid.Sdl2.Sdl2Native.LoadSdl2()
at Veldrid.Sdl2.Sdl2Native..cctor()
--- End of inner exception stack trace ---
at Veldrid.Sdl2.Sdl2Native.SDL_SetHint(String name, String value)
at Veldrid.Sdl2.Sdl2Window..ctor(String title, Int32 x, Int32 y, Int32 width, Int32 height, SDL_WindowFlags flags, Boolean threadedProcessing)
at Veldrid.StartupUtilities.VeldridStartup.CreateWindow(WindowCreateInfo& windowCI)
at Veldrid.StartupUtilities.VeldridStartup.CreateWindow(WindowCreateInfo windowCI)
It's weird because the libsdl2.dylib is there, but it does not seem able to load it. Happens either with x64 or Any CPU.
When trying to build a create a window in a .NET 6 on a Mac Pro M1 with OS Monterey (12.4) the following exception is thrown.
It's weird because the libsdl2.dylib is there, but it does not seem able to load it. Happens either with x64 or Any CPU.
The text was updated successfully, but these errors were encountered: