It seems to work fine on my end.
Are you absolutely certain that you're using the right libraries and Code::Blocks doesn't suddenly find other SFML libraries?
If you build SFML with SFML_USE_STATIC_STD_LIBS and a TDM compiler, you don't have to add -static-libgcc to the compiler flags. If you haven't checked that CMake option, you have to provide -shared-ligcc and -shared-libstdc++.
You can also remove your -DDGLEW_STATIC flag.
If you check SFML_BUILD_EXAMPLES when building SFML, do you get errors? If not, then it has to be an issue in your settings.
And last but not least, if you build the install target for static SFML, SFML's dependencies will get automatically copied to the lib and include directories, so you don't have to add the paths to the extlibs dir.