Undefined link to cv :: Formatter :: get (char const *) opencv

I completed the tutorial trainHOG tutorial for learning images in OpenCV

I have included all libraries, including files.

I tried running the code on Win7x64, it blocks the IDE, opencv 2.4.7. When compiling the code, I get the following errors:

D: \ opencv \ build \ x64 \ mingw \ lib \ libopencv_ts247.a (ts_perf.cpp.obj): ts_perf.cpp :(. Text.unlikely._ZN2cvlsERSoRKNS_3MatE + 0x15) || undefined reference to `cv :: Formatter :: get (char const *) '|

D: \ opencv \ build \ x64 \ mingw \ lib \ libopencv_ts247.a (ts_perf.cpp.obj): ts_perf.cpp :(. Text $ _ZN12_GLOBAL__N_115PerfEnvironment8TearDownEv + 0xb) || undefined reference to `cv :: setNumThreads (integer) '|

Help me solve the errors.

+3
source share

All Articles