Question

I am trying to run the opencv surf implementation here in VS 2013.

I've already arranged the libraries in Linker->Input for example opencv_core246.lib for release and opencv_core246d.lib for debug.

But when I try to run the program, I getting the following error:

Error 1 error LNK2001: unresolved external symbol "public: __thiscall cv::SIFT::SIFT(int,int,double,double,double)" (??0SIFT@cv@@QAE@HHNNN@Z) C:...\Documents\Visual Studio 2013\Projects\surftest\surftest\main.obj surftest

I already googled this error but found nothing useful. Is there anyone knowing the reason for this error? Thanks in advance.

Was it helpful?

Solution

You need to link it with

opencv_features2d246d.lib
opencv_nonfree246d.lib

for debug and for release

opencv_features2d246.lib
opencv_nonfree246.lib
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top