Page 1 of 1

Compiling in Mac OS X

Posted: Sat Jul 23, 2016 5:06 am
by MalReynolds
Sorry to ask this, but are there clear steps listing out what would need to be done to compile 2.3.8 (or whatever is the best choice) (and the Theme module) for a Mac running any recent vintage of OS X?

I see the github instructions about cmake, but I am having problems getting jansson into the right spot for cmake to see it, etc. and having a hundred other problems.

I was just really hoping for a numbered list starting from scratch, assuming a person has to download everything relevant to compile to get 2.3.8 (or whatever) (and the Theme module) up and running. Thanks!

Re: Compiling in Mac OS X

Posted: Sat Jul 23, 2016 6:04 pm
by Lord Estraven
I keep getting this picture in my head of Captain Mal cursing over a battered Macbook... :)

I'm not sure if OSX is supported in 2.3.X. OSX has... not been a focus of development, and there is no native interface (at least in the code available on Github). XQuartz should work though. I think.

jansson shouldn't be needed for anything before 2.3.9-ah, IIRC. If you need it, it should compile and install on OSX. However, I believe it's detected using pkg-config, which seems to be available mostly through MacPorts/Homebrew/etc. Installing pkg-config and jansson through a port manager - and also boost-system and boost-filesystem, if you wanted to try the 2.4.x C++ version - might work. Maybe.

If you have a recent-vintage Mac, with lots of RAM and a VT-X capable processor, it might make more sense to use a Linux VM for ToME.

Oh, and if you do go with the pure C/jansson version, please be aware that anything before this revision has Automizer bugs that will crash the game, should you decide to use the Automizer.

(If it helps, I've tagged that revision separately as the pure-c branch: https://github.com/miramor/tome2/tree/pure-c )

Good luck and happy leveling.