zoukankan      html  css  js  c++  java
  • make报错

    笔记本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

    显示错误:
    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

  • 相关阅读:
    Unable to load dbxmss.dll (ErrorCode 16). It may be missing from the system Path
    同一网内机器无法连通解决一例
    Day.24
    Day.24
    Day.23
    Day.22
    Day.23
    Day.21
    Day.22
    Day.01-Day.20
  • 原文地址:https://www.cnblogs.com/lzping/p/8439209.html
Copyright © 2011-2022 走看看