ncurses in build.py
This commit is contained in:
parent
7a6e193b6a
commit
f76616d06e
@ -30,6 +30,7 @@ class CCompiler(object):
|
|||||||
'<ft2build.h>': ('freetype2', '-lfreetype', []),
|
'<ft2build.h>': ('freetype2', '-lfreetype', []),
|
||||||
'<pixman.h>': ('pixman-1', '-lpixman-1', []),
|
'<pixman.h>': ('pixman-1', '-lpixman-1', []),
|
||||||
'<GL/osmesa.h>': (None, '-lOSMesa', []),
|
'<GL/osmesa.h>': (None, '-lOSMesa', []),
|
||||||
|
'<ncurses.h>': ('ncurses', '-lncurses', []),
|
||||||
'<mpeg2.h>': ('mpeg2dec', '-lmpeg2', []),
|
'<mpeg2.h>': ('mpeg2dec', '-lmpeg2', []),
|
||||||
'<mpeg2convert.h>': (None, '-lmpeg2convert', ['<mpeg2.h>']),
|
'<mpeg2convert.h>': (None, '-lmpeg2convert', ['<mpeg2.h>']),
|
||||||
'<zlib.h>': (None, '-lz', ['<math.h>']),
|
'<zlib.h>': (None, '-lz', ['<math.h>']),
|
||||||
|
11
userspace/extra/curses/curses-hello.c
Normal file
11
userspace/extra/curses/curses-hello.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include <ncurses.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
initscr();
|
||||||
|
printw("Hello World !!!");
|
||||||
|
refresh();
|
||||||
|
getch();
|
||||||
|
endwin();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user