darknet icon indicating copy to clipboard operation
darknet copied to clipboard

Unknown type name 'CvCapture' error. Compilation being terminated. Help?

Open tejasa97 opened this issue 6 years ago • 1 comments

./src/image.h:65:29: error: unknown type name ‘CvCapture’ image get_image_from_stream(CvCapture *cap); ^ compilation terminated due to -Wfatal-errors. Makefile:59: recipe for target 'obj/deconvolutional_layer.o' failed make: *** [obj/deconvolutional_layer.o] Error 1

tejasa97 avatar Sep 16 '18 10:09 tejasa97

You need add #include "opencv2/videoio/videoio_c.h" in "src/image.h"

BuiNgocHai avatar Apr 04 '19 09:04 BuiNgocHai