Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Error opening terminal: unknown.
Error opening terminal: unknown. [message #670842] Sun, 15 May 2011 20:21 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: May 2011
Junior Member
I use Eclipse Helio Linux CDT under Ubuntu 11.04

My simple code:

#include <unistd.h>
#include <stdlib.h>
#include <curses.h>

void main() {
initscr();
move(5, 15);
printw("%s", "Hello World");
refresh();
sleep(2);
endwin();
}

If under terminal, input gcc program.c -o program -lcurses, to build, it works perfectly.

I can build successfully after i specify -lcures in Eclipse setting gcc-linker

but doesn't show any window when i run it.

Error opening terminal: unknown.

Please instruct me how to solve this problem , thanks

[Updated on: Sun, 15 May 2011 20:39]

Report message to a moderator

Re: Error opening terminal: unknown. [message #1385404 is a reply to message #670842] Fri, 06 June 2014 08:44 Go to previous message
Francisco Andriano is currently offline Francisco AndrianoFriend
Messages: 1
Registered: June 2014
Junior Member
I have the same problem help us please
Previous Topic:Eclipse 4.3.2 Modeling Version eventually will not start on Mac in Mavericks
Next Topic:Pro*C++ Failed Open in Editor
Goto Forum:
  


Current Time: Thu Apr 25 04:11:21 GMT 2024

Powered by FUDForum. Page generated in 0.08556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top