Win7 Installation clion Environment

Source: Internet
Author: User

Objective

Recently due to work needs, need to install clion environment in win, the process is quite tortuous, here to record it

Installing the Cygwin environment

Go to official website https://cygwin.com/install.html
Download the Setup-x86_64.exe, and after the download is complete, install it.
When installing, choose to set it according to your own needs.
Choose a download site settings when selecting a download source, of course, you can also add other mirror stations, such as NetEase: Then will choose to install the module, here we need to install cmake,gcc-core,gcc-g++,make,gdb,binutils, here must choose good, otherwise the following configuration environment will be problematic.
When selecting a module, modify the view to full, otherwise it will not be displayed. When you encounter the module you want to select, click Skip to switch it to the corresponding version number.
Here are the modules I chose:
CMake

gcc-core,gcc-g++:

Make

Gdb:

Binutils

After selecting all, click Next to install.
After the installation is complete, configure the environment variables:
Computer-Properties-Advanced system Settings-advanced-environment variable-path
Add the bin directory for Cygwin in path: C:\cygwin64\bin

So the Cygwin is ready to be installed.

Install and activate Clion

Download the installation package http://www.jetbrains.com/clion/download/#section =windows to download the latest.
Activation method, I refer to the link https://www.52pojie.cn/thread-697641-1-1.html, by modifying the hosts, blocking the activation URL, apply the activation code.

So the installation is complete.

Clion Configuring the Cygwin environment

Go to the Clion page and go to the Settings page: File-settings-build,execution,deployment-toolchains
If there is no problem before the environment configuration, there will be no error, the following is the correct configuration

If there is an error, then according to the actual situation, re-execute the Setup-x86_64.exe module configuration.
Then you can use the clion normally.

Last Words

Because I have been in Linux under the use of Vim for code development, which is also the first installation of the IDE, really toss a half-day, the main Cygwin module is not configured Well, ah, you can happily play the ^_^

Reference article:

Clion installation Configuration
Cygwin make:command not found,make command not found

Win7 Installation clion Environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.