Netbeans外部控制台错误 [英] Netbeans External Console error

查看:96
本文介绍了Netbeans外部控制台错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用netbeans(在Windows 10中)在c ++中编译一个简单的hello world程序,但是出现以下错误:

I'm trying to compile a simple hello world program in c++ using netbeans(in windows 10), however I'm getting the following error:

sh:/cygdrive/c/Users/myuser~1/AppData/local/Temp/dlight_-2128187438/8c9e2533/dlight589740534745071111termexec.sh:没有这样的文件或目录

sh:/cygdrive/c/Users/myuser~1/AppData/local/Temp/dlight_-2128187438/8c9e2533/dlight5897405347450711582termexec.sh: No such file or directory

按[Enter]关闭终端...

Press [Enter] to close terminal ...

如果使用inetrnal终端,我实际上可以运行该程序,但是当我切换到外部终端时,会收到此错误.我不知道它是cygwin问题还是配置问题.预先感谢您的帮助.

If I use the inetrnal terminal I can actually run the program but when I change to external I recieve this error. I don't know if its a cygwin problem or a configuration problem. Thanks in advance for any help.

推荐答案

很老的问题...以防万一它仍然处于活动状态:

Quite an old question... just in case it is still active:

对我来说,它可以将外部终端类型(项目属性→运行)从默认切换为命令窗口.

For me, it worked to switch the External Terminal Type (Project Properties → Run) from Default to Command Window.

这篇关于Netbeans外部控制台错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