一、安装的配置
1.Clion安装(安装过程略过)
可以使JetBrains ToolBox管理工具进行安装下载:https://www.jetbrains.com/toolbox-app/

也可以直接下载手动安装:https://www.jetbrains.com/clion/
安装完成后进入设置页面.找到下面的选项

1.点击cygwin出现下面的环境

2.点击download下载需要的包
进入下面的界面选择,点击适合自己的版本进行下载

3.安装运行Cygwin并安装
按着下面的流程走就可以了





点击下一步后,自动从官网下载,等待后会显示超时的弹窗

点击确定后,进入选择镜像源页面,第一次进入时是空白的list
选择镜像源,也可以添加一个镜像源.
选择从互联网安装, 在"User URL"处输入以下地址
http://mirrors.163.com/cygwin/
点击"Add"按钮, 然后选中"http://mirrors.163.com", 点击"下一步"进行安装

二、关键配置选择
配置 gcc-core、gcc-g++、make、gdb、binutils、cmake,这些文件都是在devel文件下的

在search栏中进行搜索一下包
gdb

gcc-core

gcc-g++

make

binutils

Cmake

最后将安装的目录倒入cygwin就可以了
提示:
由于后面发生了修改界面,只要按照上面的名字进行搜索,找到对应的名字进行安装就可以了,由原来的的点击变成选择,选择一个稳定的版本就可以了。

三、结果展示
下载完成导入完成,在按照下面的选择,等待环境刷新完,点击"OK"后就可以啦

网友评论