在 NetBeans 7.0.1 中工作,在 Ubuntu 13.10 上全新安装。
我有一个众所周知的优秀 C++ 程序。
我终于让它编译和链接了。
当我按下 Netbeans Run Main Project 三角形时,执行中断
java.util.MissingResourceException: bin/nativeexecution/Linux-x86/pty
RUN FAILED
这是怎么回事,如何解决?
最佳答案
这是一个 NetBeans 输出窗口设置问题。
NetBeans 提供默认为“内部终端”的 C++ 项目。这不适用于您当前的配置。
答案是将您的输出切换到“外部终端”,它会在其自己的窗口中弹出一个单独的紫色终端输入控制台供您交互,或者切换到“标准输出”,它将输出显示在下面预期的白色子 Pane 中。
通过以下方式做到这一点:
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.
现在您的项目将在您要求时永远运行。
关于c++ - NetBeans 7.0.1 良好的 C++ 程序执行 "RUN FAILED",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21950990/