我已经下载了SDL库,我创建了一个Xcode项目,但是当我尝试构建xcode时返回此错误:
Undefined symbols for architecture i386:
"_SDL_CreateMutex", referenced from:
-[testViewController packet_queue_init:] in testViewController.o
"_SDL_CreateCond", referenced from:
-[testViewController packet_queue_init:] in testViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
我该如何解决?
感谢
答案 0 :(得分:0)
随机发生在我身上。假设您仍在使用项目,只需尝试切换以下设置的选项: