Openttd For Mac Os X

siaconttanpe1988

2 day(s) ago in category Software



  1. Openttd Mac Os X
  2. Openttd For Mac Os X64
  3. Openttd For Mac Os X 10.10
  4. Openttd For Mac Os X 10.13

Homebrew is a very simple package management system for Mac OS X. If you have Homebrew installed, you can have it build OpenTTD for you with two simple commands: brew tap homebrew/games brew install openttd Or manually install the libraries with: brew install xz brew install lzo brew install pkg-config. This patch will allow CJK input on Mac OS X 10.4 or later. On 10.6 it uses the new API, where the input window will appear under the focused field, on 10.4 and 10.5 it just shows a global input window at the bottom of the screen, see the attached screenshots. Mac OS X (v10.3.9+) G3 233MHz (G4 500MHz+ recommended) 128MB RAM Other. There are also versions of OpenTTD for other operating systems. The list can be found here. OpenTTD is a clone of the Microprose game 'Transport Tycoon Deluxe', a popular game originally written by Chris Sawyer. It attempts to mimic the original game as closely as possible while extending it with new features. OpenTTD is modeled after the original Transport Tycoon game by Chris Sawyer. Attached to Project: OpenTTD Opened by jmgazzoli (jmgazzoli) - Thursday, 24 August 2017, 03:39 GMT Last edited by andythenorth (andythenorth) - Wednesday, 30 August 2017, 20:00 GMT.



ES

mp
  • 1Compiling and developing OpenTTD on MacOSX
  • 2Installing Developer Tools (Xcode)
  • 3Installing required libraries
    • 3.2Using MacPorts
  • 4Compiling the source
    • 4.2Configure
    • 4.3Compiling

Compiling and developing OpenTTD on MacOSX

A quick guide to get started with OpenTTD development on OSX.Note: if you have not installed any of this, it will take a while and there will be a lot to download, but you will get access to a lot more software than just OpenTTD.

Compiling OpenTTD requires use of the command line, so before you start, you should make yourself familiar with the Terminal.app if you aren't already. A very brief terminal tutorial can be found here. Half life 2 episode 1 completo pc.

Getting the source

Installing Developer Tools (Xcode)

Mac

Recent OSes

If you have access to the Mac App Store, you will find Xcode there as a free download.

Older Mac OSes

First you need to install a compiler. You should do this by installing Xcode (Requires OSX 10.3+)They should be on the CD / DVD when you got your OS. You can also download it from the Apple Developer Connection web site (free registration required), although it is over 3gb in size. This includes, amongst many other things, gcc (in the UNIX Dev Support package), which is the compiler that are used by most opensource projects, including OpenTTD.

Note
By default, this will also install the iOS SDK, which you probably won't need. You can uncheck it in the final installation settings or just disagree with its license to save several gigabytes of disk space.

Installing required libraries

Openttd For Mac Os X

In order to build OpenTTD from source you need to have installed some libraries which it depends upon.

The minimum requirements for OpenTTD on mac are:

and optionally you want also:

For getting the openttd source, you will need:

OR:

OR:

All of the above are installable using MacPorts.

SDL and fontconfig are not required on mac. zlib comes with the OS so you don't need to install zlib.

On OSX 10.6.1 it may also be necessary to install:

The easiest solution in order to obtain these libraries is to have either Homebrew or macports install them for you. Alternatively, you may compile and install it from source for yourself. As another alternative you may visit the pages of those libraries and see whether they provide ready-compiled binary versions. At least libpng does so.

Please refer to the Homebrew website for instructions on how to install Homebrew.

Using Homebrew

Homebrew is a very simple package management system for Mac OS X. If you have Homebrew installed, you can have it build OpenTTD for you with two simple commands:

Or manually install the libraries with:

Warning
The homebrew pages contains advice concerning how to handle directories usually only writable by root (requiring the admin password) and claims as to which of these “could safely be deleted”. It cannot be recommended to follow any of this advice if you are not 100% sure of what you do. You may corrupt your system without possibility to recover it.

Using MacPorts

The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system. As you will install libraries in your system directories, you'll need to do so as administrator via the command sudo - which will require you to enter the administrator password. Further information regarding sudo can be found on wikipedia.

Installing libraries with MacPorts

Before installing any libraries, make sure you have access to the latest ports by updating the local repository:

Note
If you want to compile universal binaries to distribute, add ' +universal' at the end of each line.
1password app for mac.

(Everything will need to be compiled first, so have patience.)

Install libpng, liblzma' (provided by xz package)', pkgconfig (required for lzma detection), lzo2 and libiconv (the required zlib will be installed as dependency automatically).


At least in order to compile a static binary (for redistribution), but also for your convenience, you might want these as well:

Some further notes on MacPorts

It might be worth to risk a look at the macports documentation. If you need for one or another reason an old(er) library version, a short walk-through is found here

