Thank you for the quick guide how to use SVN. I just downloaded the newest source.
Unfortunately, it still doesn't work
As soon as I use any SFML Commands, I get those linker errors again. I am told there are some multiply defined external symbols.
I actually use the SFML libs sfml-graphics-s.lib, sfml-window-s.lib and sfml-system-s.lib (this order) which i rebuilt just before (I recompiled SFML.sln in Static Release Configuration).
Then, I read this post
http://www.sfml-dev.org/forum/viewtopic.php?t=244 and followed the instructions described there. I downloaded Microsoft SDK and added its directories to VC++. There is no result at all, still my 21 lovely linker errors :?
Rebuilding SFML.sln several times in every possible configuration seems to be useless, too... I have no idea what to do, MSDN doesn't really help either...
Here is the full list of linker errors, I tried to ignore some of the CRT libraries, but without sucess...
1>------ Build started: Project: TestProjekt, Configuration: Release Win32 ------
1>Linking...
1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) is already defined in libcpmt.lib(string.obj).
1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) is already defined in Main.obj.
1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) is already defined in Main.obj.
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std@@QAE@ABQBD@Z) is already defined in LIBCMT.lib(stdexcpt.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) is already defined in LIBCMT.lib(stdexcpt.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@QAE@XZ) is already defined in LIBCMT.lib(stdexcpt.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) is already defined in LIBCMT.lib(stdexcpt.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: __invalid_parameter_noinfo is already defined in LIBCMT.lib(invarg.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _free is already defined in LIBCMT.lib(free.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _exit is already defined in LIBCMT.lib(crt0dat.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _abort is already defined in LIBCMT.lib(abort.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _malloc is already defined in LIBCMT.lib(malloc.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _realloc is already defined in LIBCMT.lib(realloc.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _ldexp is already defined in LIBCMT.lib(_ldexp_.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strtol is already defined in LIBCMT.lib(strtol.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strncmp is already defined in LIBCMT.lib(strncmp.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _getenv is already defined in LIBCMT.lib(getenv.obj).
1>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _memmove_s is already defined in LIBCMT.lib(memmove_s.obj).
1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) is already defined in LIBCMT.lib(typinfo.obj).
1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) is already defined in LIBCMT.lib(typinfo.obj).
1>LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
(translated error report)Are there any CRT libraries I have to ignore in my projects? If yes, what are their names? I tried to exclude some libraries not matching /MT configuration (described in MSDN), the consequence are other errors...