【错误笔记】error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects
来源:互联网 发布:心彻为知 编辑:程序博客网 时间:2024/04/25 06:03
做一个笔记而已。
error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects的解决办法。
在vs2008+opencv2.2中是因为少了opencv_objdetect220d.lib,
我使用#pragma comment(lib, "lib_name")这种形式了添加库文件,虽然方便但是有时候少了某一个特定库,就抓狂了。
还是在项目配置里面设置比较好,那样系统自己就会自己找到所需的lib文件。
最后添加一句,问题就没有了。编译通过。
#pragma comment(lib, "opencv_objdetect220d.lib")
- 【错误笔记】error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects
- error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects,该符号在函数 "void __cdecl detect_and_draw(struct _IplImage
- error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects,该符号在函数 "void __cdecl detect_and_draw(struct _IplImage
- error LNK2019: 无法解析的外部符号 错误解析
- "error LNK2019: 无法解析的外部符号"错误的解决办法
- C++ 错误error LNK2019: 无法解析的外部符号
- vs2005 调试错误error LNK2019: 无法解析的外部符号
- C++ error LNK2019: 无法解析的外部符号 错误解决方案
- 错误error LNK2019: 无法解析的外部符号 _auxDIBImageLoadW@4
- error LNK2019: 无法解析的外部符号
- error LNK2019(无法解析的外部符号)
- error LNK2019(无法解析的外部符号)
- error LNK2019: 无法解析的外部符号
- error LNK2019: 无法解析的外部符号
- error LNK2019: 无法解析的外部符号
- error LNK2019: 无法解析的外部符号
- error LNK2019: 无法解析的外部符号
- error LNK2019: 无法解析的外部符号
- Linux引导过程内幕
- /etc/profile和/etc/bashrc和~/.bash_profile和~/.bashrc和~/.bash_logout的区别
- 2011-8-1 21:05:03
- Address already in use: make_sock: could not bind to
- stm32 PDA 初步方案设计
- 【错误笔记】error LNK2019: 无法解析的外部符号 _cvHaarDetectObjects
- 2011-8-1 21:07:39
- 一、判别一个分解的无损连接性
- vs2008中几种主要数据类型的字节数
- Linux命令
- 安家了
- 学习opencv笔记(网络)
- WPF DataGrid 遇到的小问题
- 滤波器的频域理解