VC7.1 + extra sources from DC++

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Gnomee
Posts: 1
Joined: 2004-01-18 09:38

VC7.1 + extra sources from DC++

Post by Gnomee » 2004-01-18 09:41

I have these errors in Output Window:
Linking...
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _memmove already defined in LIBCMTD.lib(memmove.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ) already defined in LIBCMTD.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _strncpy already defined in LIBCMTD.lib(strncpy.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: "public: __thiscall exception::exception(void)" (??0exception@@QAE@XZ) already defined in LIBCMTD.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z) already defined in LIBCMTD.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _strrchr already defined in LIBCMTD.lib(strrchr.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __atoi64 already defined in LIBCMTD.lib(atox.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _atoi already defined in LIBCMTD.lib(atox.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __CrtDbgReport already defined in LIBCMTD.lib(dbgrpt.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __vsnprintf already defined in LIBCMTD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __i64toa already defined in LIBCMTD.lib(xtoa.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _time already defined in LIBCMTD.lib(time.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _strncmp already defined in LIBCMTD.lib(strncmp.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _strftime already defined in LIBCMTD.lib(strftime.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _localtime already defined in LIBCMTD.lib(localtim.obj)
MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: _atof already defined in LIBCMTD.lib(atof.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : 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)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
.\Compiled/DCPlusPlus.exe : fatal error LNK1169: one or more multiply defined symbols found

What's wrong, pls?

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-01-18 22:26

did you try a clean rebuild?
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-01-19 20:29

It looks like you changed the settings in the .vcproj files for either client or DCPlusPlus... would you mind sharing the differences? It doesn't look like an unmodified DC++ you're having problems with.

Locked