but when I run the test code, I get the error "error LNK1104: cannot open file 'SDL.lib'.
The only problem that I can think of is that when the tutorial says "Before you can run this code you will need to put the Dynamic-Linked Library SDL.dll, found in the bin folder of your SDL directory, into the same folder as the executable." I can't find the bin folder or the SDL.dll, but I took a file under lib called SDL2.dll and placed that into the folder with my executable.
Note: I've redid the steps a few times, so I'm pretty sure I followed the directions right.
Try using the tutorial at lazyfoo.net. What compiler are you using? I have sweatted through a ton of sdl errors. Follow lazyfoo and you should be good. If you are using dev-c++ and have an issue just pm me.