I don't know anything about SDL or what you are doing, but in general when you get linker errors such as that it means exactly what it says. In the case above something in your code or included by your code is referencing er.obj, and the build chain doesn't know where it is.