При использовании функций из ncurses.h выдает ошибку
ndefined symbols for architecture x86_64: "_cbreak", referenced from: _main in main.o "_initscr", referenced from: _main in main.o "_noecho", referenced from: _main in main.o "_printw", referenced from: _main in main.o "_stdscr", referenced from: _main in main.o "_wgetch", referenced from: _main in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ответы (1 шт):
Автор решения: Sergey
→ Ссылка
В Makefile (или командной строке) добавьте ключ -lncurses после main.c