cheers Mike - I'll take a look...
Thanks.
Still no joy.
This is the output from terminal after running with a clean folder ~ \mono CSpect.exe -w3 cspect-next-16gb.img
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
--- End of inner exception stack trace ---
at System.Drawing.Icon.GetInternalBitmap () [0x00008] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
at System.Drawing.Icon.ToBitmap () [0x00018] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Icon.ToBitmap()
at OpenTK.Platform.SDL2.Sdl2NativeWindow.set_Icon (System.Drawing.Icon value) [0x0001e] in <9314f5d039f340638e3a78d50aa1a6d0>:0
at OpenTK.NativeWindow.set_Icon (System.Drawing.Icon value) [0x00006] in <9314f5d039f340638e3a78d50aa1a6d0>:0
at A.y..ctor () [0x000b2] in <6a8159a131e9420581b0f73a3031e72c>:0
at a.Y.A (System.Int32 , System.Int32 ) [0x00016] in <6a8159a131e9420581b0f73a3031e72c>:0
at a.A.a (System.String[] ) [0x00343] in <6a8159a131e9420581b0f73a3031e72c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
--- End of inner exception stack trace ---
at System.Drawing.Icon.GetInternalBitmap () [0x00008] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
at System.Drawing.Icon.ToBitmap () [0x00018] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Icon.ToBitmap()
at OpenTK.Platform.SDL2.Sdl2NativeWindow.set_Icon (System.Drawing.Icon value) [0x0001e] in <9314f5d039f340638e3a78d50aa1a6d0>:0
at OpenTK.NativeWindow.set_Icon (System.Drawing.Icon value) [0x00006] in <9314f5d039f340638e3a78d50aa1a6d0>:0
at A.y..ctor () [0x000b2] in <6a8159a131e9420581b0f73a3031e72c>:0
at a.Y.A (System.Int32 , System.Int32 ) [0x00016] in <6a8159a131e9420581b0f73a3031e72c>:0
at a.A.a (System.String[] ) [0x00343] in <6a8159a131e9420581b0f73a3031e72c>:0
Oh wow.... its crashing adding the icon to the window! What the actual hell!?!?!
Via Window.set_Icon()
Does it work running any of the demos? Running the "beast.bat" file?
Oh wait... you're on MAC aren't you... interesting, might be a mono bug with the window icon. I can put a check around that for you. But please try the supplied demos just to let me know it's consistent.