0、wingw下载:https://osdn.net/projects/mingw/releases/
1、
电脑-》属性->高级系统设置-》环境变量-》用户变量。
2添加路径,注意版本号码
变量 | 属性 |
---|---|
Path | C:\MinGW\bin |
C_INCLUDEDE_PATH | C:\MinGW\include |
LIBRARY_PATH | C:\MinGW\lib |
CPLUS_INCLUDE_PATH | C:\MinGW\include |
CPLUS_INCLUDE_PATH | C:\MinGW\include\c++\6.3.0 |
CPLUS_INCLUDE_PATH | C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++\backward |
CPLUS_INCLUDE_PATH | C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++\mingw32 |
网友评论