动态加载图片到控件显示
present10000:
http://hi.baidu.com/huanghanzone/item/3a4d87392b394c8cb611db61
VS2008下安装OpenCV2.1
出现问题:1、编译出错
1>Compiling...
1>template.cpp
1>f:\opencv\test\template\template\template.cpp(1) : warning C4627: '#include "highgui.h"': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>f:\opencv\test\template\template\template.cpp(12) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at file://f:\opencv\test\template\template\Debug\BuildLog.htm
原因:没有禁用头文件预处理功能,按如下方法设置:
|