The International Simutrans Forum

Development => Bug Reports => Topic started by: An_dz on May 10, 2011, 05:42:26 PM

Title: Compiling on Mac OSX
Post by: An_dz on May 10, 2011, 05:42:26 PM
I got access to a Mac OSX and downloaded the Simutrans iPhone code, but I can't make the SDL work, it keeps telling me SDL.h is not found.

How I install SDL to make Xcode understand where it's located?
Title: Re: Compiling on Mac OSX
Post by: transporter on May 11, 2011, 05:38:39 AM
Do you mean on the OS X or iPhone?
Title: Re: Compiling on Mac OSX
Post by: An_dz on May 11, 2011, 09:44:08 PM
Quote from: transporter on May 11, 2011, 05:38:39 AM
Do you mean on the OS X or iPhone?
OS X, but the code is for iPhone
Title: Re: Compiling on Mac OSX
Post by: transporter on May 12, 2011, 05:14:06 AM
I don't know the relation of the iPhone code and OS X, but if you check http://forum.simutrans.com/index.php?topic=7264.0 and see if that works
Title: Re: Compiling on Mac OSX
Post by: prissi on May 15, 2011, 07:15:10 PM
SDL is (imho) not available for iPhone by decision of Apple.
Title: Re: Compiling on Mac OSX
Post by: An_dz on June 15, 2011, 06:52:29 PM
Quote from: prissi on May 15, 2011, 07:15:10 PM
SDL is (imho) not available for iPhone by decision of Apple.
I'm using ZodTTD code, for now I'm almost done. I found what is needed to change by comparing the zodTTD version and r2203, it's not the right one, but one of the most similar. I updated the files on 110.0.1 version and now I'm getting a GCC error. I'll try to find what's up.
Title: Re: Compiling on Mac OSX
Post by: prissi on June 15, 2011, 07:28:24 PM
It would really nice if we could get a native display driver (simsys_mac16.cc) using quickdraw or quartz. That would give better integration into mac and would solve all troubles with SDL on the mac at once ...