News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[git 14-5-09] compiled OS X experimental binary

Started by jtoomim, May 17, 2009, 11:34:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jtoomim

I compiled a binary for Mac OS X of the experimental branch.  I'm not going to take the time to package it and test it on other computers.  If someone else wants to pick that up, it would be great.  The binary can be found here:

http://jtoomim.org/code/simutrans-experimental

As far as I know, it should be a drop-in replacement for the standard simutrans executable in the OS X zipfile on http://www.simutrans.com/download.htm.  I don't know if it's a universal binary or intel-only.  I'm pretty sure it requires both SDL and SDL_mixer to be installed.

In order to get it to compile, I modified the Makefile as described here:
http://forum.simutrans.com/index.php?topic=2084


jamespetts

Jtoomim,

thank you very much! That is most helpful. Are there any MacOS X users out there who'd like to test it? :-)
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

MoTw

Doesn't work for me because I don't have libSDL 1.2.0 installed and I won't get it installed for the next week... But then I could test it.
world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons

wernieman

@MoTw

You have test my normal simutrans nightlys? ANd they work without libSDL installed???
I hope you understand my English

MoTw

Umm,... Yes, it worked - Well, I think I have installed SDL, but simutrans-experimental itself doesn't think so.
world is like a parachute: it works better when it's open
whenever you feel lost and alone, always remember your calculator is something you can count on
pak96.comic addons

jamespetts

MoTw,

thank you very much for attempting to test this! I am not sure what the problem is, since I don't use a Mac - I know that, on Windows for the SDL version that I have just managed to get working, I use the latest SDL libraries (2.x), which work fine.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

wernieman

I hope you understand my English

jamespetts

Ahh - must have misremembered the version number; sorry! I posted that from work where I do not have access to my code, so have to work from memory.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

jtoomim

I'm guessing the sim-exp problem with SDL is due to the simutrans-experimental binary looking for SDL as a standard Unix library instead of as a framework.  You can read how to install SDL Unix-style here:

http://www.libsdl.org/faq.php?action=listentries&category=7#81

You need GCC in order to do that, though.

I compiled what I believe is a framework-based version of sim-exp (by commenting out the sdl-config line in config.default).  This one's is more likely to be useful to other people.  You can get and test it here:

http://jtoomim.org/code/simutrans-frameworkexperimental

Sorry, I forgot there was one more change I had to make in order to get the experimental version to compile.  The config.default option line

FLAGS = -NEW_PATHING

needs to be

FLAGS = -DNEW_PATHING

for it to compile.  This applies to the binary I posted yesterday as well as this binary.

jamespetts

As an update, as of version 3.9, the NEW_PATHING flag is deprecated: all of the old pathing code is removed.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.