![]() |
【转帖】problems building with dwgdirect 2.6.3
problems building with dwgdirect 2.6.3
problems building with dwgdirect 2.6.3 i've just upgraded our application from dwgdirect 2.2.0 to 2.6.3 and i now cannot seem to link without errors. when linking against debug 2.6.3 dwgdirect libraries and msvcrtd and mfc90ud i get: msvcprtd.lib(msvcp90d.dll) : warning lnk4006: "public: __thiscall std::allocator <char>::allocator<char>(void)" (??0?$allocator@d@std@@qae@xz) already defined in cad_dwg.lib(exhostappservices.obj); second definition ignored msvcprtd.lib(msvcp90d.dll) : warning lnk4006: "public: __thiscall std::allocator <char>::allocator<char>(class std::allocator<char> const &)" (??0?$allocator@d@s td@@qae@abv01@@z) already defined in cad_dwg.lib(exhostappservices.obj); second definition ignored h:\livingston\cadra2\tool\adradwg.dll : warning lnk4088: image being generated d ue to /force option; image may not run when linking against nodebug 2.6.3 dwgdirect libraries and msvcrt and mfc90u i get: cad_dwg.lib(exhostappservices.obj) : error lnk2019: unresolved external symbol " void * __cdecl operator new[](unsigned int,struct std::_debugheaptag_t const &,c har *,int)" (??_u@yapaxiabu_debugheaptag_t@std@@padh@z) referenced in function " public: char * __cdecl std::_debugheapallocator<char>::allocate(unsigned int,voi d const *)" (?allocate@?$_debugheapallocator@d@std@@qaapadipbx @z) cad_dwg.lib(exhostappservices.obj) : error lnk2019: unresolved external symbol " struct std::_debugheaptag_t const & __cdecl std::_debugheaptag_func(void)" (?_de bugheaptag_func@std@@yaabu_debugheaptag_t@1@xz) referenced in function "public: char * __cdecl std::_debugheapallocator<char>::allocate(unsigned int,void const *)" (?allocate@?$_debugheapallocator@d@std@@qaapadipbx @z) h:\livingston\cadra2\tool\adradwg.dll : fatal error lnk1120: 2 unresolved extern als system failed errno = 0 my locally compiled code (in cad_dwg.lib) is built debug (including exhostappservices.obj which is built from the source file distributed with 2.6.3) in both cases. the nodebug build used to work fine using the nodebug 2.2.0 dwgdirect libraries. in fact before 2.6.3 i used only the nodebug dwgdirect libraries to build all the time. thanks in advance for any help anyone can provide, barry did you tried just delete ncb, clean/rebuild all? vladimir |
所有的时间均为北京时间。 现在的时间是 10:49 AM. |