You're talking about Code::Blocks and Visual Studio, version 11.0 and 12.0, switching compilers... Don't mix things. Decide to use
one version of
one compiler. Then recompile SFML with
exactly the same settings as your executable project, for the same compiler and version.
By the way, that's precisely what I mentioned in the first post:
Make absolutely sure that you follow the official SFML tutorial and don't mix any compiler versions or other configurations such as release/debug.
And eXpl0it3r mentioned it even earlier.