Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Virtual Studio 2012 Facial Recognition

I have been having a lot of problems setting up the environment for VS2012 using OpenCV 3.0.0. I'm currently trying to create a facial recognition console project that recognizes faces in a video feed.

Im currently running into these main errors:

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::basicfacerecognizer=""> __cdecl cv::face::createEigenFaceRecognizer(int,double)

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::basicfacerecognizer=""> __cdecl cv::face::createFisherFaceRecognizer(int,double)"

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::lbphfacerecognizer=""> __cdecl cv::face::createLBPHFaceRecognizer(int,int,int,int,double)"

Followed by several more similar to:

opencv_videoio300d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol _ICOpen@12

I'm assuming many of these have to do with my includes or Additional Dependencies.

Any help would be greatly appreciated.

Virtual Studio 2012 Facial Recognition

I have been having a lot of problems setting up the environment for VS2012 using OpenCV 3.0.0. I'm currently trying to create a facial recognition console project that recognizes faces in a video feed.

Im currently running into these main errors:

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::basicfacerecognizer=""> __cdecl cv::face::createEigenFaceRecognizer(int,double)

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::basicfacerecognizer=""> __cdecl cv::face::createFisherFaceRecognizer(int,double)"

error LNK2019: unresolved external symbol "struct cv::Ptr<class cv::face::lbphfacerecognizer=""> __cdecl cv::face::createLBPHFaceRecognizer(int,int,int,int,double)"

Followed by several more similar to:

opencv_videoio300d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol _ICOpen@12

I'm assuming many of these have to do with my includes or Additional Dependencies.

Any help would be greatly appreciated.




As an update:
i added vfw32.lib to my Additional dependencies to fix all of the videoio / AVI errors