News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Compiling on Mac OSX

Started by An_dz, May 10, 2011, 05:42:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

An_dz

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?

transporter

Do you mean on the OS X or iPhone?

An_dz

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

transporter

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

prissi

SDL is (imho) not available for iPhone by decision of Apple.

An_dz

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.

prissi

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 ...