News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Can't seem to get the Mac OS X installation running

Started by blake, July 10, 2009, 09:50:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blake

Here's what I've done:

- Downloaded Simutrans Complete for Mac OS X (I use an Intel Mac w/ OS 10.5.7)
- Put simutrans folder in Applications
- Double-clicked executable - didn't run; Terminal looked like this:

Last login: Fri Jul 10 16:29:18 on ttys000
You have mail.
/Applications/simutrans/simutrans ; exit;
blake-2:~ blakewatson$ /Applications/simutrans/simutrans ; exit;
dyld: Library not loaded: /sw/lib/libSDL-1.2.0.dylib
  Referenced from: /Applications/simutrans/simutrans
  Reason: image not found
Trace/BPT trap
logout

[Process completed]

- I then downloaded the SDL framework and moved it to /Library/Frameworks (in Macintosh HD)
- still getting the above response

Help appreciated. This looks like a great game. Can't wait to play!

Limited

Hi i also use mac and i have been able to play using Nightly version of the game http://forum.simutrans.com/index.php?topic=24.0
I am not sure how to play other versions of the game but maybe by compiling you could get other versions to work(could someone with more experiance comment this)

topchrisher

Firstly let me admit that I may be completely wrong with what I'm about to say.  I'm going to say it anyway.

It seems like you might be expecting Simutrans to install and behave like any other Mac OS X program.  If that's true, and you're afraid of compiling, gcc, and svn, then Simutrans on Mac OS X is probably not for you.  Personally I don't even bother any more.  I managed to get 0.85.11 running, but nothing after that.  When I want to play Simutrans, I do it in Linux.

Hopefully you're still hanging on.  Here's a few words about your error message:
Quote from: blake on July 10, 2009, 09:50:44 PM
dyld: Library not loaded: /sw/lib/libSDL-1.2.0.dylib
This means that Simutrans is looking for the SDL library in the folder /sw/lib.  That's not where it is, because you installed it (as you probably should have) in /Library/Frameworks.

Where to go from here:
1.) If you can run Simutrans on Linux or Windows, you can save yourself days of effort by just doing that.
2.) Search the forum for information on compiling Simutrans yourself.  You'll be able to correctly set the directory of the SDL libraries before compilation.
3.) Download Fink (fink.sourceforge.net) and use it to install SDL.  If you do this, the library file should automatically appear in /sw/lib/*, and hopefully run.  Be sure to get SDL version 1.2.0.

Both 2 and 3 are equally treacherous paths to tread.  If you already have Fink installed, that makes 3 much, much easier.

Good luck.  Please post results for those who follow your footsteps.