-
-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Summary
Unhandled exception. System.TypeInitializationException: The type initializer for 'Glib.Window' threw an exception.
---> System.PlatformNotSupportedException: Invalid/unsupported operating system.
at Silk.NET.Core.Loader.SearchPathContainer.ThrowInvalidPlatform()
at Silk.NET.Core.Loader.SearchPathContainer.GetLibraryNames()
at Silk.NET.GLFW.Glfw.GetApi()
Steps to reproduce
- Platform: FreeBSD
- Framework Version: .NET 9.0.107 (from pkg install dotnet)
- API: OpenGL
- API Version: 3.3
- dotnet build anything that uses Silk.NET
- dotnet run
Comments
this does not account for OSPlatform.FreeBSD
add this to build/nuke/Silk.NET.NUKE.csproj, the is missing for 9.0
If you know how to fix this issue, please submit a pull request instead!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Todo