笔记本Ubuntu16.04环境下,进入项目的src目录下执行make操作,发现报如下错误
1.

/bin/sh: 1: /usr/bin/libtool: not found
makefile:89: recipe for target 'ispd18dr' failed
make: *** [ispd18dr] Error 127

笔记本中libtool的位置是 /usr/share/libtool,而makefile中LIBTOOL = /usr/bin/libtool ,因此找不到。解决方法:进入root后安装:
sudo su ,apt-get install libtool-bin

make报错

显示错误:
boost_maxflow.cpp:2:28: fatal error: boost/config.hpp: 没有那个文件或目录 #inlcude <boost/config.hpp>
错误原因分析: boost库没有安装。
解决方案:sudo apt-get install libboost-all-dev

显示错误:
fatal error: bits/c++config.h: 没有那个文件或目录
解决方案:sudo apt-get install gcc-multilib g++-multilib

相关文章:

  • 2021-07-06
  • 2022-12-23
  • 2021-12-25
  • 2022-01-16
  • 2021-10-02
  • 2021-11-15
  • 2021-11-20
  • 2022-01-21
猜你喜欢
  • 2021-08-11
  • 2021-08-29
  • 2021-10-23
  • 2022-01-23
  • 2021-12-30
  • 2021-06-30
  • 2022-01-04
相关资源
相似解决方案