I'm deploying a DesktopGL project built in Windows to Linux with MonoKickstart, and I'm running into a couple of problems. I want to start by mentioning that I'm running Ubuntu on a VM, but the same errors occurred on hardware running Ubuntu when I had someone else test.
- SDL 2.0.4 does not support changing resizable parameter of the window after it's already been created, please use a newer version of it.
This occurs because I allow window resizing in the Game constructor. MonoGame's fork of MonoKickstart hasn't been updated to the latest binaries; how would I go about updating the Linux ones?
If I comment out the window resizing line, I get a different error.
Failed to create graphics device!
Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice () [0x00000] in :0
atMicrosoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.CreateDevice () [0x00000] in :0 at Microsoft.Xna.Framework.Game.DoInitialize () [0x00000] in :0 at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior) [0x00000] in :0 at Microsoft.Xna.Framework.Game.Run () [0x00000] in :0
To clarify, these both occur when the game runs and gets into my code. I've consistently had issues getting Linux builds to run, so I'm unsure what I need to do to fix things. You can see my Game1 class (called Engine.cs in my engine) here:
All help is greatly appreciated in advance!