Usually an indication that you may have C++11 active, but the provided SFML version doesn't seem to have been built with C++11. The ABI of std::string changes and makes it incompatible.
Best option is to build SFML from source with CMake.
Alternatively, you can also switch to a different MinGW compiler with a match SFML SDK as linked on the download page.