Note
There are issues with some gcc versions which are supplied by macports. Use one of the apple-supplied compilers if fails with illegal compiler arguments. You can switch the compiler being used by installing gcc_select package from macports, then using port select <version>


Fun fact: if you have installed yourself libraries and build them for other architectures than x86_64 i386 ppc and ppc64 it might fail. Those four seem to be accepted, but macports might bitch, if others are found like ppc970.

Installing manually

If you want truly universal libraries it might be needed that you compile the libraries yourself, especially as newer versions (e.g. Snow Leopard) only support 'universal' binaries and libraries with the i386 and x86_64 architectures while OpenTTD's universal binaries can also include ppc, ppc64 and ppc970.

There's no build script to get the required universal libraries, but some steps which can be followed will get you there.

Repeat similar steps for the other libraries.

For those just wanting a working copy for themselves, enter the following into a terminal window:

After the compiler is done doing all it's stuff, you should find yourself a working OpenTTD.app in the bundles folder!


For more detailed instructions, and options, read on.. Parallels desktop 11 crack for mac.

Applying a patch

If you want to use a patch/diff file then you have to apply it before using configure.This is done in the same way as on Linux so you should read this: GNU/Linux#Applying_a_patch

Configure

There is a configure script. This is used to figure out what your system is like and generate a makefile to compile a binary designed for your system. To run it, just write ./configure and it will figure everything out on its own.

If you have a special request for your compilation, then you need to give arguments to configure. To see a full list of available settings, use the help system (./configure --help)

Example: if you want to make a static build (the binary will contain the needed parts of the libraries so they do not have to be installed on the computer playing the game), you will have to type ./configure --enable-static. This is recommended for Mac OS X builds. Multiple arguments can be added like ./configure --enable-static --enable-dedicated.

Configuring on Mavericks (and Yosemite)

All of the above can be achieved with this configure command:

./configure --enable-static --without-liblzo2 --without-osx-sysroot CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' LDFLAGS='-stdlib=libstdc++'

Some users report linker failures with the configure command above. The following command may solve those failures:

./configure --enable-static --without-liblzo2 --without-freetype --without-osx-sysroot CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' LDFLAGS='-stdlib=libstdc++'

October 2014 Update - applies to both Mavericks and YosemiteApple released an Xcode update for Mavericks in October 2014, which appears to remove the 10.8 SDK. Following this update, OpenTTD compiles for at least some users with:

./configure --without-freetype LDFLAGS='-stdlib=libstdc++'

This also works on Yosemite.

If you can supply an appropriate version of Freetype, the --without-freetype flag might be unnecessary.

Compiling

When configure has made a makefile for you, all you need to do to compile is to type make. The binary is then placed in the 'bin' subdirectory.

If needed, make can accept arguments as well. Commonly used arguments will be (all of them will start by compiling the game if needed):

Make also accepts standard make arguments. The most interesting is the -j option. By default GCC compiles one file at a time and it can only use one CPU/core to compile a single file. If you want to compile as fast as possible, you can tell it to compile more files at once with the -j option. Example: make bundle -j 4 will compile 4 files at once, making good use of a dualcore computer. Usually having two files compiling on each core is the fastest as one compile while the other one waits for read/write to the disk.Note: the makefile dependencies has to be set up correctly for this to work. While they are for OpenTTD, don't assume this for other projects or nasty stuff can happen, like weird compilation errors.

If it comes to frequent compiles, it might be worth to look for alternative compilers. Newer OSX bring also llvm-gcc binaries which offer a speed gain during compilation for the cost of a bit slower binaries. In order to activate the set the environment variables CC=/Developer/usr/bin/llvm-gcc and CXX=/Developer/usr/bin/llvm-g++

When compiling fails

try downgrading freetype. For example, if you are using macports, you can achieve this by executing

Openttd Mac Os X

Or use the --without-freetype configure option.

ISO C++ forbids forward references to 'enum' types

try adding CFLAGS='-std=c++11' to the end of your configure call.

Openttd For Mac Os X64

specify LDFLAGS='-liconv' (you may have to merge this with other used LDFLAGS).

Compiling universal binaries

Openttd for mac os x 10.10

Compiling a universal binary is done by adding --enable-universal to configure:

Openttd For Mac Os X 10.10

This is all if your system is set up correctly. Make will then compile for intel, PPC and PPC970 (optimized for this particular CPU. Apple renamed it to G5), so setting G5 flags and such shouldn't be needed. Static is also enabled by default as it's assumed that the binary is to be moved to another computer.

Openttd For Mac Os X 10.13

For this to work, you will need universal libraries. For more info, read universal_libraries

Retrieved from 'https://wiki.openttd.org/?title=Compiling_on_Mac_OS_X&oldid=94645'




Comments

Recent posts

[[GANZER-film]] ~ After Truth ~ |Deutsch film Stream online (2020)-HD: ganzer film

