Error: Process finished with exit code 126/Confusion in CLion

Answered

Hello, I am a new CLion user and coding for a class in my ECE program.

We are required to clone a repository from github, and I have done so. I cloned it to the default location on my machine, and after many errors later, got the repository able to push/pull and such.

We use somthing called ecegrid to compile things, so I set that up (via ssh) and use it as my compiler. When I try to run my files, I get the following error:

/tmp/tmp.7YUcUO4FxP/Makefile
env: /tmp/tmp.7YUcUO4FxP/Makefile: Permission denied

Process finished with exit code 126

 

Here is my make file setup:

I am so confused what is happening, and no solutions online have worked. Also, I am not sure how to use the command line in clion as when I click terminal and type things that some solutions have the commands are unrecognized.

 

Thank you.

0
1 comment

Hello!

It seems you selected Makefile as an executable, that's incorrect. You need to build the project first, and then select the resulting executable in the "Executable" field. In the remote case, make sure to specify a remote executable.

0

Please sign in to leave a comment.