![]() |
【转帖】linking problem
linking problem
linking problem i'm using vc7 in windows2000 and dwgdirect 1.0.8 i try to compile in vc6 and it works ok, in vc7 i have the following error. odreadex error lnk2019: s韒bolo externo "__declspec(dllimport) public: __thiscall std::basic_istream<char,struct std::char_traits<char> >::basic_istream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (__imp_??0?$basic_istream@du?$char_traits@d@std@@@ std@@qae@pav?$basic_streambuf@du?$char_traits@d@st d@@@1@_n@z) sin resolver al que se hace referencia en la funci髇 "public: __thiscall satparser::satparser(class std::basic_streambuf<char,struct std::char_traits<char> > *)" (??0satparser@@qae@pav?$basic_streambuf@du?$char_t raits@d@std@@@std@@@z) is there a solution to solve it? be sure that dd_vc6md_acis.lib is included in you're linking file. i'm linking the "odreadex" example in debug mode and linking with that file. in release mode there are three similar errors with the functions "basic_filebuf", "__fiopen" and "basic_ostream" try to use the vc6 libs to bring this in msvcprtd.lib or msvcprt.lib using msvcprtd.lib and adding to the path the msvcp60d.dll and msvcrtd.dll files seems to work. |
所有的时间均为北京时间。 现在的时间是 03:53 AM. |