我已经开始尝试在Xcode 4.3.2使用SDL于是我开始了对Mac OS X的Cocoa应用程序和连接我所有的框架:在OpenGL,SDL等,我没有SDL_Image,SDL_Mixer等(我需要这些? )当我尝试编译只是有SDLmain.h和SDLmain.m项目我得到这个错误:
Undefined symbols for architecture x86_64: "_SDL_main", referenced from: -[SDLMain applicationDidFinishLaunching:] in SDLMain.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)