程序調試記錄:
(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()函數中的參數類型;
程序調試錯誤記錄
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
做程序員要明白的一個道理.
梦想的天空格外蓝
2020-02-22 08:52:20
MS Server, MySql,Oracle數據庫的區別
shenlanlan2
2020-02-20 23:39:04
Intellij IDEA 常用快捷鍵
shenlanlan2
2018-09-04 01:47:50
關於工控系統信息安全的一些思考
sonic_sky
2018-09-03 21:42:48
工業4.0隨想之安全4.0
sonic_sky
2018-09-03 21:42:48
MySQL實戰筆試(2)
兔哥瞎技术
2018-08-31 02:46:31
兩種不同的方法使用不當Animation 四個動畫效果Alpha.Scale.Rotate.Translate
兔哥瞎技术
2018-08-31 02:46:31
ImageView 從網絡下載圖片
兔哥瞎技术
2018-08-31 02:46:31
MySQL實戰筆試(1)
兔哥瞎技术
2018-08-31 02:46:31
手動滑動的進度條 SeekBar
兔哥瞎技术
2018-08-31 02:46:30
ListView的嵌套,ExpandableListActivity和SimpleExpandableListAdapter
兔哥瞎技术
2018-08-31 02:46:30
AnimationSet, Interpolator, Frame-By-Frame Animation
兔哥瞎技术
2018-08-31 02:46:30
android 桌面插件 App Widget
兔哥瞎技术
2018-08-31 02:46:30
android Dialog的自定義
兔哥瞎技术
2018-08-31 02:46:28