The International Simutrans Forum

 

Author Topic: Compiling on Mac OSX  (Read 3066 times)

0 Members and 1 Guest are viewing this topic.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2900
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Compiling on Mac OSX
« 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?

Offline transporter

  • *
  • Posts: 136
Re: Compiling on Mac OSX
« Reply #1 on: May 11, 2011, 05:38:39 AM »
Do you mean on the OS X or iPhone?

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2900
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Compiling on Mac OSX
« Reply #2 on: May 11, 2011, 09:44:08 PM »
Do you mean on the OS X or iPhone?
OS X, but the code is for iPhone

Offline transporter

  • *
  • Posts: 136
Re: Compiling on Mac OSX
« Reply #3 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

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 9519
  • Languages: De,EN,JP
Re: Compiling on Mac OSX
« Reply #4 on: May 15, 2011, 07:15:10 PM »
SDL is (imho) not available for iPhone by decision of Apple.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2900
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Compiling on Mac OSX
« Reply #5 on: June 15, 2011, 06:52:29 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.

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 9519
  • Languages: De,EN,JP
Re: Compiling on Mac OSX
« Reply #6 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 ...