最終更新:2012-12-29 (土) 19:16:50 (4108d)
SDL/Mac OS X
ダウンロード
http://www.libsdl.org/download-1.2.php
インストール
- runtime
- SDL.framework を /Library/Frameworks にコピー
- development
エントリポイント
To compile an SDL based application on OS X, SDLMain.m must be compiled into your program.
- 1. You must include either SDLMain.m/.h or libSDLmain in your application, because this is the code that defines SDL's entry point. (中略)
- 2. You must give your main() procedure the following prototype:
int main(int argc, char*argv[]);
http://d.hatena.ne.jp/hiratara/20080719/1216481600