c++ - QtCreator and ncurses -
i have little programme c++ , ncurses in qtcreator:
#include <ncurses.h> int main() { initscr();// inicializa pantalla printw("hello world!"); refresh(); getch(); endwin(); }
but when opened xterm, says: error opening terminal:unknown
it occured in eclipse...
i've installed ncurses library correctly.
i run code console right.
on projects tab, targets, desktop, run, run environment. term variable. if no found, add together , on value of it, write xterm
c++ qt-creator ncurses
No comments:
Post a Comment