Ask Your Question

Revision history [back]

Implementing SURF using iplimage in opencv and c++ unresolved externals

'm facing a problem with implementing SURf using Mat because of heap, so I tried to use iplimage. I used the code of this guy SURF using iplimage I've got errors:

unresolved external symbol _cvExtractSURF unresolved external symbol _cvSURFParams

I added these

#include "opencv2/nonfree/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include <opencv2/legacy/legacy.hpp>

with cv::initModule_nonfree(); in main but it didnt work. does anyone know what is the problem ?