So I've been having this really annoying issue with trying to set up the SDL library in Dev-C++. I have been following the instructions here http://lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.php
with absolutely no luck. I did everything that the page said to, I triple checked that the libraries, includes, and binaries had installed correctly, and that the compiler knew where to find them. I put the correct command in the linker, and put SDL.dll in the same folder as my project. I copied his code into the project and all my compiler would do is yield these messages:
Circular untitled <- untitled.o dependency dropped.
g++.exe [Warning] linker input file unused because linking not done
untitled.o: No such file or directory.
Error 1 (if this is the only error: please check your library includes)
Its really been annoying me, and any help would be appreciated.
Thanks for your time.
I never realized the LazyFoo 2.0 stuff was just source. I had been linking to it as though it were a tutorial.
Well that blows.
Thanks for pointing that out, Lumpkin.
2.0 Isn't a drastic change from what I hear. They only changed what they needed.
The API isn't drastically different... however what the lib actually does behind the scenes is significantly different (and much better).
SDL 1.2 gets crap for performance, has severely limited drawing capabilities (no rotation, no flipping, no scaling... just plain rectangle->rectangle copy) and uses extremely outdated drawing concepts which haven't been in widespread use in years (blitting, dirty rects). This is why I try to steer people away from it.
It's such a shame that there's all these tutorials for it, and so little for the myriad of other libs that are so much better.