Help Feature Detection Visual Studio 2008

asked 2013-11-01 19:35:56 -0500

H. Murcia gravatar image

updated 2013-11-02 05:45:52 -0500

berak gravatar image

Hello, I've tried to execute the sample: Feature Detection (http://docs.opencv.org/doc/tutorials/features2d/feature_detection/feature_detection.html#feature-detection) with 2.4.6 lib , and visual studio 2008. But I have always 2 erros (even when I change to #include "opencv2/nonfree/nonfree.hpp")

Error 2 error LNK2019: unresolved external symbol "public: __thiscall cv::SURF::SURF(double,int,int,bool,bool)" (??0SURF@cv@@QAE@NHH_N0@Z) referenced in function _main main.obj test

Error 3 fatal error LNK1120: 1 unresolved externals ....\bin\vs2008\test.exe test

Can someone Help me?

edit retag flag offensive close merge delete

Comments

you need to link opencv_nonfree246.lib, too, no ?

berak gravatar imageberak ( 2013-11-02 05:46:48 -0500 )edit