求助vs2010达人,error LINK2019
想在mfc下使用PGL(Plot Graphic Library),实现绘图功能,。加入后老是报error2019,请问是与GDI有关系吗,还是include目录设置问题。我电脑上同时装了vs2008,可以在08下运行。1> MainFrm.cpp
1> PGLGraphObj.cpp
1> _Adding library: AlgoTools7d.lib: MFC71, dll,Debug, MBCS
1> _Adding library: IGfx7d.lib: MFC7.0, dll, Debug, MBCS
1> _Adding library: gdiplus.lib
1> _Adding library: PGLCore7d.lib: MFC7.1,dll, Debug, MBCS
1> _Adding library: NewMenuLib7d.lib: MFC7.0, dll, Debug, MBCS
1> _Adding library: PGLMFC7d.lib: MFC7.1, Debug, MBCS
1> ChildFrm.cpp
1> 正在生成代码...
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::DrawTextStrip(class std::vector<struct gfxinterface::_sPointD,class std::allocator<struct gfxinterface::_sPointD> > const &,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const &,enum gfxinterface::_ETextAlignment,double)" (?DrawTextStrip@CGDIpInterface@gfxinterface@@UAEXABV?$vector@U_sPointD@gfxinterface@@V?$allocator@U_sPointD@gfxinterface@@@std@@@std@@ABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@4@W4_ETextAlignment@2@N@Z) 中被引用
1>IGfx7d.lib(GDIpHelper.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ)
1>IGfx7d.lib(GfxInterface.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ)
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::size(void)const " (__imp_?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::DrawTextStrip(class std::vector<struct gfxinterface::_sPointD,class std::allocator<struct gfxinterface::_sPointD> > const &,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const &,enum gfxinterface::_ETextAlignment,double)" (?DrawTextStrip@CGDIpInterface@gfxinterface@@UAEXABV?$vector@U_sPointD@gfxinterface@@V?$allocator@U_sPointD@gfxinterface@@@std@@@std@@ABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@4@W4_ETextAlignment@2@N@Z) 中被引用
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall std::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >::`vbase destructor'(void)" (__imp_??_D?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::SetDash(char const *)"(?SetDash@CGDIpInterface@gfxinterface@@UAEXPBD@Z) 中被引用
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::SetDash(char const *)" (?SetDash@CGDIpInterface@gfxinterface@@UAEXPBD@Z) 中被引用
1>IGfx7d.lib(GDIpHelper.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
1>IGfx7d.lib(GfxInterface.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (__imp_??0?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@H@Z),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::SetDash(char const *)" (?SetDash@CGDIpInterface@gfxinterface@@UAEXPBD@Z) 中被引用
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z),该符号在函数 "public: virtual void __thiscall gfxinterface::CGDIpInterface::SetDash(char const *)" (?SetDash@CGDIpInterface@gfxinterface@@UAEXPBD@Z) 中被引用
1>IGfx7d.lib(GDIpHelper.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
1>IGfx7d.lib(GfxInterface.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ),该符号在函数 "public: class std::vector<float,class std::allocator<float> > & __thiscall std::vector<float,class std::allocator<float> >::operator=(class std::vector<float,class std::allocator<float> > const &)" (??4?$vector@MV?$allocator@M@std@@@std@@QAEAAV01@ABV01@@Z) 中被引用
1>IGfx7d.lib(GDIpHelper.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>IGfx7d.lib(GfxInterface.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>IGfx7d.lib(GDIpInterface.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ),该符号在函数 "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<float> >::~_Container_base_aux_alloc_empty<class std::allocator<float> >(void)" (??1?$_Container_base_aux_alloc_empty@V?$allocator@M@std@@@std@@IAE@XZ) 中被引用