Welcome, Guest
Username: Password: Remember me

TOPIC:

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 10 months 5 days 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
  • wozz
  • Offline
  • Fresh BTPro Poster
  • Fresh BTPro Poster
  • Posts: 1
  • Thank you received: 2

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

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 10 months 5 days ago #7052

Hi TotorLemposchka

Did you run the command for step 6 as below?
./configure --without-liblzo2
Make sure you include the --without-liblzo2 then try again step 7.

If you still have any issue then try to run code below, it will install GCC that is necessary to run the make compiler
xcode-select --install
Then try again step 7.

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

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 7 months 2 weeks 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 7 months 2 weeks 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
  • Offline
  • Fresh BTPro Poster
  • Fresh BTPro Poster
  • Posts: 7
  • Thank you received: 1

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

How to run OpenTTD 1.9.3 BTPro client on Mac OSX 7 months 2 weeks 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:
https://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 7 months 1 week ago #7154

Thanks for the output! I tried again and my output looks pretty much identical to yours, but still the app just hangs on launch. No output whatsoever. I'm convinced it's something Gatekeeper / security related but can't figure it out.
 
  • Eld
  • Offline
  • Fresh BTPro Poster
  • Fresh BTPro Poster
  • Posts: 7
  • Thank you received: 1

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

Last edit: by Eld.
Time to create page: 0.067 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.