win10 installation clion + cygwin64 environment

Install cygwin environment

Quguan network https://cygwin.com/install.html
download Setup-x86_64.exe , after the download is complete, install it. Select Install from Internet installation


Select a download source is disposed choose a download site. I chose http://mirror-hk.koddos.net

 

Then you must select the module to be installed, and where we need to install cmake, gcc-core, gcc-g ++, make, gdb, binutils, there must be a good choice, otherwise the environmental problems will arise the following configuration.

When you select the module, the view changed to full, or will display incomplete. Encountered modules need to choose, click the skip, it switches to the corresponding version number.
The following are the modules I chose:
cmake

 


gcc-core,gcc-g++:

 

 



the make:

gdb:

binutils:

After all selected, click Next to install.
After installation is complete, configure the environment variables:
Computer - Properties - Advanced System Settings - Advanced - Environment Variables -Path
add cygwin bin directory in your path: C: \ cygwin64 \ bin

So I installed the cygwin

Installation clion

To the official website to download the installation package http://www.jetbrains.com/clion/download/#section=windows , you can download the latest.
Installation is complete

clion configure cygwin environment

进入到clion页面中,进入设置页面:File-settings-Build,Execution,Deployment-Toolchains

如果有报错的话,再根据实际情况,重新执行setup-x86_64.exe 进行模块的配置。
那这样就可以正常使用clion了。

最后的话

主要是cygwin的模块要配置好。

参考文章:

clion安装配置
cygwin make:command not found,make命令 找不到

 
 
 

去官网https://cygwin.com/install.html
下载setup-x86_64.exe,下载完成后,进行安装。选择Install from Internet进行安装


choose a download site设置时选择一个下载源。我选择的是http://mirror-hk.koddos.net

 

然后就要选择要安装的模块了,这里我们需要安装cmake,gcc-core,gcc-g++,make,gdb,binutils,这里一定要选择好,不然下面配置环境会出现问题。

选择模块时,将view修改为full,不然会显示不全。遇到需要选择的模块,点击skip,将其切换为对应版本号。
以下是我选择的模块:
cmake

 


gcc-core,gcc-g++:

 

 



make:

gdb:

binutils:

全部选择好之后,点击下一步,进行安装。
安装完成后,配置环境变量:
计算机-属性-高级系统设置-高级-环境变量-Path
在path中添加cygwin的bin目录:C:\cygwin64\bin

这样cygwin就安装好了

安装clion

到官网下载安装包http://www.jetbrains.com/clion/download/#section=windows,下载最新的即可。
就安装完成了

clion配置cygwin环境

进入到clion页面中,进入设置页面:File-settings-Build,Execution,Deployment-Toolchains

如果有报错的话,再根据实际情况,重新执行setup-x86_64.exe 进行模块的配置。
那这样就可以正常使用clion了。

最后的话

主要是cygwin的模块要配置好。

参考文章:

clion安装配置
cygwin make:command not found,make命令 找不到

Guess you like

Origin www.cnblogs.com/abc8023/p/12340245.html