Clion installation and configuration tutorial [C language programming for Windows]

Refer to http://www.sunmey.cn/thread-129-1-1.html 
1.Clion Introduction: 
Product Overview: 
CLion is a cross-platform IDE designed for developing C and C++. It is designed based on IntelliJ and includes many smart features to increase developer productivity. This powerful IDE helps developers develop C/C++ on Linux, OS X and Windows, while it also uses a smart editor to improve code quality, automatic code refactoring and deep integration with the CMake build system to improve developer work effectiveness. 
Main functions: 
CLion is a new cross-platform IDE designed by Jetbrains for developing C/C++. It is based on IntelliJ and also includes many intelligent functions to improve the productivity of developers. 
Key Features: 
Provides C and C++ support (including C++11, libc++ and Boost), as well as JavaScript, XML, HTML and CSS. 
Cross-platform: You can use it on 64-bit Linux, OS X and 64-bit Windows. 
GCC, clang, MinGW, Cygwin compilers and GDB debugger are supported. 
Provides support for CMake: including automatic handling of CMake changes and CMake targets, updating of newly created C/C++ archives and the CMake Cache editor. 
Provides a variety of coding assistance: including multi-line editing, smart completion, and one-click navigation. 
Safe and reliable automatic code refactoring. 
Code analysis capabilities: Monitor code quality and provide quick fixes so developers can address issues in place in a timely manner. 
Integrate GDB debugger and evaluate expressions (expressions) functions, STL container renderers (renderers), watch (watches), embedded variable view, etc. 
Integration with the most popular version control systems: Subversion, Git, GitHub, Mercurial, CVS, Perforce and TFS. 
Built-in terminal mode and can provide Vim-emulation mode through plug-in implementation. 
Smart Editor 
CLion's smart editor helps developers complete code faster, while maintaining the developer's code formatting and configuration coding style. Use this smart editor to quickly select blocks of code and reorder code. 
Code Generation and Refactoring 
In CLion, developers can use previously defined functions, variables, data members or a class, which will be highlighted in red in the IDE. At the same time, CLion also provides a set of reliable refactorings to help developers maintain the quality of the code. This code refactoring applies to the entire range of changes. 
Code Analysis 
CLion also provides dynamic code analysis that continuously monitors the code for potential errors. If it finds working code in the editor, then it suggests quick fixes to fix the problem. 
Support for CMake 
CLion provides support for CMake, including automatic handling of CMake changes and CMake targets updating for newly created C/C++ archives and the CMake Cache editor.

2. Software download:  Clion
official download: http://www.jetbrains.com/clion/?fromFooter 
MinGW environment plugin: http://sourceforge.NET/projects/mingw/files/ 
Click http://pan.baidu.com/s/1czoYPC
3. Installation test environment: Windows7 64bit 
software version number: 1.2.1 
4. Installation tutorial:

(1): Clion installation

(2): Run for the first time, start to select the activation method

Select "License server" to activate the server activation, fill in the activation server address " http://15.ieda.lanyus.com ", and click "OK" to continue. More JetBrains Products Multi-Activation Server [click here]

(3): Select the system theme

The following interface appears, keep it, and install the "MinGW" environment plug-in later

(4): Install "MinGW"

I default to C drive installation

After the installation is complete, enter the MinGW main interface and select the plugin to be installed.

Select plugin method: left click, select "Mark for Installation"

After selecting the plug-in, click "Installation", select "Apply changes", and start downloading and installing the corresponding plug-in.

After the plug-in downloaded by the system self-check is completed, click "Close" to close the window

Close the "MinGW" main window

(5): Clion configuration "MinGW" plug-in 
Find the Clion window reserved before, select the installation directory of "MinGW" (I installed it to the C drive directory "C:\MinGW")

continue

Start Clion automatically

Registration information appears

Note: According to the above method, the corresponding window of Clion needs to be retained. Of course, you can install the MinGW plug-in first, and then install Clion for configuration.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325732170&siteId=291194637