Mergevec.cpp : Error (compilation)
Hi everyone!!
I wanted to get mergevec.cpp to compile so i would avoid objectMarking all images everytime. The problem is i can't.
As i've read on this tutorial (http://note.sonots.com/SciSoftware/haartraining/mergevec.cpp.html), i've saved mergevec.cpp at haartraining directory and compiled. The followed error is given:
mergevec.cpp:7:28: fatal error: cvhaartraining.h: No such file or directory compilation terminated.
Then, i've googled the error and i added the -I to my compilation flags: it says -I
:no command found and repeats the same error than before.
What am i doing wrong? Is there any other way to avoid object marking EVERY image everytime?
Thanks in advance!
unless i added the -I command wrong. Please tell me HOW to do it: g++
pkg-config --cflags opencv
pkg-config --libs opencv
-I
-o mergevec mergevec.cpp cvboost.cpp cvcommon.cpp cvsamples.cpp cvhaarclassifier.cpp cvhaartraining.cpp