Making the Mac version work

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I can't explain why it misses the lng files in the zip file. They are there when I run the script manually :shock:
The script looks ok too

About the initializing problem, I don't know what causes it, but I haven't got access to 10.1, only 10.2 and 10.3, so 10.1 is untested

you have to test something to get an idea of what might cause the problem
Try to start OTTD from terminal with ./ttd (I think the startscript is still called ttd. It will change from next release)
use the arguments:
-m NULL (disables video)
-s NULL (disables sound)
-m NULL (disalbes music)

if that works, try to enable them one at the time to find out which one causes the problem. Hopefully this can be fixed by something as simple as disabling music. It also gives a clue to where in the source to look
User avatar
Magic_Pixel
Engineer
Engineer
Posts: 80
Joined: 29 Jul 2004 07:56
Location: Tulcea/Bucharest, Romania
Contact:

Post by Magic_Pixel »

Ok, I got now today's nightly, it has the lng files. Here's the new error I get:

dyld: /Users/mihai/Desktop/Mihai/Appz/OSx/Games/OTTD/26.08.2004Nightly/OSx/OTTD-OSX-nightly_build Folder/OpenTTD.app/Contents/MacOS/openttd Undefined symbols:
/Users/mihai/Desktop/Mihai/Appz/OSx/Games/OTTD/26.08.2004Nightly/OSx/OTTD-OSX-nightly_build Folder/OpenTTD.app/Contents/MacOS/openttd undefined reference to _CGMainDisplayID expected to be defined in Carbon

(sorry about the huge path.. :) )

any ideas?! :shock:

EDIT: How do I run an 'executable' from the terminal window on mac osx? :?: :oops:
...maintainer of Romanian OpenTTD translation...
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

cd your way into OTTD-OSX-nightly_build Folder (" " is written "\ ")
then type

Code: Select all

OpenTTD.app/Contents/MacOS/openttd
it looks like your carbonlib is too old :(
Test anyway
User avatar
Magic_Pixel
Engineer
Engineer
Posts: 80
Joined: 29 Jul 2004 07:56
Location: Tulcea/Bucharest, Romania
Contact:

Post by Magic_Pixel »

Same error

Code: Select all

dyld: OpenTTD.app/Contents/MacOS/openttd Undefined symbols:
OpenTTD.app/Contents/MacOS/openttd undefined reference to _CGMainDisplayID expected to be defined in Carbon
:(
...maintainer of Romanian OpenTTD translation...
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

it seems that 10.1 is simply too old to run OTTD :(
User avatar
Magic_Pixel
Engineer
Engineer
Posts: 80
Joined: 29 Jul 2004 07:56
Location: Tulcea/Bucharest, Romania
Contact:

Post by Magic_Pixel »

yeah, lucky me.. :cry:
...maintainer of Romanian OpenTTD translation...
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Semrush [Bot] and 19 guests