|
发表于 2021-12-3 17:46:17
5248 浏览 2 回复
[导航算法]
./compile_planning.sh 出错 '/usr/local/lib/libnlopt.so', needed by '/hom...
[ 78%] Built target read_pub_ot
[ 82%] Built target plan_env
make[2]: *** No rule to make target '/usr/local/lib/libnlopt.so', needed by '/home/amov/Prometheus/devel/lib/libbspline_opt.so'. Stop.
CMakeFiles/Makefile2:4382: recipe for target 'FastPlanner/bspline_opt/CMakeFiles/bspline_opt.dir/all' failed
make[1]: *** [FastPlanner/bspline_opt/CMakeFiles/bspline_opt.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 85%] Built target path_searching
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j6 -l6" failed
amov@amov:~/Prometheus$
我知道答案
回答被采纳将会获得 3 阿木币 已有2人回答
|
扫一扫浏览分享
|
|
|
|
|
|
|
楼主|
发表于 2021-12-3 18:08:13
执行命令:sudo apt-get install libnlopt-dev
但是libnlopt.so,这个库被安装在/usr/lib/x86_64-linux-gnu中
因此,需要将其复制到/usr/local/lib就可以成功编译
|
|
|
|
|
|
|
|
楼主|
发表于 2021-12-3 18:08:49
执行命令:sudo apt-get install libnlopt-dev
但是libnlopt.so,这个库被安装在/usr/lib/x86_64-linux-gnu中
因此,需要将其复制到/usr/local/lib就可以成功编译 |
|
|
|
|
|
|
|
|