求助!!!

5 views
Skip to first unread message

苏思河

unread,
Nov 1, 2011, 8:05:37 AM11/1/11
to cs101pku
我的电脑上安的code blocks不能运行程序,只有在下面显示nothing to be done ,重新安装也没有用,怎么解决~~

张缘

unread,
Nov 1, 2011, 9:08:06 AM11/1/11
to cs101pku
你确定你已经编译过代码了吗?只有编译成功后才能运行的

Hongfei Yan

unread,
Nov 1, 2011, 10:46:32 AM11/1/11
to cs10...@googlegroups.com
选择full installation了吗?

2011/11/1 张缘 <diana...@gmail.com>
你确定你已经编译过代码了吗?只有编译成功后才能运行的

On 11月1日, 下午8时05分, 苏思河 <susi...@126.com> wrote:
> 我的电脑上安的code blocks不能运行程序,只有在下面显示nothing to be done ,重新安装也没有用,怎么解决~~

--
您收到此邮件是因为您订阅了 Google 网上论坛的“cs101pku”论坛。
要向此网上论坛发帖,请发送电子邮件至 cs10...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 cs101pku+u...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/cs101pku?hl=zh-CN 访问此网上论坛。


苏思河

unread,
Nov 1, 2011, 1:51:19 PM11/1/11
to cs101pku
有啊,就连最简单的 hello world也不能运行

苏思河

unread,
Nov 1, 2011, 1:53:04 PM11/1/11
to cs101pku
重新安装时选了

On 11月1日, 下午10时46分, Hongfei Yan <yhf1...@gmail.com> wrote:
> 选择full installation了吗?
>
> 2011/11/1 张缘 <diana234...@gmail.com>

Hongfei Yan

unread,
Nov 1, 2011, 7:45:31 PM11/1/11
to cs10...@googlegroups.com
我没有碰到过。
带笔记本到助教答疑的时候,或者今天下午2:00~3:00到我办公室来调调。

2011/11/2 苏思河 <sus...@126.com>

liyua...@163.com

unread,
Nov 4, 2011, 3:07:29 AM11/4/11
to cs101pku
重置一下MinGW运行器目录,如果找目录的时候说没有说明MinGW运行器安装失败~~

On 11月1日, 下午8时05分, 苏思河 <susi...@126.com> wrote:

苏思河

unread,
Nov 7, 2011, 6:01:32 AM11/7/11
to cs101pku
我重新安装了一遍,还是不行。您上午打开的是什么?在哪里?早上的时候我安的是在E盘,不是安装在新建文件夹,但是它显示是在新建文件夹。现在我安在D
盘的program files,还是不可以。。

On 11月2日, 上午7时45分, Hongfei Yan <yhf1...@gmail.com> wrote:
> 我没有碰到过。
> 带笔记本到助教答疑的时候,或者今天下午2:00~3:00到我办公室来调调。
>

> 2011/11/2 苏思河 <susi...@126.com>

Hongfei Yan

unread,
Nov 7, 2011, 9:27:37 AM11/7/11
to cs10...@googlegroups.com
http://www.cprogramming.com/code_blocks/

Troubleshooting

The most common error people see if things don't work is a message like

"CB01 - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping..."

First, make sure that you downloaded the right version of Code::Blocks, the one that included MinGW. If that doesn't solve the problem, it is likely a problem with compiler auto-detection. Here's how you can check your current "auto-detected" state. Go to "Settings|Compiler and Debugger...". Then on the left, choose "Global Compiler Settings" (it has a gear icon) and on the right, select the "Toolchain executables" tab. This tab has a "Auto-detect" button that you can use. That might fix the problem--if it doesn't, you can manually fill out the form. Here's a screenshot demonstrating what things look like on my system. Change the path marked "Compiler's installation directory" if you installed to a different location, and make sure everything else is filled in as shown.



2011/11/7 苏思河 <sus...@126.com>

苏思河

unread,
Nov 8, 2011, 10:34:04 AM11/8/11
to cs101pku
好了,谢谢~~~

On 11月7日, 下午10时27分, Hongfei Yan <yhf1...@gmail.com> wrote:
> http://www.cprogramming.com/code_blocks/
>
> Troubleshooting
>
> The most common error people see if things don't work is a message like
> "CB01 - Debug" uses an invalid compiler. Probably the toolchain path within
> the compiler options is not setup correctly?! Skipping..."
>
> First, make sure that you downloaded the right version of Code::Blocks, the
> one that included MinGW. If that doesn't solve the problem, it is likely a
> problem with compiler auto-detection. Here's how you can check your current
> "auto-detected" state. Go to "Settings|Compiler and Debugger...". Then on
> the left, choose "Global Compiler Settings" (it has a gear icon) and on the
> right, select the "Toolchain executables" tab. This tab has a "Auto-detect"
> button that you can use. That might fix the problem--if it doesn't, you can
> manually fill out the form. Here's a screenshot demonstrating what things
> look like on my system. Change the path marked "Compiler's installation
> directory" if you installed to a different location, and make sure
> everything else is filled in as shown.
>

> 2011/11/7 苏思河 <susi...@126.com>

Reply all
Reply to author
Forward
0 new messages