Bright Leopold

i come from the other world,i will go back after the love,the regret,the alive and the dead are over

导航

CodeBlocks安装及配置注意事项

在使用codeblocks的时候,网上一般只会提供CodeBlocks的项目文件,并不包括编译器和调试器,要使用CodeBlocks的完整功能需要在官网下载完整版.

如图可下载mingw版本.

进入CodeBlocks之后可能需要配置编译器和调试器,如果使用C语言编译器可以按照如下配置编译器

进入Settings->Compiler->Global compiler settings->Toolchain executables

 

然后可以配置调试器,不然不能调试程序,需要注意的地方有三点:

1.项目名称和路径不能是中文.

2.Debug状态下

3.修改调试器配置.如图:

Setting->Debugger->Default 

Executable path选择MinGW里面的gdb.exe与下面的Debugger Type对应

 

posted on 2016-12-01 11:06  Bright Leopold  阅读(7327)  评论(0编辑  收藏  举报