Wrong make path in use

Hi,

Clion finds wrong make file path to use in. Instead of using make file at cygwin64, it uses a gmake file in Matlab and this creates a problem. I put cygwin path in enviranment variables to the beginning but this didn't solve the problem. I have to delete gmake.exe from Matlab in order to force it find the correct make file. Is there a solution for this?

Thanks,
Murat

Settings.png

4 comments
Comment actions Permalink

Hi Murat.

Probably, the problem arises because there is the path to gmake.exe somewhere in in the PATH.

Please try to set the following command in the Settings | Build, Execution, Deployment | CMake | Generation - CMake options field:

0
Comment actions Permalink

Hi Anna,

Thank you for your answer, your solution works although it still shows wrong make file in toolchains.

Murat

0
Comment actions Permalink

Murat, could you please attach a screenshot with toolchains?

0
Comment actions Permalink

Anna,

It is same as in my original post. Nothing changed in toolchains but with your recommandation now I am able to compile.

Murat

0

Please sign in to leave a comment.