Before I get started, I'll give the system specs.
Windows XP Professional
GNU Make 3.82
So, I downloaded a copy of MinGW from http://nuwen.net/mingw.html (Version 9.2) that comes with SDL, but I've been having an issue with trying to install SDL-Widgets, so I figured I'd try to rebuild SDL.
No, that's what my compiler already has with it (but a slightly more up to date version). I need to build SDL from source so that I can use SDL-widgets with it. I keep getting an error saying it can't find the SDL path, hence, why I need to build from source.
When you say it can't find the SDL path, do you mean that it can't find SDL.h when you include it as #include "SDL.h" but it works when you do #include "SDL/SDL.h" ? I solved that by passing `sdl-config --cflags` to the compiler (g++) when compiling and `sdl-config --libs` when linking.
I actually meant the sdl-config path was incorrect. I believe I have fixed my issues completely though. I just rebuilt SDL for about the tenth time tonight and I got everything working correctly.
After getting fed up, I deleted my entire MinGW directory (located at C:/MinGW/) as a last ditch effort. I unzipped nuwen's MinGW back to the same location (clean start). The first thing I realized was that I didn't have MSYS anymore, this through up a red flag. I then realized that what had happened was that I had downloaded MinGW's GCC suite and eventually just wrote over it with nuwen's version. I can't believe I didn't realize it sooner.
I accidentally built SDL in the wrong directory (was more anxious to test it than anything) so I am in the process of rebuilding it again (very slow process on a netbook). Once that's installed, I'm going to attempt to rebuild the SDL-widgets toolkit and possibly attempt to build a few other toolkits (to find one that I like).
On a side note, I read a post on StackOverflow that there is an issue with MinGW's sed.exe and MSYS's sed.exe and that if you delete one, there is no more conflicts between the two. Instead of deleting one, I just changed MinGW's sed.exe to sed1.exe so I can easily change it back (that's a project for another day to test to see if it works or not).
I appreciate the efforts guys, but my stubbornness proves to be unstoppable again. Yay me =/
Edit: All of the SDL examples compiled perfectly fine for me, there wasn't an issue with the SDL library at all, but there was an issue with trying to build other libraries and that's what made me want to rebuild SDL (I'm probably recreating all of the same files as nuwen had, but I have to try, right?).