Skip to main content
Topic: Loading simutrans 102.0 for mac (Read 20461 times) previous topic - next topic

Loading simutrans 102.0 for mac

I have just downloaded simutrans 102.0 for mac, placed the simutrans folder into my application folder, and added the pak sets. I now have all the files and folders that are present in the folder of the previous version of simutrans I have.

In the terminal utility, when i double click on simutrans, the following is displayed:

Last login: Wed Apr 22 19:40:57 on ttys000
/Applications/simutrans/simutrans ; exit;
Archibald:~ Zoltan$ /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]

Why is simutrans finding it impossible to load, and how do I correct this so that I can play?

Thanks in advance.


Re: Loading simutrans 102.0 for mac

Reply #2
I can make very little sense of that... but does this mean the problem can or can't be solved to make the game playable?

Re: Loading simutrans 102.0 for mac

Reply #3
I don't have a Mac, but I think I can help.

In the german forum maxigs said, that you have to install macports (I don't know, how to do this) and then you must install SDL via:
Code: [Select]
sudo port install libsdl
sudo port install libsdl-framework
Last you must create a symlink, since simutrans searches in a wrong(?) place:
Code: [Select]
ln -s /opt/local/var/macports/software/libsdl/1.2.13_2/opt/local/lib/libSDL-1.2.0.11.2.dylib /sw/lib/libSDL-1.2.0.dylib
ln -s /opt/local/var/macports/software/libsdl/1.2.13_2/opt/local/lib/libSDL_mixer-1.2.0.2.6.dylib /sw/lib/libSDL_mixer-1.2.0.dylib
Maybe you need sudo for this command, too.

Edit: If SDL is installed at an other place, you have to alter the first path in the ln-command.

Re: Loading simutrans 102.0 for mac

Reply #4
I've installed MacPorts successfully, but entering that code hasn't worked quite as it ought to. It produced the following output then I entered all three lines in succession:

Last login: Wed Apr 22 21:41:18 on ttys000
Archibald:~ Zoltan$ sudo port install libsdl
--->  Configuring pkgconfig
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/work/pkg-config-0.23" && ./configure --prefix=/opt/local --enable-indirect-deps --with-pc-path=/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/X11/lib/pkgconfig " returned error 77
Command output: checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking for style of include used by make... none
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: The following dependencies failed to build: xorg-libXext pkgconfig xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xorg-renderproto xrender
Error: Status 1 encountered during processing.
Archibald:~ Zoltan$ sudo port install libsdl-framework
--->  Building libsdl-framework
Error: Target org.macports.build returned: This port requires 'pbxbuild/xcodebuild', which  couldn't be found (not MacOS X?)
Error: Status 1 encountered during processing.
Archibald:~ Zoltan$ ln -s /opt/local/var/macports/software/libsdl/1.2.13_2/opt/local/lib/libSDL-1.2.0.11.2.dylib /usr/local/lib/libSDL-1.2.0.dylib
ln: /usr/local/lib/libSDL-1.2.0.dylib: Permission denied
Archibald:~ Zoltan$

Re: Loading simutrans 102.0 for mac

Reply #5
@zoltan: have you ever tried this: http://www.aleopardstail.com/simutrans/Simutrans%20(Developer).html (?)

i think, it's the easiest way to install a Simutrans-Version on a Mac-Computer, because you d'ont need any special link to the sdl...
(to add more paks, just open the application-bundle and look for the pak-folder)


otherwise, you can use this version: http://www.derkarl.de/simutrans_102_r2366_osx_x86.zip (it's expects only the SDL.framework in library/frameworks)


 

Re: Loading simutrans 102.0 for mac

Reply #6
Sorry, 5eko, that's still the version that requires either Fink to be installed or a symlink to the corrected library path if you're using Macports. The version that does not depend on Fink or Macports can be downloaded via this link: http://www.derkarl.de/simutrans_102_r2366_osx_x86_nosymlink.zip When you want to use this binary you only need to download the SDL from here: http://www.libsdl.org/download-1.2.php (look under "Runtime Libraries" -> "Mac OS X"). And then simply follow the instructions that are contained in the disk image. Remember that you still need to download at least a Pak to be able to play Simutrans (if you haven't done this already).