mosheliv / tensortrt-yolo-python-api

Python api for tensorrt implementation of yolov2
33 stars 5 forks source link

fatal error: opencv/cv.h: No such file or directory #9

Open muhammadabdullah34907 opened 4 years ago

muhammadabdullah34907 commented 4 years ago

I have compiled opencv from source and still it's not finding the path, anyone please ?

after running this: make && sudo make install

Scanning dependencies of target yolo-lib [ 15%] Building CXX object lib/CMakeFiles/yolo-lib.dir/calibrator.cpp.o In file included from /home/admin1/deepstream_reference_apps/yolo/lib/ds_image.h:28:0, from /home/admin1/deepstream_reference_apps/yolo/lib/calibrator.h:29, from /home/admin1/deepstream_reference_apps/yolo/lib/calibrator.cpp:26: /home/admin1/deepstream_reference_apps/yolo/lib/trt_utils.h:31:10: fatal error: opencv/cv.h: No such file or directory

include <opencv/cv.h>

      ^~~~~~~~~~~~~

compilation terminated. make[2]: [lib/CMakeFiles/yolo-lib.dir/build.make:70: lib/CMakeFiles/yolo-lib.dir/calibrator.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:123: lib/CMakeFiles/yolo-lib.dir/all] Error 2 make: *** [Makefile:130: all] Error 2