CLion configuration compiler (MinGW)

CLion is an extremely intelligent C ++ IDE, but the configuration that the compiler has been more trouble with you about how to configure ( to MinGW for example )

After entering the interface, we will see the following: 

 

 

Click on "the Configure" -> "Settings" -> "Build, Execution, ......" -> "toolchains" , enter the interface as below:

 

 

If no compiler, you can go MinGW official network above to download, not much explanation here

There compiler, it can be placed under the directory you want or do not move

I use Code :: Blocks is configured MinGW

Click on "+", the "Environment" adjusted "MinGW", as shown:

 

 Now we have to do is click on the red font where the button next to the edit box "..." , Add Directory

I will MinGW placed in the C: \ MinGW directory, add after successfully shown below:

 

 "Detecting" part of the pipe is not required , click on the "Apply" (the figure is configured as before, no change, not the point, really after the success can click on the "the Apply" )

After you create a project, you need to load CMake , this time we must see whether Finish , after the success of the entire load as shown below:

 

 

Guess you like

Origin www.cnblogs.com/tweechalice/p/11434411.html