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
An exception was thrown by the type initializer for OpenTK.Platform.MacOS.NSApplication
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.DisplayDevice ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.Factory ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.MacOS.NSApplication ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.MacOS.Class ---> System.ArgumentException: Unknown class: NSAutoreleasePool
at OpenTK.Platform.MacOS.Class.Get (System.String name) [0x00000] in <filename unknown>:0
at OpenTK.Platform.MacOS.Class..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at OpenTK.Platform.MacOS.MacOSFactory..ctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.GameWindow..ctor (Int32 width, Int32 height) [0x00000] in <filename unknown>:0
at Simple.SimpleWindow..ctor () [0x00000] in <filename unknown>:0
at Simple.SimpleWindow.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.DisplayDevice ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.Factory ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.MacOS.NSApplication ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.MacOS.Class ---> System.ArgumentException: Unknown class: NSAutoreleasePool
at OpenTK.Platform.MacOS.Class.Get (System.String name) [0x00000] in <filename unknown>:0
at OpenTK.Platform.MacOS.Class..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at OpenTK.Platform.MacOS.MacOSFactory..ctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenTK.GameWindow..ctor (Int32 width, Int32 height) [0x00000] in <filename unknown>:0
at Simple.SimpleWindow..ctor () [0x00000] in <filename unknown>:0
at Simple.SimpleWindow.Main () [0x00000] in <filename unknown>:0
The text was updated successfully, but these errors were encountered:
If I am correct, the current develop of MonoKickstart uses a pretty outdated version of Mono (2.*). There is currently a 3.12 branch that has an updated mono version, but it runs into a different problem for OSX (OutOfOrder/MonoKickstart#2), which also seems to be related to linking to certain foundation classes, so this might be a more general problem with using foundation classes in MonoKickstart applications.
When running a sample OpenTK app under the monoKickStarter (https://github.com/OutOfOrder/MonoKickstart) project we get the following exception.
An exception was thrown by the type initializer for OpenTK.Platform.MacOS.NSApplication
The text was updated successfully, but these errors were encountered: