Posts

Post not yet marked as solved
3 Replies
480 Views
Hi, I'm getting a linker error: /usr/bin/c++ -o app -g -O0 -Wall -Wpointer-arith -L/opt/local/lib osx.o -lpthread Undefined symbols for architecture x86_64: "_CFRunLoopAddSource", referenced from: osx.o "_CFRunLoopGetCurrent", referenced from: osx.o "_CFRunLoopRemoveSource", referenced from: osx.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [madchat] Error 1 I can't find where in the documentation the name of the library I must include in the linker command. Is there a reference somewhere that details WHICH .lib or .a file a function comes from? Thank you
Posted Last updated
.