Installation and configuration environment in Clion linux (deepin)

After recently installed linux system whim, I had intended to use Codeblocks (usually more used to play ACM), but has been reported to compile time

"Seems that the this Project has not yet been Built.
The Do you want to Build IT now?" Is very hard for me to find a lot of blog Baidu is not effective, then decisively abandoned pits to switch to Clion, fortunately before Windows in use Clion to install more familiar.

Note that the other is to configure gcc Deepin environment.

Roughly summarize:

1, Clion official Download: https://www.jetbrains.com/clion/download/#section=linux

2, downloaded directly extracting installer

Open the folder where the file clion.sh files found

Of course, you can also use the terminal

-zxvf CLion- tar 2019.2 .tar.gz      // extract the installation files
clion- cd 2019.2 / bin / 
 . /clion.sh                         // Run

After running through the back of this page allows you to choose the path heads, this time about the need to install gcc environment

 

Enter the following open terminal

sudo apt-get install build-essential 
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev libisl-dev
sudo apt-get install cmake
sudo apt-get install lsb-core

如果在安装的时候绕过了这一步,可以在File ---> Setting ---> Build ---> Toolchains 里找到设置进行更改,保存完之后就可以成功运行编写的程序了。

Guess you like

Origin www.cnblogs.com/Suiyue-Li/p/11374656.html