| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 5944 人关注过本帖
标题:求助vs2010达人,error LINK2019
只看楼主 加入收藏
haton123
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-7-24
结帖率:0
收藏
已结贴  问题点数:20 回复次数:3 
求助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) 中被引用
搜索更多相关主题的帖子: 关系 library include 
2012-07-24 09:49
westfall999
Rank: 3Rank: 3
等 级:论坛游侠
威 望:1
帖 子:40
专家分:101
注 册:2012-7-22
收藏
得分:7 
牛。。。
2012-07-24 19:37
pangding
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:北京
等 级:贵宾
威 望:94
帖 子:6784
专家分:16751
注 册:2008-12-20
收藏
得分:7 
多半是配置上的问题,比如是否把第三方库引入了工程。

百度 error 2019 可能能找到有用的东西。

[ 本帖最后由 pangding 于 2012-7-24 21:08 编辑 ]
2012-07-24 21:06
绿茶盖儿
Rank: 10Rank: 10Rank: 10
等 级:青峰侠
威 望:1
帖 子:363
专家分:1852
注 册:2011-9-3
收藏
得分:7 
项目->属性->连接器->输入->附加依赖项 添加PGL相应的lib文件
2012-07-26 19:37
快速回复:求助vs2010达人,error LINK2019
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.052731 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved