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

已回答

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

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

请先登录再写评论。