Clion CMake error

I have fresh installation of Linux (Ubuntu 17.04) and fresh installation of CLion (2017.1.3). From the first start I get an error stating:

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!

Whole problems occur with the default settings of CLion. The CMake is by default installed in the {clion}/bin/cmake/ and in the settings>>Build,Execution,Deployment>>Toolchains CMake 3.7.2 is depicted as found and yet make, C Compiler and C++ compilers are shown as not found.

 

0

Could you please send the result of the following command: 

make -v 

from the terminal?

0
Avatar
Permanently deleted user

I have same problem :

"

 have fresh installation of Linux (Ubuntu 17.04) and fresh installation of CLion (2017.1.3). From the first start I get an error stating:

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!

Whole problems occur with the default settings of CLion. The CMake is by default installed in the {clion}/bin/cmake/ and in the settings>>Build,Execution,Deployment>>Toolchains CMake 3.7.2 is depicted as found and yet make, C Compiler and C++ compilers are shown as not found.

"

 

 

 

 

And this is my output when i enter


make
-v

output:

GNU Make 4.1Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

 

could you please help me with this problem.

0

Hi @Uli979840!

>fresh installation of CLion (2017.1.3)

This is a very outdated version. Please remove it, download the latest CLion 2019.2.4 release (https://www.jetbrains.com/clion/download) and install it. Does the issue occur in it?

 

0

请先登录再写评论。