最近下了eMule0.49c的源代码,想尝试编译下结果出了一堆问题
链接时出了2K+的错误
大约是以下几类,都是error LNK2005
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)uafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in libcmtd.lib(new.obj)cryptlib.lib(integer.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" (??0bad_cast@std@@QAE@PBD@Z) already defined in libcmtd.lib(stdexcpt.obj)uuid.lib(ieguids.obj) : error LNK2005: _CLSID_PersistentZoneIdentifier already defined in PartFile.obj在网上看说是因为库的调用顺序问题,可我试着调整了,还是不成功,希望哪位高手编译eMule0.49c成功的解答一下。网上找的参考贴
http://support.microsoft.com/?scid=kb;zh-cn;148652&spid=3003&sid=183
http://blog.csdn.net/soloist/archive/2005/09/30/493238.aspxeMule0.49c下载页
http://www.emule-project.net/home/perl/general.cgi?l=42&rm=download