运行opencv自带的例子SURF_detector,结果出错了。
error LNK2019: 无法解析的外部符号 "public: __thiscall cv::SURF::SURF(double,int,int,bool,bool)" (??0SURF@cv@@QAE@NHH_N0@Z),该符号在函数 _main 中被引用
解决方案:VS2010中,设置项目属性->链接器->输入->附加依赖项里面添加上添加库文件opencv_nonfree244d.lib.
其中244为对应的opencv版本。