https://boxelder.instructure.com/courses/37852/pages/ganzer-film-~-after-truth-~-%7Cdeutsch-film-stream-online-2020-hd ..

[![official @ ^ / LiVeStrEAM @]] "Liverpool vs Atalanta" LiVe StreaMs@rEddIT : Liverpoolvsatalanta

https://www.reddit.com/r/Liverpoolvsatalanta/comments/k0xx8y/official_livestream_liverpool_vs_atalanta_live/ ..

[[GANZER-film]] ~ After Truth ~ |Deutsch film Stream online (2020)-HD: ganzer film

https://boxelder.instructure.com/courses/37852/pages/ganzer-film-~-after-truth-~-%7Cdeutsch-film-stream-online-2020-hd ..

https://twitter.com/i/events/1331672674481782784

https://twitter.com/i/events/1331672674481782784 https://twitter.com/i/events/1331672674481782784 https://twitter.com/i/events/1331672674481782784 ..

Télécharger Villa caprice DVDRip 2020 Uptobox Film Streaming VF - Flipbook by netplayhd | FlipHTML5

https://fliphtml5.com/vxuaq/yxvj https://fliphtml5.com/vxuaq/bumr https://fliphtml5.com/vxuaq/lzve https://fliphtml5.com/vxuaq/scrm ..

USA Election 2020 Win Joe Biden . But This Election Proves Just How Racist America Really | by Johnnysins | Nov, 2020 | Medium

There’s a strange and difficult question that has to be asked in the wake of Biden’s victory over Trump. ..

USA Election 2020 Win Joe Biden . But This Election Proves Just How Racist America Really | by Johnnysins | Nov, 2020 | Medium

There’s a strange and difficult question that has to be asked in the wake of Biden’s victory over Trump. ..

USA Election 2020 Win Joe Biden . But This Election Proves Just How Racist America Really | by Johnnysins | Nov, 2020 | Medium

There’s a strange and difficult question that has to be asked in the wake of Biden’s victory over Trump. ..

What they publish: This women’s site is primarily, but | by Rockykhan | Nov, 2020 | Medium

As someone who’s been fully sustaining myself as a freelancer for over two years, I’m all too familiar ..

What they publish: This women’s site is primarily, but | by Rockykhan | Nov, 2020 | Medium

As someone who’s been fully sustaining myself as a freelancer for over two years, I’m all too familiar ..

https://msonamoni.medium.com/coronavirus-update-on-the-pandemic-b33b86c72114

https://msonamoni.medium.com/coronavirus-update-on-the-pandemic-b33b86c72114   https://msonamoni.medium.com/coronavirus-update-on-the-pandemic-b33b86c72114 ..

USA Election 2020 Win Joe Biden . But This Election Proves Just How Racist America Really | by Johnnysins | Nov, 2020 | Medium

There’s a strange and difficult question that has to be asked in the wake of Biden’s victory over Trump. ..

streamofficial_liverpool_vs_atalanta_live

  https://www.reddit.com/r/Liverpoolvsatalanta/comments/k0xx8y/official_livestream_liverpool_vs_atalanta_live/ ..

Coronavirus: Texas shatters daily record with nearly 14,000 new cases — as it happened | by UFC 255 Figueiredo vs Perez | Nov, 2020 | Medium

Please use the sharing tools found via the share button at the top or side of articles. Copying articles ..

https://www.mydigoo.com/forums-topicdetail-201134.html

https://amrop.nl/sites/default/files/webform/ajax-midtjylland.pdf https://amrop.nl/sites/default/files/webform/ajax-midtjylland-kijken-op-tv01.pdf ..

Coronavirus: Texas shatters daily record with nearly 14,000 new cases — as it happened | by UFC 255 Figueiredo vs Perez | Nov, 2020 | Medium

Please use the sharing tools found via the share button at the top or side of articles. Copying articles ..

Marseille vs FC Porto Live, UEFA Champions League, Reddit Stream Online in HD

Marseille vs FC Porto live, How to watch Marseille vs FC Porto stream live online broadcast HD TV, UEFA ..

streamofficial_liverpool_vs_atalanta_live

  https://www.reddit.com/r/Liverpoolvsatalanta/comments/k0xx8y/official_livestream_liverpool_vs_atalanta_live/ ..

[[GANZER-film]] ~ Greenland ~ |Deutsch film Stream online (2020)-HD: ganzer film

https://boxelder.instructure.com/courses/37852/pages/ganzer-film-~-greenland-~-%7Cdeutsch-film-stream-online-2020-hd ..

[[GANZER-film]] ~ Greenland ~ |Deutsch film Stream online (2020)-HD: ganzer film

https://boxelder.instructure.com/courses/37852/pages/ganzer-film-~-greenland-~-%7Cdeutsch-film-stream-online-2020-hd ..

© 2019 topfind88.com. Imprint, All rights reserved.