我正在尝试在 Mac OS X 10.6.8 上编译基于 ncurses 的应用程序,但出现此错误。
Undefined symbols for architecture x86_64:
"_initscr", referenced from:
_main in ccf8K8YG.o
"_printw", referenced from:
_main in ccf8K8YG.o
"_stdscr", referenced from:
_main in ccf8K8YG.o
"_wrefresh", referenced from:
_main in ccf8K8YG.o
"_wgetch", referenced from:
_main in ccf8K8YG.o
"_endwin", referenced from:
_main in ccf8K8YG.o
可能是什么问题呢 ?