我正在尝试建立一个使用冲浪匹配算法的OpenCV程序,代码在以下链接中:
http://feelmare.blogspot.ro/2011/10/sift-matching-c-source-code-using.html
然而,我得到了两个关于外部符号的错误:_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) 你知道我该如何解决这个错误吗?我在Windows7- 64位的visual studio 2010中使用opencv 2.3.0运行代码。
发布于 2012-07-17 00:27:39
您未链接所需的库-请尝试链接项目设置中的所有OpenCV库。参见documentation。
https://stackoverflow.com/questions/11508209
复制相似问题