程序调试错误记录
来源:互联网 发布:端口号查询 编辑:程序博客网 时间:2024/05/16 19:07
程序调试记录:
(1)错误:extracSIFT.obj : error LNK2019: 无法解析的外部符号 "class boost::system::error_category const &
__cdecl boost::system::generic_category(void)"
解决方案:在boost的system库的D:\boost_1_53_0\boost\system\error_code.hpp源代码中添加 #define
BOOST_ERROR_CODE_HEADER_ONLY
(2)错误:boost_round未定义 LINK2001
解决方案:使用#include <boost/math/special_functions/round.hpp> 替换#include <boost/math/tr1.hpp>
将boost::math::tr1::roundf()boost::math::tr1::round()函数都替换为boost::math::round()
(3)error LNK2019: 无法解析的外部符号 "public: virtual class cv::AlgorithmInfo * __cdecl cv::SIFT::info
(void)const "
解决方案:添加opencv_nonfree245d.lib
(4)FastVideoGradientComputer.cpp(185): error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)”: 应
输入 3 个参数,却提供了 2 个
解决方案:使用static_cast<>()函数统一min()和max()函数中的参数类型;
(1)错误:extracSIFT.obj : error LNK2019: 无法解析的外部符号 "class boost::system::error_category const &
__cdecl boost::system::generic_category(void)"
解决方案:在boost的system库的D:\boost_1_53_0\boost\system\error_code.hpp源代码中添加 #define
BOOST_ERROR_CODE_HEADER_ONLY
(2)错误:boost_round未定义 LINK2001
解决方案:使用#include <boost/math/special_functions/round.hpp> 替换#include <boost/math/tr1.hpp>
将boost::math::tr1::roundf()boost::math::tr1::round()函数都替换为boost::math::round()
(3)error LNK2019: 无法解析的外部符号 "public: virtual class cv::AlgorithmInfo * __cdecl cv::SIFT::info
(void)const "
解决方案:添加opencv_nonfree245d.lib
(4)FastVideoGradientComputer.cpp(185): error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)”: 应
输入 3 个参数,却提供了 2 个
解决方案:使用static_cast<>()函数统一min()和max()函数中的参数类型;
- 程序调试错误记录
- Ubuntu14.04 运行程序错误,调试记录
- 调试错误记录
- 错误调试记录2
- directshow程序调试记录
- 程序调试记录
- 程序调试常见错误
- JScript调试程序 错误
- 记录错误程序
- 程序错误记录
- 程序错误记录
- 记录每次调试的错误
- hbase错误调试过程记录
- mini2440 触摸屏调试程序记录
- ROS功能程序调试记录
- 调试Clickone程序安装错误
- 调试技巧;程序错误类型。
- 汇编入门 调试程序错误
- QT的信号/槽机制
- Web开发者需具备的8个好习惯
- 11个Linux基础面试问题
- 五个 ping 工具的使用实例
- [C++]实现委托模型
- 程序调试错误记录
- 2013长沙现场赛三道铜牌题目
- 如何在Linux下监控系统温度
- Win32多线程之线程优先级
- 如何在Linux上配置基于Web的网络流量监控系统
- 为什么匿名内部类和局部内部类只能访问final变量
- 黑马程序员基础加强---泛型
- C++基础学习笔记----第十一课(类的静态成员、对象模型初步认识)
- Mysql编译安装参数优化