-1

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 Answers1

0

В Makefile (или командной строке) добавьте ключ -lncurses после main.c

Sergey
  • 13,474