1>E1400Dlg.obj : error LNK2019: 无法解析的外部符号 __imp__Demo@12,该符号在函数 "protected: v
2012-05-15 10:54
375 查看
编译器:vc2010 mfc 引入库问题
问题描述:
1>E1400Dlg.obj : error LNK2019: 无法解析的外部符号 __imp__Demo@12,该符号在函数 "protected: virtual int __thiscall CE1400Dlg::OnInitDialog(void)" (?
OnInitDialog@CE1400Dlg@@MAEHXZ) 中被引用
1>C:\Documents and Settings\ylxk\桌面\E1400\Debug\E1400.exe : fatal error LNK1120: 1 个无法解析的外部命令
解决方法:
1、引入库没有正确加入
2、需要 #define GLUT_DISABLE_ATEXIT_HACK
dll 的引入:
1、项目->项目属性->配置属性->链接器->常规->附加库目录 此处添加需要加入库的文件目录
2、项目->项目属性->配置属性->链接器->输入->附加依赖项 此处添加引入库,或者引入库的绝对路径
有效帮助:
1、http://www.2cto.com/kf/201111/111632.html
2、http://znhcl.blog.163.com/blog/static/1443650020108173345258/
问题描述:
1>E1400Dlg.obj : error LNK2019: 无法解析的外部符号 __imp__Demo@12,该符号在函数 "protected: virtual int __thiscall CE1400Dlg::OnInitDialog(void)" (?
OnInitDialog@CE1400Dlg@@MAEHXZ) 中被引用
1>C:\Documents and Settings\ylxk\桌面\E1400\Debug\E1400.exe : fatal error LNK1120: 1 个无法解析的外部命令
解决方法:
1、引入库没有正确加入
2、需要 #define GLUT_DISABLE_ATEXIT_HACK
dll 的引入:
1、项目->项目属性->配置属性->链接器->常规->附加库目录 此处添加需要加入库的文件目录
2、项目->项目属性->配置属性->链接器->输入->附加依赖项 此处添加引入库,或者引入库的绝对路径
有效帮助:
1、http://www.2cto.com/kf/201111/111632.html
2、http://znhcl.blog.163.com/blog/static/1443650020108173345258/
相关文章推荐
- 处理--->错误 error LNK2019: 无法解析的外部符号"~~~~" | 该符号"~~~"在函数 _main 中被引用
- error LNK2019: 无法解析的外部符号 ___glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用 1>GEARS.obj : error LNK2019: 无法解析的外部符号 ___gl
- error LNK2019: 无法解析的外部符号 ___glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用 1>GEARS.obj : er
- 1>MSVCRTD.lib(exe_main.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 "int __cdecl invoke_main(void)"
- error LNK2019: 无法解析的外部符号 ___glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用 1>GEARS.obj : er
- DirectX的error LNK2019: 无法解析的外部符号 _Direct3DCreate9@4,该符号在函数 "long __cdecl InitD3D(struct HWND__ *)"
- error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects,该符号在函数 "void __cdecl detect_and_draw(struct _IplImage
- VC编译错误:error LNK2019: 无法解析的外部符号 "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z),该符号在函数 "void __cdecl _com_ut
- 1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall cv::SIFT::SIFT(int,int,double,double,doubl
- 关于编译eMule0.48a 提示: zlib.lib(gzio.obj) : error LNK2019: 无法解析的外部符号 __imp__strerror ,该符号在函数 _gzerror 中被引用
- 错误 1 error LNK2019: 无法解析的外部符号 "public: __thiscall chain<int>::~chain<int>(void)" (??1?$chain@H@@QAE@
- error LNK2019: 无法解析的外部符号 __imp__wcsftime,该符号在函数 "public: virtual long __thiscall CUVideoTransHost::Transform
- MSVCRTD.lib(exe_main.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 "int __cdecl invoke_main(void)"
- main.obj:-1: error: LNK2019: 无法解析的外部符号 "public: __thiscall CFindFileForm::CFindFileForm(class QWidge
- MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main &amp;&amp; 无法解析__imp__PlaySoundW
- dcmdata.lib(dcuid.obj) : error LNK2019: 无法解析的外部符号 _GetAdaptersInfo@8,该符号在函数 "struct _IP_ADAPTER_INFO
- error LNK2019: 无法解析的外部符号 ___glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用 1>GEARS.obj : e
- MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC
- 摘:"error LNK2019: 无法解析的外部符号 该符号在函数 中被引用" 错误原因
- 解决错误error LNK2019: 无法解析的外部符号 __imp__函数名,该符号在函数..