TOPIC:

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 9 months ago #7051

I'm working through this now, too. I haven't gotten all the way through, but at this step, it appears the problem isn't that zlib is missing, but the command that checks for it (pkg-config) is missing. If you have homebrew installed, you can run:

brew install pkg-config

to set it up. In the process of debugging I did some other stuff, including trying to set the CPATH where the zlib headers are. I'm not sure if this is necessary, but just in case, I added this to ~/.bashrc:

export CPATH=`xcrun --show-sdk-path`/usr/include

That at least gets me through the config step. Good luck.
The following user(s) said Thank You: Frank, trastanechora

Please Log in or Create an account to join the conversation.

Welcome, Guest
Username: Password: Remember me


Welcome to the BTPro OpenTTD Community

This community was build around the game: OpenTTD
OpenTTD is an (Free) open source simulation game based upon Transport Tycoon Deluxe


 

!!! SERVER HAVE BEEN UPGRADED TO 14.1 (Finally :-) ) !!!
!!! Please find the new client (supplied by Citymania and N-Ice) download links in the forum !!!
!!! Link to the forum is below !!!

Frank



Please take a look at BTPro's VIP Membership

BTPro VIP Membership Logo

Please click here for more information or to sign-up.


 

Screenshot created 57 Minutes ago on server:
-BTPro.nl- #31 - CARGO Goal - 300.000 units |RANDOM map|START-GOAL:

OpentTTD Screenshot



Make sure to download the newest version of the Modified OpenTTD Client from the "BTPro OpenTTD Client Talk" Forum!

!!! BTPro Client Latest Update: the 18th of Juli 2024 !!!
!!! Current OpenTTD Version: 14.1 !!!

Goto the "BTPro OpenTTD Client Talk" forum to download the client and leave a message if it's working for you



Currently we have 4 Server Operators:

Frank, ST2, Wacko1976, Inscius!

We are badly looking for moderators!

Want to be part of the team?! Want to help?! Read below...


 
NOTE:
Admins will act on the basis that ALL players know the game and it's mechanics.
We think that no one goes to an online game without first some practice and know how to play it.
Companies without registered nicknames (as shown in Client List) on it, can be reset without warning!
To learn OpenTTD mechanics, there is a forum/wiki and... a Single Player mode!!
Practice before playing on BTPro, and if you decide to start, READ THE RULES first.


 
If you wish to become part of the BTPro Server Operator family, ensuring that the rules are upheld with fairly and justly,
the willingness to teach new players on how to play the game and to make sure BTPro is one of the most relaxed,
entertaining servers out there for OpenTTD then apply in the Moderator Applications section below!

Also do not hesitate to ask us a question in the forums or when you see us online on one of the servers!

Happy Gaming!

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 9 months ago #7052


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 7 months ago #7123

Hi guys,

I'm having trouble getting my compiled version to work. Up until 1.9.3 with BTPro client B everything compiled and worked fine. I am now on MacOs Catalina 10.15.4 with the latest xcode installed and I can not get a compiled version to work anymore. As soon as i start the app it just gets me the bouncing icon on the dock and nothing happens.

I got all the dependencies with brew, I got the 1.9.3 source from the official site, here:
cdn.openttd.org/openttd-releases/1.9.3/

patching the .diff file - no issues
./configure - no issues (either with or without liblzo2)
make - 7 warnings, no errors

trying to run the executable - does not work

I also tried to compile a vanilla version without patching the diff file - same result.

any help / similar experience ?

edit: I have found a working solution

Turns out the updated Command Line Tools for Xcode 11.4 are the culprit. I have tried compiling the BTPro client with Command Line Tools for Xcode version 11.3.1 and no problems arise anymore.

I have described my process on the official OpenTTD forums here:
www.tt-forums.net/viewtopic.php?f=33&t=86812&p=1230823#p1230823
The following user(s) said Thank You: Eld

Please Log in or Create an account to join the conversation.

Last edit: by M-Trac.

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 7 months ago #7146

Did you also downgrade Xcode itself? I tried the following version of Xcode Command Line Tools:

version: 11.3.1.0.1.1576735732

Ran the configure, make, and make bundle again but ended up with the same result of the endlessly bouncing dock icon, or the endless process kicked off from the terminal.

I still saw a lot of red warnings towards the end of the make output.
  • Eld
  • Eld's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 3

Please Log in or Create an account to join the conversation.

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 7 months ago #7149

Eld wrote: Did you also downgrade Xcode itself? I tried the following version of Xcode Command Line Tools:

version: 11.3.1.0.1.1576735732

Ran the configure, make, and make bundle again but ended up with the same result of the endlessly bouncing dock icon, or the endless process kicked off from the terminal.

I still saw a lot of red warnings towards the end of the make output.


I did not downgrade Xcode itself. I currently have version 11.4 (11E146) of Xcode installed.

I just tried compiling the new 1.10.1 version of the BTPro client and had no issues.
I am still on Catalina 10.15.4 and got the dependencies from/with homebrew (xz, lzo and pkg-config).
I use the same Command line tools version as you do.

I logged my terminal to a text file, but the attachment function does not seem to work on this forum.

I get 13 generated warnings on ./configure of the patched source files.
During make I get quite some warnings, mostly about pointers missing a nullability type specifier in sdtio.h and stdlib.h.
Then further warnings on cargoaction.cpp, driver.cpp, landscape.cpp, misc.cpp, etc. But no errors.
Nothing when linking, and this is where I saw the majore difference when comparing to Command line tools 11.4, where a lot of warnings were generated during linking.

Check this link for my terminal output during compile:
justpaste.it/7fi2u
The following user(s) said Thank You: Eld

Please Log in or Create an account to join the conversation.

Last edit: by M-Trac. Reason: added link to terminal text for reference.

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 4 years 7 months ago #7154


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.
  • Eld
  • Eld's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 3

Please Log in or Create an account to join the conversation.

Last edit: by Eld.
Time to create page: 0.072 seconds
Best hosting deal on hostgator coupon or play poker on party poker
Copyright 2020 How to run OpenTTD 1.9.3 BTPro client on Mac OSX - Page 2 - BTPro - OpenTTD Community.