CMake Error

This is my first time using CLion. I believe I have downloaded all the right Cygwin packages and they seem to be showing up in settings. However, every time I open toolchains in settings, it searches for the Make, C compiler and C++ directories. They are detected after a minute or so but will not ever allow me to apply the changes (at the bottom of the screen) which is what I believe is giving me these errors when I try to run:

CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Here is what it looks like ... 



Any help or advice on this issue would be greatly appreciated. Thanks!

 

0
4 comments

Hi, Chloe!

That's strange. Please open File | Settings | Build, Execution, Deployment | Toolchains, wait for the compilers to be detected, press "OK". What happens after that?

Also please download CLion 2018.2 EAP and try it. You can install it side-by-side with a stable version. Does the issue happen in the EAP build too?

0
Avatar
Permanently deleted user

I am having the same problem, and I can't figure it out.

 

0

@Mmoges3, please describe the problem you've faced in more detail. Do you mean that compilers are not detected on your side?

0
Avatar
Permanently deleted user

I got it fixed. I just needed to install some more stuff. I forgot what I installed, but I found the answer browsing the web.

0

Please sign in to leave a comment.