Ok so I keep hearing all this hoopla about SFML, so I decided to download it and give it a go. First of all, I had some file linkage errors. Got those resolved, but after all that I am now missing another dll.
libgcc_s_dw2-1.dll
This doesn't look as if it's related to SFML at all, yet I only get the error when trying to run my SFML program. What gives? Where do I find this file and where do I put it?
If you use the MinGW that comes with code::blocks I think you may be missing packages. If so, look in \program files\codeblocks\mingw\ (I'm assuming your on windows) and look for a file, tdm-mingw-xxx.exe its a package manager so you should be able to find the correct package.
I did alittle playing with code::blocks and SFML in a winXP VM. The simplest fix I could come up with is to use the MinGW version SFML recomends, http://www.sfml-dev.org/tutorials/mingw-with-gcc-4.4.zip
Extract and edit your PATH, change the MinGW reference to the new 4.4. Restart code::blocks and test SFML, if you set the linker and directory settings right it should run.