I'm trying to get a MonoGame project working on my Pi.
I've done the following:
sudo apt-get install mono-runtime sudo apt-get install monodevelop sudo apt-get install libmonogame-cil-dev monodevelop-monogame
Then I launched MonoDevelop and created a new Solution/Project: MonoGame Linux Application
Without making any code or configuration changes, the game builds ok, but when I try to run it I get a System.NullReferenceException at OpenTK.Graphics.GraphicsMode.get_Default()
By default, the Build Configuration is set to Default|x86 which seems a little weird since I'm targeting the Pi, which is obviously not x86. The only options I see are Debug|x86, Release|x86 or Any CPU (all of which I've tried.)
Am I using the wrong project type (Linux)?
Or am I missing a library (OpenTK maybe?)
Or is there something special I need to do in the Build Configuration?
Any help would be appreciated.