[ 97%] Building CXX object src/CMakeFiles/compute_coco_map.dir/coco_map.cc.o
/home/jetson/Desktop/jedi/src/coco_map.cc:11:10: fatal error: boost/gil/extension/io/jpeg_io.hpp: No such file or directory
11 | #include <boost/gil/extension/io/jpeg_io.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/compute_coco_map.dir/build.make:76: src/CMakeFiles/compute_coco_map.dir/coco_map.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: src/CMakeFiles/compute_coco_map.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
编译boost的时候报错,解决方案选择低版本的带jpeg_io.hpp文件的就好
官网下载boost1.58.0
https://www.boost.org/users/history/
然后解压,编译安装
tar -xzf boost_1_58_0.tar.gz
cd boost_1_58_0
chmod -R +x ./tools/build/src/engine
chmod +x ./bootstrap.sh
./bootstrap.sh
./b2
sudo ./b2 install
问题解决