zoukankan      html  css  js  c++  java
  • mac 安装 报错 "/usr/local/include/stdint.h:2:10: error: #include nested too deeply"

    报错详细信息

    构建错误 - “#include嵌套太深”

        /usr/local/include/stdint.h:2:10: error: #include nested too deeply

        #include <stddef.h>

                 ^

        /usr/local/include/stdint.h:59:11: error: #include nested too deeply

        # include <stdint.h>

                  ^

        /usr/local/include/stdint.h:72:11: error: #include nested too deeply

        # include <sys/types.h>

                  ^

        /usr/local/include/stdint.h:76:10: error: #include nested too deeply

        #include <limits.h>

                 ^

        /usr/local/include/stdint.h:82:11: error: #include nested too deeply

        # include <inttypes.h>

                  ^

    解决:

     brew unlink libunistring

     brew uninstall libunistring

     sudo rm /usr/local/include/stdint.h

     brew install libunistring

    注意:

      这是python3在安装gevent时,报的错,还有安装找不到gevent版本, 切换成清华源就好了,如下

    pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent==1.2.2

  • 相关阅读:
    算法笔记--中国剩余定理
    算法笔记--辛普森积分公式
    算法笔记--数学之不定方程解的个数
    算法笔记--卢卡斯定理
    洛谷 P3808 【模板】AC自动机(简单版)洛谷 P3796 【模板】AC自动机(加强版)
    hihocoder #1419 : 后缀数组四·重复旋律4
    codevs 3044 矩形面积求并 || hdu 1542
    Stamps ans Envelope Sive UVA
    洛谷 P2061 [USACO07OPEN]城市的地平线City Horizon
    bzoj 3277: 串
  • 原文地址:https://www.cnblogs.com/mswei/p/10881542.html
Copyright © 2011-2022 走看看