1、下载mingw, 下载完成后,配置下载的包:

windows下配置CLion IDE_c++

2、在CLion中配置:

windows下配置CLion IDE_mingw_02