添加头文件#include <afxwin.h>出错
来源:互联网 发布:淘宝处理纠纷流程 编辑:程序博客网 时间:2024/06/10 18:59
使用类CRgn来判断点是否在多边形中时,需要头文件<afxwin.h>,但是添加该头文件后会出现下面的错误
1>uafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___wargv
1>uafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___argc
1>uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
1>G:\POSDataSupportedobliqueimagematching_experiment\Rectify\Debug\Rectify.exe : fatal error LNK1120: 3 个无法解析的外部命令
解决办法:
项目属性中的 “MFC的使用” 改成 “在共享DLL中使用MFC” ,就可以了,具体原因还不清楚,以后慢慢摸索。
1>uafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___wargv
1>uafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___argc
1>uafxcwd.lib(afxglobals.obj) : error LNK2001: 无法解析的外部符号 _IID_IWICImagingFactory
1>G:\POSDataSupportedobliqueimagematching_experiment\Rectify\Debug\Rectify.exe : fatal error LNK1120: 3 个无法解析的外部命令
解决办法:
项目属性中的 “MFC的使用” 改成 “在共享DLL中使用MFC” ,就可以了,具体原因还不清楚,以后慢慢摸索。
0 0
- 添加头文件#include <afxwin.h>出错
- 添加头文件include
- #include <unistd.h> 头文件
- 每次修改对话框模版,.rc文件中的#include "afxwin.h"就会少了后边的双引号
- 備忘錄:#define WINVER 0x0500 and #include <afxwin.H>
- 转载------ #include sys/xxx.h 头文件
- 关于C头文件包含include "**.h"
- 关于#include<linux/***.h>头文件
- #include <sys/socket.h>找不到头文件
- #include <afx.h>头文件的作用
- uint8_t 头文件为#include<stdint.h>
- #include <unistd.h> 头文件作用
- #include<sys/types.h>头文件作用
- #include<unistd.h>头文件的理解
- #include <sys/socket.h>找不到头文件
- 万能头文件#include<bits/stdc++.h>
- 万能头文件 #include<bits/stdc++.h>
- 万能头文件#include<bits/stdc++.h>
- mbstowcs_s实现wchar_t转成char
- C++ 字符串重载运算符
- iOS开发UI篇—UIScrollView控件介绍
- 每日一佳——A Support Vector Method for Multivariate Performance Measures(Thorsten Joachims,ICML,2005)
- npoi导入execle
- 添加头文件#include <afxwin.h>出错
- 利用C++模板,代替虚函数实现类的静态多态性及动态继承
- html button样式变圆角
- 使用Chrome来调试你的Android App
- Hadoop学习第四天之hadoop命令操作(下)
- IPhone 日历提醒
- C++ String类 实现
- android 实时渲染模糊
- Oracle OCP笔记(15)模式对象(表,约束,索引等)