'CLion can find the MinGW64, but it takes no effect. I still can't run C/C++ programs

After I download the CLion, I configure MinGW-64 also.

I've tried almost everything online, and they're surprisingly consistent, but they still don't solve my problem.

enter image description here

enter image description here

enter image description here

enter image description here

I know it's just a simple configuration issue, but I spent the whole day and still couldn't solve it.

Can someone help me? I'd appreciate it.



Solution 1:[1]

In order to compile the c/c++ file, none of Cygwin and MinGW can be ignore!

Thanks for the brother's (@long.kl) suggest!

just do as follows pictures, your c/c++ compile can work too.

Note that the order

enter image description here

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Wu-Yikun