Quote Originally Posted by savage
Quote Originally Posted by billy1380
Hello, my name is billy1380 and I am jasonf's friend who does the mac builds...

I use fpc... and the voodoo that happens... is quite simply extracting the object file sdlmain.o from the objective-c compile of the Xcode project distributed by SDL.

there is also a switch that needs adding into the fpc config file...

here is a good ]http://www.cerebral-bicycle.co.uk/viewdoc.asp?doc=349[/url]

enjoy
Hi Billy,
Have you tried out the Mac OS X dmg I posted about last November/December? I don't remember having to extract an sdlmain.o file and the demos I tried did work. Once the FPC and the JEDI-SDL dmg were installed, XCode compiled the FPC projects quite well IIRC.
That is interesting... I wonder what you are using in SDL (or otherwise) to create the cocoa/carbon window... in the apps that work...

When I compiled crash block... it ran without SDLMain and the graphics displayed... but only in fullscreen mode: with no mouse control...

I have not tried the XCode method... I am consistently using the command line... it would be really cool if we could see what XCode is passing to the command line during the build...