I'm struggling to run a program with CLion on Windows 10. It was working fine a couple weeks ago and the only thing I could think of that might have broken things is installing git.
As you can see from the below picture, the run button is greyed out and the run configuration says "Nothing to run on", which I'm guessing refers to the target.
I tried going through the steps outlined in the accepted answer of this question: How do I set up CLion to compile and run?
C:\MinGW
C:\MinGW
and C:\MinGW\bin
to the pathIf I run this program through 'Run->Run...' and select the 'Wahum' run configuration, I get the following output in my Event Log:
Error running 'Wahum': Cannot run 'Wahum' on '<default>'
I have CLion 2020.2.1 and there is no import project option in the file menu.
my working solution:
File > Invalidate caches and restart
What worked for me is selecting the top CMakeList.txt
file, right-clicking on it and selecting Load CMake Project
from the context menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With