I’ve been playing Baldur’s Gate with GemRB lately.
I have found it to be pretty unstable on my Kindle Fire HD 8.9″, so I want to try to run it under a debugger and see where it crashes. My first step is to try to get the code locally and build it.
I’ll need GIT for that and heard that the Git OSX Installer is a reasonable way to get GIT for Mac. So I’ve installed that.
I had to set up a Github account (as FuguTabetai) and add SSH keys to that. Once I did that though, I was able to clone the repository (on my personal MacBook, ~/Documents/workspace):
$ git clone git@github.com:gemrb/gemrb.git
So now I have the code locally. The question is, now what to do with it. Let me take a look around. The android subdir has a great README setting out what I need to build. That includes the android-sdk (already installed due to playing around with that a few weeks ago) but I’ll need to get android-ndk, mercurial (apparently) as well. Including stuff from the gemrb, I will probably also need to get cmake, make, g++, and a bunch of libraries: Zlib, Python 2.3, SDL 1.2, OpenAL, SDL_Mixer, libpng, FreeType, iconv, libVLC 2.0+.
Wow, this might take a while to get going. I have used fink in the past, but it looks like right now that is hosed. I think it would be nice to install MacPorts, but that needs the command line tools for developers to be installed. I can only find downloads for that for Mountain Lion or Lion. I’m on Snow Leopard. I found that I can download Xcode 4.2 for Snow Leopard and that includes the command line tools. So I’ll do that. I think I’ll need to upgrade to a newer OSX version at some point soon though.
I’m trying to do this so I can install MacPorts, and from there the other libraries that I need to build gemrb. I think this is going to take a while – I have to at least wait for the 1.8GB Xcode download to finish over the hotel internet.
Leave a Reply