![]() |
【转帖】vs 2005 9vc 80 Build Of Dd Libs
vs 2005 (vc 8) build of dd libs?
vs 2005 (vc 8) build of dd libs? now that vs 2005 has shipped, when are we likely to see an official build of the dwgdirect libs to support it? currently, there is a set of libs built against vs 2005 beta 1 (dd_vc8), but i cannot get these to link cleanly with my project. the following multiple definition errors are generated: dd_vc8mt_alloc.lib(odallocop.obj) : error lnk2005: "void * __cdecl operator new(unsigned int)" (??2@yapaxi@z) already defined in nafxcw.lib(afxmem.obj) dd_vc8mt_alloc.lib(odallocop.obj) : error lnk2005: "void __cdecl operator delete(void *)" (??3@yaxpax@z) already defined in nafxcw.lib(afxmem.obj) dd_vc8mt_alloc.lib(odallocop.obj) : error lnk2005: "void * __cdecl operator new[](unsigned int)" (??_u@yapaxi@z) already defined in nafxcw.lib(afxmem.obj) dd_vc8mt_alloc.lib(odallocop.obj) : error lnk2005: "void __cdecl operator delete[](void *)" (??_v@yaxpax@z) already defined in nafxcw.lib(afxmem.obj) libcmt.lib(stdexcpt.obj) : error lnk2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@qae@xz) already defined in dd_vc8mt_db.lib(dbfiler.obj) libcmt.lib(stdexcpt.obj) : error lnk2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@qae@abv01@@z) already defined in dd_vc8mt_db.lib(dbfiler.obj) libcmt.lib(stdexcpt.obj) : error lnk2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@uae@xz) already defined in dd_vc8mt_db.lib(dbfiler.obj) libcmt.lib(stdexcpt.obj) : error lnk2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@ubepbdxz) already defined in dd_vc8mt_db.lib(dbfiler.obj) note that no amount of lib shuffling will resolve these errors. what's more, simply swapping the vc8 libs for the vc2003 libs resolves all these errors, so the problem would appear to be with the libs themselves. i would prefer not to have to use the /force:multiple linker switch to work around these problems. dwgdirect and visual studio 2005 (vc8) for those encountering link and/or runtime issues with the vc8 (beta) builds of the dd libs, i found success by backing off to the vc2003 builds, and providing an implementation of the vc2003 definition of std::_string_base to resolve link dependencies. having done this, everything appears to be working correctly. still, an official release of vc8-built dd libs would be nice... 1.14 release will include libs & dlls built with 2005 final vladimir where are vc8mt libs? vladimir, 1.14.01 has shipped but the dd_vc8.zip only contains dynamic libs (vc8md). when can we expect to see the static libs? thanks, scott sorry, they were omitted by mistake, we will build&upload updated archive in near future (perhaps today). vladimir vc8 library zips are replaced. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 06:38 AM. |