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

后端 未结 6 1039
醉梦人生
醉梦人生 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:59

    In order to update it, follow below. If you are on Windows, just run these on command prompt or powershell

    Update the package list: mingw-get update

    After updating the package list, run: mingw-get upgrade

    Source: How to update GCC in MinGW on Windows?

提交回复
热议问题