下载地址
http://www.codeblocks.org/downloads/26
下载 codeblocks-17.12mingw-setup.exe (这个版本包含MinGW编译器套件)
设置编译器
Settings -> Compiler -> Toolchain executables -> Auto-detect。
(对当前project有效)
include path: project -> bulid options -> Search directories -> Compiler -> Add
libray path: project -> bulid options -> Linker setting -> Add
(对所有project有效)
Settings -> compiler -> Search directories -> compiler
Settings -> compiler -> Search directories -> Linker setting