Closed biggwatermelon closed 8 months ago
i encounter an error when run this:
make -j sudo make install
make[1]: Entering directory '/home/wu/Downloads/Test/apriltag/example' [apriltag_demo] opencv_demo.o /bin/sh: 1: pkg-config: not found opencv_demo.cc:31:10: fatal error: opencv2/opencv.hpp: No such file or directory 31 | #include "opencv2/opencv.hpp" | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:28: opencv_demo.o] Error 1
The line /bin/sh: 1: pkg-config: not found tells you that the executable pkg-config is missing. You have to install it (sudo apt install pkg-config) or use the CMake instructions alternatively.
/bin/sh: 1: pkg-config: not found
pkg-config
sudo apt install pkg-config
i encounter an error when run this: