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

后端 未结 6 1046
醉梦人生
醉梦人生 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 11:01

    The error is because your gcc-core package and gcc-g++ are not of the same version. Either downgrade one of them to solve the problem or update both the libraries. Updating both the libraries is the recommended way.

提交回复
热议问题