※ 引述《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,
不過目前找不到門路...
呃...想請問一下接著我能幹嘛?
謝謝~