Clion "Bundled Cmake does not work in this enviroment" ubuntu 14.04

6,889

to set the compiler used:

click the menu item 'project'

click the resulting pull down menu items 'properties'

in the resulting properties window

left column click c/c++ Build

in the resulting list click settings

in the third column enter the command for the desired compiler

in the second column click the desired compiler

in the resulting list click each entry and set the desired values

similar steps need to be performed for the desired linker

Share:
6,889

Related videos on Youtube

Claudiu Nicola
Author by

Claudiu Nicola

Updated on September 18, 2022

Comments

  • Claudiu Nicola
    Claudiu Nicola over 1 year

    I used Eclipse CDT for college lectures, but today I found the solution for C/C++ by JetBrains.

    But I can't compile because I don't know how to set the compiler.

    enter image description here

    • Dimitri Podborski
      Dimitri Podborski about 8 years
      from your screenshot I see that you are using cmake. Did you install it? If not run sudo apt-get install cmake Also make sure that you have g++ on your system and gdb. sudo apt-get install build-essential gdb cmake
    • Claudiu Nicola
      Claudiu Nicola about 8 years
      yes, I installed both (cmake and gdb cmake) :)
    • Dimitri Podborski
      Dimitri Podborski about 8 years
      Okay, I didn't use clion but take a look on this site