工程运行不起来,报出这样的错误,是GCC版本问题导致的吗?

||=== Build: Debug in lvgl_100ask_course (compiler: GNU GCC Compiler) ===|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||=== Build failed: 11 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
||unrecognized command line option ‘-std=c17’; did you mean ‘-std=c11’?|
||=== Build failed: 12 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

你的编译器应该不支持 c17,在这里面修改看看:

好的,已解决。谢谢。

怎么解决呀进入Compiler

我gcc更新到8.0.1还是没有17