Post marked as solved
Click to stop watching this post.
You have stopped watching this post. Click to start watching again.
Post marked as solved with 3 replies
71
Views
Link Error
I'm running Xcode 12.4 on an M1 Mac Mini with command line tools installed. My project was created as a macOS "Command Line Tool" application. When I try to build:
#include term.h
int main(int argc, const char * argv[]) {
set_curterm(nullptr);
return 0;
}
I get the following linker error:
Undefined symbols for architecture arm64:
"_set_curterm", referenced from:
_main in main.o
Does anyone know what library I need to link to in order to resolve _set_curterm?