“Unresolved inclusion” error with Eclipse CDT for C standard library headers

前端 未结 14 2323
甜味超标
甜味超标 2020-11-28 04:18

I set up CDT for eclipse and wrote a simple hello world C program:

#include 

int main(void){
    puts(\"Hello, world.\");
    return 0;
}
         


        
14条回答
  •  日久生厌
    2020-11-28 04:58

    Do you check if it's compile from command line? For me helps on Linux, apt install libc-dev.

提交回复
热议问题