Open ustyui opened 5 years ago
Do you have all the dependencies installed?
Yes, I used
rosdep install --from-paths src -i -r -n -y
to install dependencies but error still occurs.
I do this on NVIDIA AGX Xavier.
CMakeFiles/Makefile2:4912: recipe for target 'people/people_tracking_filter/CMakeFiles/people_tracking_filter.dir/all' failed
make[1]: *** [people/people_tracking_filter/CMakeFiles/people_tracking_filter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/nvidia/catkin_ws/src/people/face_detector/src/faces.cpp: In constructor ‘people::Faces::Faces()’:
/home/nvidia/catkin_ws/src/people/face_detector/src/faces.cpp:50:18: warning: passing NULL to non-pointer argument 1 of ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = people::Face; _Alloc = std::allocator<people::Face>; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<people::Face>]’ [-Wconversion-null]
cam_model_(NULL)
^
CMakeFiles/Makefile2:3249: recipe for target 'people/face_detector/CMakeFiles/face_detector.dir/all' failed
make[1]: *** [people/face_detector/CMakeFiles/face_detector.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Using a jetson nano, 18.04 and getting the errors show below when compiling face_detector:
include "opencv/cxcore.hpp"
^
~~~~~~ compilation terminated. people/face_detector/CMakeFiles/face_detector.dir/build.make:62: recipe for target 'people/face_detector/CMakeFiles/face_detector.dir/src/face_detection.cpp.o' failed make[2]: [people/face_detector/CMakeFiles/face_detector.dir/src/face_detection.cpp.o] Error 1 CMakeFiles/Makefile2:15585: recipe for target 'people/face_detector/CMakeFiles/face_detector.dir/all' failed make[1]: [people/face_detector/CMakeFiles/face_detector.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
Open Cv is installed
import cv2 as cv print(cv.version) 3.2.0
face_detector gives following errors when catkin_make on nvidia Xavier.
Anyone knows the reason? Thank you in advance.