5896
General / Compatibility to other computers
« on: April 20, 2008, 08:12:05 pm »
Ok, thank you for all the informations, and sorry for being so curious

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
but you will need to link against the multithreaded dll rather than the static CRTNo, you won't
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)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 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> >(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>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _strncmp is already defined in LIBCMTD.lib(strncmp.obj).
(btw: output is translated, might be not literally)