uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
2016-10-24 17:58
579 查看
再用VC2010静态链接后,编译出现这个错误提示:
uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory。
解决方法:
在工程中添加链接 windowscodecs.lib。
原文:http://social.msdn.microsoft.com/Forums/zh-CN/vclanguage/thread/c9827214-c2d9-4261-a384-5b183917bf97
Looks like you are static linking MFC.
a new member of type IWICImagingFactory* is introduced in AFX_GLOBAL_DATA, so you need to link windowscodecs.lib. There is anew Direct2D member too but the IID of Direct2D
is taken care of by uuid.lib.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
转自:http://blog.csdn.net/chinabinlang/article/details/8542940
uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory。
解决方法:
在工程中添加链接 windowscodecs.lib。
原文:http://social.msdn.microsoft.com/Forums/zh-CN/vclanguage/thread/c9827214-c2d9-4261-a384-5b183917bf97
Looks like you are static linking MFC.
a new member of type IWICImagingFactory* is introduced in AFX_GLOBAL_DATA, so you need to link windowscodecs.lib. There is anew Direct2D member too but the IID of Direct2D
is taken care of by uuid.lib.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
转自:http://blog.csdn.net/chinabinlang/article/details/8542940
相关文章推荐
- uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
- uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
- uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
- uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
- error LNK2001: 无法解析的外部符号 CLSID_ImagingFactory 和 IID_IImagingFactory
- error LNK2001: 无法解析的外部符号 CLSID_ImagingFactory 和 IID_IImagingFactory
- vs2015编译ffmpeg 出现错误rtmp.lib(rtmp.obj) : error LNK2001: 无法解析的外部符号 ___iob_func
- nafxcwd.lib(afxglobals.obj) : error LNK2001: unresolved external symbol _IID_IWICImagingFactory
- SkinMagicLib.lib(SkinData.obj) : error LNK2001: 无法解析的外部符号
- vs2015编译ffmpeg 出现错误rtmp.lib(rtmp.obj) : error LNK2001: 无法解析的外部符号 ___iob_func
- VC: Nafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号___argv
- MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStart
- MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStart
- MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStartup 中被引用
- MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC(2012-04-22 16:20:02
- 一,问题描述 MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainCRTStartup 中被引
- MSVCRTD.lib(crtexe.obj):无法解析的外部符号 _main,该符号在函数 ___tmainCRTStart的解决办法
- MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStart
- MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC
- MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC