Hi,
I want to program in C# - OpenTK - MonoDevelop on my ubuntu 12.04 computer.
I downloaded and installed everything as explained here http://www.opentk.com/doc/install: I added the references to OpenTK.dll, added the OpenTK.dll.config in the binary folder, added the reference to System.Drawing.
However I get an exception when I run the given examples from the tutorial.
The message I get is "System.DllNotFoundException has been thrown. libX11.so".
When I run the generated binary from the terminal I get this (different) message:
Code:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Graphics.GraphicsMode ---> System.PlatformNotSupportedException: Please, refer to http://www.opentk.com for more information.
at OpenTK.Platform.Factory+UnsupportedPlatform.CreateGraphicsMode () [0x00000] in <filename unknown>:0
at OpenTK.Graphics.GraphicsMode..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at StarterKit.Game..ctor () [0x00000] in <filename unknown>:0
at StarterKit.Game.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Graphics.GraphicsMode ---> System.PlatformNotSupportedException: Please, refer to http://www.opentk.com for more information.
at OpenTK.Platform.Factory+UnsupportedPlatform.CreateGraphicsMode () [0x00000] in <filename unknown>:0
at OpenTK.Graphics.GraphicsMode..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at StarterKit.Game..ctor () [0x00000] in <filename unknown>:0
at StarterKit.Game.Main () [0x00000] in <filename unknown>:0
Does anyone know what causes this problem? How can I solve it?
Any help very much appreciated.
BTW: Is this the right subforum to ask this question?
Regards
Bookmarks