Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems with class cv::FaceRecognizer under Windows 7 64 bit and VS2010

Hallo,

I am looking forward to compile the facerecognition in videos with openCV but I can't.

I get this error message in my compiler (VS2010):

1>FaceReconizer.obj : error LNK2019: unresolved external symbol "class cv::Ptr<class cv::facerecognizer=""> __cdecl cv::createFisherFaceRecognizer(int)" (? createFisherFaceRecognizer@cv@@YA?AV?$Ptr@VFaceRecognizer@cv@@@1@H@Z) referenced in function main

1>c:\users\nilmb\documents\visual studio 2010\Projects\FaceReconizer\x64\Debug\FaceReconizer.exe : fatal error LNK1120: 1 unresolved externals

Yes, is a linker error. As far as I know I have everything correctly linked in VS2010 since I can perfectly run a program capturing frames from my webcam and showing the video using the opencv functions.

As I said I am running everything under Windows 7 64 bits and OpenCV 2.4.2.

Do you have any idea about how to fix this?

Thanks so much for your help in advance,

Nil