FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Trouble running C++ code on Netbeans

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
AndyCW



Joined: 04 Jul 2011
Posts: 3

PostPosted: Sat Oct 08, 2011 10:54 pm    Post subject: Trouble running C++ code on Netbeans Reply with quote

Hi all,

After years of coding in Java and Python, I am moving onto C++ with Netbeans. Unfortunately, I cannot run my code because something in the program always crashes when I try to run the C++ project (which compiles, btw). Specifically, I get a pop-up that says "pty has stopped working".

I don't think it is my code's fault, because it is a simple Hello World.

Help will be appreciated.
Back to top
View user's profile Send private message
AndyCW



Joined: 04 Jul 2011
Posts: 3

PostPosted: Sat Oct 08, 2011 11:01 pm    Post subject: Reply with quote

Some details:

Windows OS: Vista
Netbeans version: 7.0


Also, I get "Unable to start pty process:" in standard error.
Back to top
View user's profile Send private message
Leonid Lenyashin
Posted via mailing list.





PostPosted: Mon Oct 10, 2011 11:15 am    Post subject: Trouble running C++ code on Netbeans Reply with quote

As a workaround for you I can suggest to go to project
properties->Run->Console Type and set it to anything, but Internal
Terminal (this is likely what you have set at the moment). Once it is
done, then pty is not involved anymore. There is still a question why it
does not work in your system. Meanwhile it will likely unblock your way.

On 10/09/2011 02:54 AM, AndyCW wrote:
Quote:
Hi all,

After years of coding in Java and Python, I am moving onto C++ with Netbeans. Unfortunately, I cannot run my code because something in the program always crashes when I try to run the C++ project (which compiles, btw). Specifically, I get a pop-up that says "pty has stopped working".

I don't think it is my code's fault, because it is a simple Hello World.

Help will be appreciated.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB