Closed nakul-shahdadpuri closed 3 years ago
[ 7%] Building CXX object CMakeFiles/simple_vehicle_counting.dir/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp.o In file included from /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.h:7, from /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp:1: /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/../IBGS.h:3:10: fatal error: cv.h: No such file or directory 3 | #include | ^~ compilation terminated. make[2]: [CMakeFiles/simple_vehicle_counting.dir/build.make:76: CMakeFiles/simple_vehicle_counting.dir/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/simple_vehicle_counting.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
Nevermind. Figured it out. Installing cv2 for c++
[ 7%] Building CXX object CMakeFiles/simple_vehicle_counting.dir/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp.o In file included from /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.h:7, from /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp:1: /home/nakul/work/yolo/simple_vehicle_counting/package_bgs/PBAS/../IBGS.h:3:10: fatal error: cv.h: No such file or directory 3 | #include
| ^
~compilation terminated. make[2]: [CMakeFiles/simple_vehicle_counting.dir/build.make:76: CMakeFiles/simple_vehicle_counting.dir/package_bgs/PBAS/PixelBasedAdaptiveSegmenter.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/simple_vehicle_counting.dir/all] Error 2 make: *** [Makefile:84: all] Error 2