4
我已經開始嘗試在Xcode 4.3.2使用SDL於是我開始了對Mac OS X的Cocoa應用程序和連接我所有的框架:在OpenGL,SDL等我不「T有SDL_Image,SDL_Mixer等(我需要這些?)當我嘗試編譯只是有SDLmain.h和SDLmain.m項目我得到這個錯誤:SDL XCode中4.3.2 SDLMain.o未定義的符號
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)