Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

linker error in opencv 246 / VS 2010

Hello, the error I get while compiling is:

error LNK2019: Reference to unresolved extern symbol ""void __cdecl locateTagCandidates(class cv::Mat &,class std::vector<class cv::rect_<int="">,class std::allocator<class cv::rect_<int=""> > > &)" (?locateTagCandidates@@YAXAAVMat@cv@@AAV?$vector@V?$Rect_@H@cv@@V?$allocator@V?$Rect_@H@cv@@@std@@@std@@@Z)" in Funktion ""void __cdecl updateBlob(int,void *)" (?updateBlob@@YAXHPAX@Z)".

Sorry for just copying this but I cannot identify the important parts of this error... There are numerous similar errors (e.g. "__imp__DecodePointer@4" in Funktion "__onexit".) which will have the same cause I guess.
While searching for the problem I could not find a proper solution but hints that it could have to do with the architecture: I'm running a Win7 64 Bit, VS 2010 32 Bit and am compiling to Win32.
I'd like to add that I at least doublechecked all the installation steps for opencv. I'm happy to check again if you can give a hint but I ask myself why in the whole opencv installation process no single error report has actually any information about whats going wrong..
This does not belong here but: I tried to get this up and running the whole day, starting with a cloned opencv repository, learning that I pulled a version 3 alpha or so after numerous hours of error identification. Seriously guys. Please someone update the installation tutorial (at least for Windows). I bet this would save many people some hours. Thanks for any help in advance (: