我正在尝试构建一个使用 SURF 匹配算法的 OpenCV 程序,代码在以下链接中:
http://feelmare.blogspot.ro/2011/10/sift-matching-c-source-code-using.html
但是,我收到关于一些外部符号的 2 个错误:_cvExtractSurf
和_cvSURFParams
。
error LNK2019: unresolved external symbol _cvExtractSURF referenced in function "public: bool __thiscall CMareMatchingClass::ExtractBGsurf(struct _IplImage *)" (?ExtractBGsurf@CMareMatchingClass@@QAE_NPAU_IplImage@@@Z)
error LNK2019: unresolved external symbol _cvSURFParams referenced in function "public: __thiscall CMareMatchingClass::CMareMatchingClass(void)" (??0CMareMatchingClass@@QAE@XZ)
你知道我该如何解决这个错误吗?我在 Windows 7 - 64 位的 Visual Studio 2010 中使用 opencv 2.3.0 运行代码。