I want to build YOLO in ubuntu 16.04 with opencv. I install opencv with
sudo apt-get install libopencv-dev
However when I run make
I get
./src/image.c:509:29: error: unknown type name 'CvCapture'
image get_image_from_stream(CvCapture *cap)
Note that I can successfully build without opencv.(Sorry for my poor English).
How can I solve it?