You need to add -lncurses so that the compiler knows to link against ncurses.. Code: Select all gcc -o test -lncurses test.c. or use a Makefile.
確定! 回上一頁