Clean Project Fails on Load Makefile Project

Using CLion 2021.3.3 when I open an existing makefile project, the Load Project dialog opens prompting me to clean the project.

Clicking OK results in an error.

However, once the project is loaded, I can go to Project >> Clean, and the makefile clean runs succesfully.

Any ideas on how to fix this, so that clean works on project launch?

0
1 comment

I think I found the problem.  In CLion Preferences >> Build, Executable, Deployment >> Toolchains, I had the Make field set to use an environment variable: `${MAKE_PATH}`.  This works fine when using the Build >> Clean menu option.  However, I'd get the error when clean was run on project load.

The problem went away when I replaced the environment variable with the absolute make path name.

This seems to be a bug.  Where can I report it?

0

Please sign in to leave a comment.