Re: [问题] CodeBlock Debug mode

楼主: ghkckhg (名字背過又忘記)   2014-07-16 02:04:48
※ 引述《ghkckhg (名字背过又忘记)》之铭言:
: 开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
: Code::Block (win7)
: 问题(Question):
: Debug mode 中断点不停。
: 检查了一下,发现在 Build 时就有问题:
: ||=== Build: Debug in Peter (compiler: GNU GCC Compiler) ===|
: ld.exe||cannot open output file bin\Debug\Peter.exe Permission denied|
: ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
: 路径看过了没有中文:
: http://ppt.cc/N6Qx
: 请问是否有板友遇过相同问题呢?
: 谢谢~
: 补充:
: Build Release就没有问题...
感谢LPH66大大,
的确和档案没关闭有关,
重开机后可以Build但还又出现另外一个警告:
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))
我的电脑没有装VC++系列,似乎只能使用GDB了,
上网载了gdb-7.7.tar ( http://ftp.gnu.org/gnu/gdb/ ),
解压缩后找不到gdb.exe。
内容物看起来似乎是 source 要自己 Build,
不过目前找不到门路...
呃...想请问一下接着我能干嘛?
谢谢~
作者: Killercat (杀人猫™)   2014-07-16 02:41:00
vc有express. 我讨厌ms 但这东西还算begginer friendly初学者实在没什么必要用code::blocks搞自虐现在有全部整合成Visual Studio Express 2013 用用看吧
作者: steve1012 (steve)   2014-07-16 09:07:00
推visual studio 不然就在linux下做事
作者: diabloevagto (wi)   2014-07-16 09:17:00
安装tdm-gcc
作者: saxontai (黑暗,点缀孤零零的星)   2014-07-16 10:13:00
如果是装了Code::Blocks+MinGW+TDM-GCC的版本,应该已经有GDB

Links booklink

Contact Us: admin [ a t ] ucptt.com