Your linker settings maybe the issue. Instead of "../../../../usr/lib/libsfml-graphics.so" should just "sfml-graphics-s-d" for static debug and the same for the other 2 adding the "-s-d" to them and dropping the rest.
OR
could be the wrong sfml version for your compiler. If you are using the default code::blocks mingw compiler you probably need to grab one of the nightly builds as the default 2.0 official has issues with it.
This question is seriously asked and posted like a billion times a week, if you just search back the 'General' thread you will see this and other possible fixes/issues