PDA

View Full Version : Problem When Compiling Emule 0.44b With VS 2003


murjara
September 20th, 2004, 09:51 PM
Iīm trying to compile emule 0.44b with Visual Studio 2003 and I get these kind of error messages.

-----------------------------

emule error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
emule error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
emule error LNK2005: __CrtDbgReport already defined in libcmtd.lib(dbgrpt.obj)
emule error LNK2005: __resetstkoflw already defined in libcmtd.lib(resetstk.obj)
emule error LNK2005: __setmbcp already defined in libcmtd.lib(mbctype.obj)
emule error LNK2005: _free already defined in libcmtd.lib(dbgheap.obj)
emule error LNK2005: _malloc already defined in libcmtd.lib(dbgheap.obj)
emule error LNK2005: _sscanf already defined in libcmtd.lib(sscanf.obj)
emule error LNK2005: _wcscpy already defined in libcmtd.lib(wcscat.obj)
emule fatal error LNK1169: one or more multiply defined symbols found
emule warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
emule warning LNK4098: defaultlib 'mfc71d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
emule warning LNK4098: defaultlib 'mfcs71d.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
emule warning LNK4098: defaultlib 'msvcrtd.lib' conflicts with use of other libs; use /NODEFAULTLIB:library

-------------------

I donīt know what is wrong because I can compile emule 0.44a without any problems. Can anyone help?


Also does anyone know what causes the folloving in Visual Studio 2003:

1. I first select from 'project'-menu option 'emule properties'.
2. Configuration is "Active (debug)". I change it to 'Release'.
3. I close preferences window.
4. Now I select again from 'project'-menu option 'emule properties'.
5. The configuration mode is still "Active (debug)"

So question is why it does always resets the configuration to "Active (debug)"?
I canīt compile and build emule.exe as 'Release' because of this reason, building it is only possible with 'Active (debug)'