linux报错,Build fails: stdint.h: No such file or directory 

    技术2022-08-11  79

    错误由/usr/lib/gcc/x86_64-linux-gnu/*/include/stdint.h文件中#include_next<stdint.h>这一行报错引起。

    有人通过安装avr-libc解决,但是我做的时候不行。

    解决方法:通过执行sudo apt-get install libc6-dev 安装libc6-dev解决。

    参考:https://github.com/castwide/solargraph/issues/195

     

    Processed: 0.014, SQL: 9