大疆Manifold-2C的Ubuntu16.04系统下编译Fast-Planner报错No rule to make target ‘/usr/lib/x86_64-linux-gnu/libproj.so’

发布于 2021-05-04  170 次阅读


make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libproj.so', needed by '/home/dji/catkin_ws/devel/lib/map_generator/random_forest'.  Stop.
make[2]: *** Waiting for unfinished jobs....

CMakeFiles/Makefile2:5254: recipe for target 'Fast-Planner/fast_planner/plan_env/CMakeFiles/plan_env.dir/all' failed
make[1]: *** [Fast-Planner/fast_planner/plan_env/CMakeFiles/plan_env.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

解决办法:

sudo apt-get install libproj-dev

网站的建设与维护者,孤独的守望者