So I was creating a small batch file to compile all the different variants of SFML 2 with Visual Studio 11 and everything worked fine until I checked the 'build examples' box.
The examples build fine for the static and dynamic libraries which use the dynamic runtime libraries build fine, but as soon as you try to build the examples with the static runtime library you get many unresolved symbols and other errors, here the full list for the OpenGL example:
Linking CXX executable opengl-d.exe
sfml-graphics-s-d.lib(ftbase.obj) : warning LNK4217: locally defined symbol "_strrchr" imported in function _raccess_make_file_name
sfml-graphics-s-d.lib(type1.obj) : warning LNK4049: locally defined symbol "_memmove" imported
sfml-graphics-s-d.lib(truetype.obj) : warning LNK4049: locally defined symbol"_memmove" imported
sfml-graphics-s-d.lib(ftlzw.obj) : warning LNK4049: locally defined symbol "_memmove" imported
sfml-graphics-s-d.lib(ftbase.obj) : warning LNK4217: locally defined symbol "_memmove" imported in function _FT_GlyphLoader_CheckPoints
sfml-graphics-s-d.lib(sfnt.obj) : warning LNK4049: locally defined symbol "_memmove" imported
sfml-graphics-s-d.lib(pshinter.obj) : warning LNK4049: locally defined symbol"_memmove" imported
sfml-graphics-s-d.lib(type1cid.obj) : warning LNK4049: locally defined symbol"_memmove" imported
sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4217: locally defined symbol"_fwrite" imported in function _empty_output_buffer
sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4217: locally defined symbol"_free" imported in function _empty_mem_output_buffer
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4049: locally defined symbol"_free" imported
sfml-graphics-s-d.lib(jmemnobs.obj) : warning LNK4049: locally defined symbol"_free" imported
sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4217: locally defined symbol"_malloc" imported in function _empty_mem_output_buffer
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4049: locally defined symbol"_malloc" imported
sfml-graphics-s-d.lib(jmemnobs.obj) : warning LNK4049: locally defined symbol"_malloc" imported
sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4217: locally defined symbol"_ferror" imported in function _term_destination
sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4217: locally defined symbol"_fflush" imported in function _term_destination
sfml-graphics-s-d.lib(jerror.obj) : warning LNK4217: locally defined symbol "_exit" imported in function _error_exit
sfml-graphics-s-d.lib(jerror.obj) : warning LNK4217: locally defined symbol "___iob_func" imported in function _output_message
sfml-graphics-s-d.lib(jerror.obj) : warning LNK4217: locally defined symbol "_sprintf" imported in function _format_message
sfml-graphics-s-d.lib(bdf.obj) : warning LNK4049: locally defined symbol "_sprintf" imported
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_realloc" imported in function _ft_realloc
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_fclose" imported in function _ft_ansi_stream_close
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_fread" imported in function _ft_ansi_stream_io
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_fseek" imported in function _ft_ansi_stream_io
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_ftell" imported in function _FT_Stream_Open
sfml-graphics-s-d.lib(ftsystem.obj) : warning LNK4217: locally defined symbol"_fopen" imported in function _FT_Stream_Open
sfml-graphics-s-d.lib(sfnt.obj) : warning LNK4217: locally defined symbol "_memchr" imported in function _tt_face_find_bdf_prop
sfml-graphics-s-d.lib(cff.obj) : warning LNK4049: locally defined symbol "_strncmp" imported
sfml-graphics-s-d.lib(type1.obj) : warning LNK4049: locally defined symbol "_strncmp" imported
sfml-graphics-s-d.lib(sfnt.obj) : warning LNK4217: locally defined symbol "_strncmp" imported in function _tt_face_find_bdf_prop
sfml-graphics-s-d.lib(psaux.obj) : warning LNK4217: locally defined symbol "_strncmp" imported in function _afm_parser_parse
sfml-graphics-s-d.lib(type42.obj) : warning LNK4049: locally defined symbol "_strncmp" imported
sfml-graphics-s-d.lib(type1cid.obj) : warning LNK4049: locally defined symbol"_strncmp" imported
sfml-graphics-s-d.lib(type42.obj) : warning LNK4217: locally defined symbol "_atol" imported in function _t42_get_name_index
sfml-graphics-s-d.lib(type1cid.obj) : warning LNK4049: locally defined symbol"_atol" imported
sfml-graphics-s-d.lib(ftbase.obj) : error LNK2019: unresolved external symbol "__imp__longjmp" referenced in function "_ft_validator_error".
sfml-graphics-s-d.lib(smooth.obj) : error LNK2001: unresolved external symbol "__imp__longjmp".
sfml-graphics-s-d.lib(ftbase.obj) : error LNK2019: unresolved external symbol "__imp__strncpy" referenced in function "_raccess_make_file_name".
sfml-graphics-s-d.lib(type1.obj) : error LNK2001: unresolved external symbol "__imp__qsort".
sfml-graphics-s-d.lib(ftbase.obj) : error LNK2019: unresolved external symbol "__imp__qsort" referenced in function "_FT_Raccess_Get_DataOffsets".
sfml-graphics-s-d.lib(bdf.obj) : error LNK2001: unresolved external symbol "__imp__qsort".
sfml-graphics-s-d.lib(psmodule.obj) : error LNK2001: Nicht aufgelöstes externesSymbol "__imp__qsort".
sfml-graphics-s-d.lib(psaux.obj) : error LNK2001: unresolved external symbol "__imp__qsort".
sfml-graphics-s-d.lib(jerror.obj) : error LNK2019: unresolved external symbol "__imp__fprintf" referenced in function "_output_message".
sfml-graphics-s-d.lib(truetype.obj) : error LNK2019: unresolved external symbol "__imp__strstr" referenced in function "_tt_check_trickyness_family".
sfml-graphics-s-d.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol "__imp__sscanf" referenced in function "_jinit_memory_mgr".
sfml-graphics-s-d.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol "__imp__getenv" referenced in function "_jinit_memory_mgr".
opengl-d.exe : fatal error LNK1120: 7 unresolved external symbols.
LINK Pass 1 failed. with 2
The errors look quite similar for the other examples that don't build which are: opengl, pong, shader and win32.
I then even tried the VS10 compiler of which I know that it build fine in the past, so it's not a VS11 issue.
For me it seems like the external libraries (OpenAL, etc) have problems with the statically/build-in runtime library.
Any ideas?