Ask Your Question

Revision history [back]

getting unresolved external symbols Visual Studio 2015

I'm tring to build a solution that uses openCV. I'm now down to 12 errors in the link stage. What library would have the cv::String::allocate, cv::String::deallocate, and cv::Mat::Mat. What additional libraries do I need to add to the list below to clean these last one up?

I'm using visual studio 2015 C++ with the following

opencv-2.4.13

Linker additional dependencies

opencv_core2413d.lib opencv_imgproc2413d.lib opencv_highgui2413d.lib opencv_ml2413d.lib opencv_video2413d.lib opencv_features2d2413d.lib opencv_calib3d2413d.lib opencv_objdetect2413d.lib opencv_contrib2413d.lib opencv_legacy2413d.lib opencv_flann2413d.lib

VC++ Directories, Library Directories C:\Darrah\openCV-2-4-13\opencv\build\x86\vc12

Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) referenced in function "public: __thiscall cv::String::String(char const *)" (??0String@cv@@QAE@PBD@Z) Pixmicro C:\Darrah\PCB\Pixmicro-master\Pixmicro\CaptureThread.obj

Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol "private: void __thiscall cv::String::deallocate(void)" (?deallocate@String@cv@@AAEXXZ) referenced in function "public: __thiscall cv::String::~String(void)" (??1String@cv@@QAE@XZ) Pixmicro C:\Darrah\PCB\Pixmicro-master\Pixmicro\CaptureThread.ob)

Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol "void __cdecl cv::error(int,class cv::String const &,char const *,char const *,int)" (?error@cv@@YAXHABVString@1@PBD1H@Z) referenced in function "public: __thiscall cv::Mat::Mat(class cv::Mat &&)" (??0Mat@cv@@QAE@$$QAV01@@Z) Pixmicro C:\Darrah\PCB\Pixmicro-master\Pixmicro\CaptureThread.obj 1