Compilation error: “stddef.h: No such file or directory”

后端 未结 6 1042
醉梦人生
醉梦人生 2020-11-28 10:11

Whenever I try to compile this code it always ends up with this error:

    In file included from /usr/include/wchar.h:6:0,
             from /usr/lib/gcc/i68         


        
6条回答
  •  失恋的感觉
    2020-11-28 10:54

    If you try to compile and see a message like, "fatal error: stddef.h: No such file or directory", the error is because your gcc-core and gcc-g++ packages are not of the same version. Rerun the Cygwin install and make sure that you select the highest numbered versions of gcc-core and gcc-g++.

提交回复
热议问题