19.08.2011 | 15:58
Može netko pokušati kompajlirati primjer s ovog linka:
jakub.fedyczak.net/post/19/ ?
Kad pokušam kompajlirati sa standardnom 32-bitnom schemom (Xcode 4) puca mi kod linkanja i kaže:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_IOBluetoothDeviceInquiry", referenced from:
objc-class-ref 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)
Kad switcham na 32-bitnu schemu, kaže:
Undefined symbols for architecture i386:
".objc_class_name_IOBluetoothDeviceInquiry", referenced from:
pointer-to-literal-objc-class-name in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Pokušao sam kompajlirati i sa Xcode 3, slična situacija (ne sjećam se točnih grešaka, ali svodi se na isto). :/ Našao sam na webu neke druge primjere koji koriste iste libove, ali priča se ponavlja pa pretpostavljam da nešto krivo radim.