CLion 入门

1. 配置编译环境 

Toolchains are not configured Configure 

 

-- Configuring done
CMake Error at CMakeLists.txt:6 (add_executable):
  Cannot find source file:
    SortTestHelper.h
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx
CMake Error at CMakeLists.txt:6 (add_executable):
  No SOURCES given to target: CDemo
CMake Generate step failed.  Build files cannot be regenerated correctly.
[Previous CMake output restored: 2019/10/27 16:10]

 


MinGW安装教程 

2.1 下载 mingw-w64-install.exe

不要使用 mingw-get-setup.exe ,这个安装的是32位的

下载地址:https://sourceforge.net/projects/mingw-w64/

 

2.2 安装

Architecture是区分64位和32位的,如果你的电脑是64位的,请选择x86_64,如果电脑是32位的,请选择i686

 其他选项不做改动

 下面对几个选项给出说明

  • Version制定版本号,从4.9.1-8.1.0,按需选择,没有特殊要求就用最新版吧;
  • Architecture跟操作系统有关,64位系统选择x86_64,32位系统选择i686;
  • Threads设置线程标准可选posix或win32;
  • Exception设置异常处理系统,x86_64可选为seh和sjlj,i686为dwarf和sjlj;
  • Build revision构建版本号,选择最大即可。

Next Cancel 都可以

 

 

 

 


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值