Problem with compiling a code opencv2.4.9

asked 2016-09-10 16:06:53 -0600

medou gravatar image

It's been two weeks that I try with the installation of opencv2.4.9, tdm-gcc-5.1.0-3, cmake-2.8.12.2-win32-x86, and codeblocks 10.05. I want to modify the viola&jones code (Haartraining), but I blocked because of this error:

    C:\opencv\build\x86\mingw\lib\libopencv_haartraining_engine.a(cvboost.cpp.obj):cvboost.cpp:(.text$_ZL19cvEvalBtClassifierKP12CvClassifierP5CvMat+0x16c)||undefined reference to `cvStartReadSeq'|
C:\opencv\build\x86\mingw\lib\libopencv_haartraining_engine.a(cvboost.cpp.obj):cvboost.cpp:(.text$_ZL19cvEvalBtClassifierKP12CvClassifierP5CvMat+0x1fe)||undefined reference to `cvChangeSeqBlock'|
||=== Build finished: 2 errors, 0 warnings ===|

The simple image processing codes work well. I want to know is this-that these two functions belong to a reference that I have to make. plaise help me.

edit retag flag offensive close merge delete

Comments

please leave the deprecated haartrainning code alone(c-api), and rather try with train_cascade.

berak gravatar imageberak ( 2016-09-10 16:39:55 -0600 )edit