On 10/03/06, Richard Drummond <evilrich@xxxxxxxxxxxxxx> wrote: > If you're building on OS X, you need the SDL framework and you should > configure with something like: > > ./configure --with-sdl-gfx --with-sdl-sound --enable-cocoa-gui Using this on OS X results in the following build error: Making all in od-macosx if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -I../../src -I../../src -I../.. -I/usr/include -I/Library/Frameworks/SDL.framework/Headers -D_REENTRANT -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY -I/Library/Frameworks/SDL.framework/Headers -D_REENTRANT -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.m' || echo './'`main.m; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi main.m:27:17: error: main.h: No such file or directory main.m:38: error: parse error before 'UInt32' main.m:38: warning: no semicolon at end of struct or union main.m:39: warning: data definition has no type or storage class main.m:40: warning: data definition has no type or storage class main.m:42: error: parse error before 'CPSGetCurrentProcess' main.m:42: error: parse error before '*' token main.m:42: warning: data definition has no type or storage class main.m:43: error: parse error before 'CPSEnableForegroundOperation' main.m:43: error: parse error before '*' token main.m:43: warning: data definition has no type or storage class main.m:44: error: parse error before 'CPSSetFrontProcess' main.m:44: error: parse error before '*' token main.m:44: warning: data definition has no type or storage class main.m:50: error: parse error before 'gFinderLaunch' main.m:50: warning: data definition has no type or storage class main.m:52: error: parse error before '*' token main.m: In function 'getApplicationName': main.m:54: error: 'NSDictionary' undeclared (first use in this function) main.m:54: error: (Each undeclared identifier is reported only once main.m:54: error: for each function it appears in.) main.m:54: error: 'dict' undeclared (first use in this function) main.m:55: error: 'NSString' undeclared (first use in this function) main.m:55: error: 'appName' undeclared (first use in this function) main.m:58: error: parse error before ')' token main.m:60: error: cannot find interface declaration for 'NSConstantString' main.m:63: error: 'NSProcessInfo' undeclared (first use in this function) main.m: At top level: main.m:71: error: cannot find interface declaration for 'NSApplication' make[3]: *** [main.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 Cheers Adam