NetBeans 7.0.1良好的C++程序执行"RUN FAILED"

Dra*_*ord 2 c++ netbeans netbeans-7

在NetBeans 7.0.1中工作,在Ubuntu 13.10上进行全新安装.

我有一个很好的C++程序.

我终于得到它编译和链接.

当我按下Netbeans Run Main Project三角形时,执行会中断

java.util.MissingResourceException:bin/nativeexecution/Linux-x86/pty

运行失败

发生了什么,以及如何解决?

Dra*_*ord 7

这是NetBeans输出窗口设置问题.

NetBeans提出了C++项目默认为"内部终端".这不适用于您当前的配置.

答案是将输出切换到"外部终端",在其自己的窗口中为您的交互弹出一个单独的紫色终端键入控制台,或"标准输出",它在下面的预期白色子窗格中显示输出.

这样做:

Right-mouse-click on your project name -> Properties
on the left side, in the "Categories:" column, select * Run
on the right side, beside the >General -> Console Type:,   
  change the pulldown menu from "Internal Menu" into "Standard Output".
Hit the OK button at the bottom to lock it in.
Run Code Online (Sandbox Code Playgroud)

现在,您的项目将在您要求之后永远运行.