Error in running code in CLion despite installing MinGW and Toolchains identifying all components

I recently installed CLion for running C++ codes.But even after installing MinGW and toolchains identifying all components I am getting error messages.

 

Here is a screenshot that toolchains is identifying everything-

And here is the screenshot of the errors I am gettiing-

Specifically this is the complete error message-

"C:\Program Files\JetBrains\CLion 2017.1.2\bin\cmake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\Lenovo\CLionProjects\untitled
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW 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!

[Previous CMake output restored: 02-Jun-17 11:18 PM]



Now what should I do?How to get rid of this error message?
0

Do you have make installed?

0

Hi!

Are you still having the issue?

1
Avatar
Permanently deleted user

@anna filippova Hello!My problem was solved after I reinstalled Clion.Thanks!

0

请先登录再写评论。