0

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.

Abhineet
  • 5,320
  • 1
  • 25
  • 43
user997248
  • 73
  • 2
  • 10

1 Answers1

2

You need to link it with

opencv_features2d246d.lib
opencv_nonfree246d.lib

for debug and for release

opencv_features2d246.lib
opencv_nonfree246.lib
api55
  • 11,070
  • 4
  • 41
  • 57