I downloaded lispbuilder-sdl from the google code page, and attempted to build cocoahelper. The result is the following set of error messages:
adam-higueras-macbook-pro:cocoahelper adamvh$ make gcc -c cocoahelper.m -o cocoahelper.o -fPIC `sdl-config --cflags` /bin/sh: sdl-config: command not found cocoahelper.m:8:16: error: SDL.h: No such file or directory cocoahelper.m: In function ‘-[SDLApplication terminate:]’: cocoahelper.m:73: error: ‘SDL_Event’ undeclared (first use in this function) cocoahelper.m:73: error: (Each undeclared identifier is reported only once cocoahelper.m:73: error: for each function it appears in.) cocoahelper.m:73: error: syntax error before ‘event’ cocoahelper.m:74: error: ‘event’ undeclared (first use in this function) cocoahelper.m:74: error: ‘SDL_QUIT’ undeclared (first use in this function) cocoahelper.m: In function ‘-[SDLMain setupWorkingDirectory:]’: cocoahelper.m:90: warning: pointer targets in passing argument 3 of ‘CFURLGetFileSystemRepresentation’ differ in signedness cocoahelper.m: In function ‘setApplicationMenu’: cocoahelper.m:163: warning: no ‘-setAppleMenu:’ method found cocoahelper.m:163: warning: (Messages without a matching method signature cocoahelper.m:163: warning: will be assumed to return ‘id’ and accept cocoahelper.m:163: warning: ‘...’ as arguments.) make: *** [cocoahelper.dylib] Error 1 However, if I replace the line #import "SDL.h" with #import <SDL/SDL.h> I instead get the error messages adam-higueras-macbook-pro:cocoahelper adamvh$ make gcc -c cocoahelper.m -o cocoahelper.o -fPIC `sdl-config --cflags` /bin/sh: sdl-config: command not found cocoahelper.m: In function ‘-[SDLMain setupWorkingDirectory:]’: cocoahelper.m:90: warning: pointer targets in passing argument 3 of ‘CFURLGetFileSystemRepresentation’ differ in signedness cocoahelper.m: In function ‘setApplicationMenu’: cocoahelper.m:163: warning: no ‘-setAppleMenu:’ method found cocoahelper.m:163: warning: (Messages without a matching method signature cocoahelper.m:163: warning: will be assumed to return ‘id’ and accept cocoahelper.m:163: warning: ‘...’ as arguments.) gcc -dynamiclib -o cocoahelper.dylib cocoahelper.o -framework Cocoa `sdl-config --libs` /bin/sh: sdl-config: command not found Undefined symbols: "_SDL_PushEvent", referenced from: -[SDLApplication terminate:] in cocoahelper.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [cocoahelper.dylib] Error 1 I am now at a loss. Thanks, Adam
_______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder