News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Simutrans will not open on Mac OS X 10.9.4 Mavericks

Started by dekema2, October 03, 2014, 04:15:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dekema2

Well, I've tried everything to install this again on my 2014 MacBook Pro 13" with Retina display, 8 GB 1600 MHz DDR3 ram, Intel Iris graphics, 2.6 GHz Intel Core i5. Not sure what to do now considering I installed both 112.3 and 120... I really wanted to jump back in after taking a 2 year break. Here is my error log and accompanying GIF:






Process:         simutrans [4460]
Path:            /Users/USER/Desktop/*/simutrans.app/Contents/MacOS/simutrans
Identifier:      org.simutrans.simutrans
Version:       
Code Type:       X86-64 (Native)
Parent Process:  launchd [454]
Responsible:     simutrans [4460]
User ID:         501


Date/Time:       2014-10-03 00:14:40.994 -0400
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  E9DCD5D9-7F4B-8358-5B69-5D5481AB1B8C


Sleep/Wake UUID: F5E1D1A3-3149-4E32-A6E3-C94F9ABEC89D


Crashed Thread:  0


Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000


Application Specific Information:
dyld: launch, loading dependent libraries


Dyld Error Message:
  Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2
  Referenced from: /Users/USER/Desktop/*/simutrans.app/Contents/MacOS/simutrans
  Reason: image not found


Binary Images:
    0x7fff61003000 -     0x7fff61036817  dyld (239.4) <042C4CED-6FB2-3B1C-948B-CAF2EE3B9F7A> /usr/lib/dyld
    0x7fff8efb3000 -     0x7fff8f0f4fff  com.apple.QTKit (7.7.3 - 2826.19) <E634E6EC-2C7A-3F86-997B-CFC5D9F89E6B> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x7fff96187000 -     0x7fff96188ff7  libSystem.B.dylib (1197.1.1) <E6BCC031-4342-318C-A1AD-A8E9AEAE716F> /usr/lib/libSystem.B.dylib
    0x7fff97028000 -     0x7fff97039ff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
    0x7fff9ad9b000 -     0x7fff9ada8ff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
    0x7fff9ae20000 -     0x7fff9b11efff  com.apple.Foundation (6.9 - 1056.13) <2EE9AB07-3EA0-37D3-B407-4A520F2CB497> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

Ters

The error message says that SDL2 could not be found. See installation instructions at http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_Installation#Mac_users_info (found this page on the download page). It links to SDL 1.2, but SDL 2 can easily be found from there.

(Is Simutrans for Mac SDL2 by default now? If so, the wiki should link to SDL2 download page, not SDL 1.2 download page.)

dekema2

Quote from: Ters on October 03, 2014, 04:48:10 AM
The error message says that SDL2 could not be found. See installation instructions at http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_Installation#Mac_users_info (found this page on the download page). It links to SDL 1.2, but SDL 2 can easily be found from there.

(Is Simutrans for Mac SDL2 by default now? If so, the wiki should link to SDL2 download page, not SDL 1.2 download page.)

Okay, so this was able to work on 112.3, but not 120.0 unfortunately. I also had to create a Frameworks folder.


Also, since I'm not on SDL2 (I don't think I am), it's not by default

Ters

Quote from: dekema2 on October 03, 2014, 05:42:48 AM
Also, since I'm not on SDL2 (I don't think I am), it's not by default

I don't understand that conclusion. If you don't have/use SDL2 and SDL2 is not required, why would it then fail when SDL2 is not found?

dekema2

Quote from: Ters on October 03, 2014, 05:15:16 PM
I don't understand that conclusion. If you don't have/use SDL2 and SDL2 is not required, why would it then fail when SDL2 is not found?

Sorry, it took me to the 1.2 download page. I'm just not sure what it means.

I did download it and as a result, Simutrans 112.3 opened, but not Simutrans 120 for some reason.

Ters

Quote from: dekema2 on October 03, 2014, 06:09:59 PM
Sorry, it took me to the 1.2 download page. I'm just not sure what it means.

I did download it and as a result, Simutrans 112.3 opened, but not Simutrans 120 for some reason.

I did write that the download page linked to is for SDL 1.2, but that SDL 2 is easily available from there. Just look in the meny on the left.

4godson

Okay for any one like me who doesn't understand how they got it to work I got it to work and I will take you step by step.
1) Download 112.3 for Mac OSX  http://www.simutrans.com/en/download/mac
2) Download a Pakset or paksets and put the downloaded pakset into the simutrans download (or whatever name was given to the 112.3 for Mac OSX download) http://www.simutrans.com/en/paksets
3) Down load SDL 1.2.15.dmg (Intel 10.5+) or if you are an older version (Intel 10.4+) http://www.libsdl.org/download-1.2.php
and also SDL2 2.0.3.dmg (Intel 10.5+) http://www.libsdl.org/download-2.0.php reason being I downloaded them both and not sure which one it uses but it works so just download them both.
4) (this is the step that took me forever to figure out.) The SDLs go in the Library on your finder. If you can't find your library I am about to tell you how. You first go to finder, second you mash command+shift+g and it will take you to a box you can type in, so third you type this ~/Library       
guess what you are now in your Library (for future ease do what this kid tells you at the end to do https://www.youtube.com/watch?v=jTGVNH7N7uk it makes it easier to reach in the future.)
5) Now that you are at your library you will have to create a new folder and you must name it Frameworks if not the program won't find it.
6) Move both SDLs into the new folder (all you need is the lego looking object.)
7) Go back to your simutrans folder and click simutrans 5.4 MB option. (It looks like a gray square and next to it is simply simutrans and further down it tells you a size of 5.4 MB)
8) enjoy your game


Of course all of this is subject to change but this is the basics steps for right now! Enjoy!

tchung

#7
Which one is the 5.4 MB one? I can't find it!




This is what the error message says:
Process:               simutrans [15897]
Path:                  /Users/USER/Desktop/*/simutrans.app/Contents/MacOS/simutrans
Identifier:            org.simutrans.simutrans
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           simutrans [15897]
User ID:               502

Date/Time:             2016-07-05 08:45:01.634 +0800
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        44BC9A1C-E4B3-C5FA-9AE7-45E308E08FDD

Sleep/Wake UUID:       93A43B1B-E36D-4670-A1DE-29698F245FD4

Time Awake Since Boot: 78000 seconds
Time Since Wake:       1100 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2
  Referenced from: /Users/USER/Desktop/*/simutrans.app/Contents/MacOS/simutrans
  Reason: image not found

Binary Images:
    0x7fff60ea9000 -     0x7fff60ee00d7  dyld (360.21) <D9B236BC-4AC1-325F-B3EF-3F06DBDA7119> /usr/lib/dyld
    0x7fff8b8e0000 -     0x7fff8ba25fff  com.apple.QTKit (7.7.3 - 2943.3) <88AA19A7-7170-3798-8CBA-B1B8D4763ADB> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x7fff8cf54000 -     0x7fff8d2a8fff  com.apple.Foundation (6.9 - 1258) <51833143-6CAE-3E1C-9FBA-BCDEB48D4ADF> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8e82a000 -     0x7fff8e838ff7  libbz2.1.0.dylib (38) <28E54258-C0FE-38D4-AB76-1734CACCB344> /usr/lib/libbz2.1.0.dylib
    0x7fff9d4c8000 -     0x7fff9d4c9ffb  libSystem.B.dylib (1226.10.1) <CD307E99-FC5C-3575-BCCE-0C861AA63124> /usr/lib/libSystem.B.dylib
    0x7fff9db7f000 -     0x7fff9db90ff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib

Model: MacBookPro9,2, BootROM MBP91.00D3.B0D, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.4f4 17685, 3 services, 19 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS545050A7E362, 500.11 GB
Serial ATA Device: HL-DT-ST DVDRW  GS31N
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1

Do you know whats wrong?

Ters

It says that you don't have SDL2, or if you do, not in the place it expects. But I know nothing of Apple stuff.

HaydenRead

Yes, the issue here is that the SDL2 framework needs to be installed.
It can either be installed to system frameworks or user frameworks depending on your rights on the Mac.

tchung

I installed the SDL2 (The one with the Brick) Should I install both 10.4 and 10.5?

HaydenRead

So, first of all make sure you have the SDL2 Runtime Binaries, and not the Development Libraries downloaded.
In the SDL2 folder will be a folder called SDL2.framework
This folder needs to be copied to either:
/System/Library/Frameworks/
(this location installs it for all users, but may require elevated rights)
or
~/Library/Frameworks/
(this location only installs it for the current user, but does not require elevated rights)

Note: I do not have, and do not use a Mac myself, but this is the information I worked out when getting it working for deployment to Mac on Steam.

tchung

Hi HaydenRead,

Thanks for your help! Currently Trying it.

Thanks again,

Tchung

---
Edit 1:
IT WORKED!!!! OMG THANK YOU SO MUCH HAYDENREAD!!!