The C compiler is not able to compile a simple test program. 关注
This bug suddenly appeared today, and I re-download Clion. However, I just created a project and this bug is still here.
I put Clion in D:\JetBrains\Clion, and here is the bug. (I don't change anything after created this project. )
Please send CMakeOutput.log and CMakeError.log files mentioned on the screenshot to clion-support at jetbrains.com.
Help | Collect Logs and Diagnostic Dataand send the resulted archive via email to clion-support at jetbrains.com. Note that logs might contain private user's information (like file paths and names).
Ok, I have sent the email. But I want to supplement that, this bug may be caused by ninja because I change CMake to use MinGW Makefile and it can work.
And also, with ninja, there will be some problems like this