Build using Code::Blocks 13.12 using TDM MinGW GCC 4.71 and Downloaded file from http://www.sfml-dev.org/download/sfml/2.2/ (http://www.sfml-dev.org/download/sfml/2.2/) GCC 4.7.1 TDM (SJLJ) - 32-bit the code runs.
The OP needs to learn to program and read directions.
Edit4: FYI: I did NOT do the debug target correctly per these directions in the attached CB Project.
The settings shown here will result in your application being linked to the dynamic version of SFML, the one that needs the DLL files. If you want to get rid of these DLLs and have SFML directly integrated into your executable, you must link to the static version. Static SFML libraries have the "-s" suffix: "sfml-xxx-s-d" for Debug, and "sfml-xxx-s" for Release.
In this case, you'll also need to define the SFML_STATIC macro in the preprocessor options of your project.
Edit2: The directions that the OP likely failed to follow.
Starting from SFML 2.2, when static linking, you will have to link all of SFML's dependencies to your project as well. This means that if you are linking sfml-window-s or sfml-window-s-d for example, you will also have to link opengl32, winmm and gdi32. Some of these dependency libraries might already be listed under "Inherited values", but adding them again yourself shouldn't cause any problems.
I used the directions as a hint and I got it to work.
I used CB Global Variable to location of Library.
I attached zipped CB project.
Edit3 build log because I cut and pasted the old CB Project instead of the zipped one.
-------------- Clean: Release in SFML (compiler: GNU GCC Compiler)---------------
Cleaned "SFML - Release"
-------------- Build: Release in SFML (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -DSFML_STATIC -O2 -IC:\SourceCode\OpenSourceCode\Libs\GUI\SFML\SFML-2.2-windows-gcc-4.7.1-tdm-32-bit\SFML-2.2\include -c C:\test\SFML\main.cpp -o obj\Release\main.o
mingw32-g++.exe -LC:\SourceCode\OpenSourceCode\Libs\GUI\SFML\SFML-2.2-windows-gcc-4.7.1-tdm-32-bit\SFML-2.2\lib -o bin\Release\SFML.exe obj\Release\main.o -s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lglew -lfreetype -ljpeg -lopengl32 -lgdi32 -lwinmm
Output file is bin\Release\SFML.exe with size 1002.50 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
[attachment deleted by admin]