Getting the source code working with the SDL update?

I cloned the develop branch with this:

git clone -b develop GitHub - MonoGame/MonoGame: One framework for creating powerful cross-platform games.
git submodule update --init

Then I generated the solutions using Protobuild.exe. Everything compiled fine against the Windows GL.

I tried adding the DLL to my test project but ran into the following error:

So I went ahead and downloaded SDL2-devel-2.0.4-VC.zip from:
https://www.libsdl.org/download-2.0.php

I tried to add it as a reference but got this error message:

I then downloaded the source code for SDL2 and compiled it myself, but that too gave me the same error.

So, what do I need to do to get a working develop branch build?

I’ve run into some bugs and I want to see if they’re fixed in the latest dev branch, and if not I’d like to take a stab at fixing the bugs personally.

I’m running Windows 10 x64 with VS 2015u2.

Thanks :slight_smile:

SDL is not a C# dll file…

hrm well if i copy the SDL2.DLL into my project’s bin\Windows\x86\Debug folder then it stops complaining about it missing but I run into various other issues.

Because you need to be using the correct architecture for both your .exe and SDL.

Thanks, I’ll look into it further tomorrow. I would like to be able to contribute to the project. :slight_smile: