I use OpenCV 3.0 and Ubuntu 14.04. I'm trying to compile a few codes on Ubuntu using OpenCV. I get error
"error: 'imread' is not a member of 'cv'"
Due to my previous search knowledge, I tried compiling by adding "highgui.h".
I use:
$g++ main.cpp HOG.cpp HOGFeaturesOfBlock.cpp -I/usr/local/include/opencv -lml -lcvaux -highgui -lcv -lcxcore -o featureExtractor
on the terminal to compile.
Any suggestions?