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