Hello,
I want to compile my SDL application without Project Builder.
I installed SDL binaries and SDL devel packages (1.2.7) for MacOSX.
When I compile my app with gcc, it didn’t find SDLMain.
I searched for libSDLMain.a on disk, but I didn’t find it.
Then I tried to compile SDL-1.2.7.tar.gz from source but,
after a successfull “./configure”,
I’ve got these errors on “make” step:
macosx/SDLMain.h:8: warning: could not use precompiled header ‘/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa-gcc3.p’, because:
macosx/SDLMain.h:8: warning: ‘Foundation/Foundation.h’ has different date than in precomp
macosx/SDLMain.h:8: warning: ‘Foundation/NSObjCRuntime.h’ has different date than in precomp
macosx/SDLMain.h:8: warning: ‘Foundation/NSArchiver.h’ has different date than in precomp
macosx/SDLMain.h:8: warning: ‘Foundation/NSCoder.h’ has different date than in precomp
macosx/SDLMain.h:8: warning: and others…
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: could not use precompiled header ‘/System/Library/Frameworks/Foundation.framework/Headers/Foundation-gcc3.p’, because:
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: ‘Foundation/NSObjCRuntime.h’ has different date than in precomp
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: ‘Foundation/NSArchiver.h’ has different date than in precomp
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: ‘Foundation/NSCoder.h’ has different date than in precomp
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: warning: ‘Foundation/NSObject.h’ has different date than in precomp
etc… etc… etc…
Can someone help me?
Thanks,
Enzo.