Page 1 of 1

How can I compile celestia from source on Mac OSX?

Posted: 25.12.2011, 06:07
by leifanator
I want to change the flare color of some star-spectral-types, and it appears to me that the only way to do that is by modifying render.cpp.

I usually use and prefer a binary installation, but I need to run my own mod this time. I've never compiled something from source, and I can't find any tutorial on how to do this. Help would be appreciated :)

Thanks in advance.

Re: How can I compile celestia from source on Mac OSX?

Posted: 25.12.2011, 16:34
by selden
how to build Celestia is described in the WikiBook at
http://en.wikibooks.org/wiki/Celestia#Development

Re: How can I compile celestia from source on Mac OSX?

Posted: 25.12.2011, 23:33
by leifanator
selden wrote:how to build Celestia is described in the WikiBook at
http://en.wikibooks.org/wiki/Celestia#Development

It came up with 1 error:

Code: Select all

GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file POConverter.m)

Is there a way to get around this?

Also, in that line, it says 'Mac OS X 10.4'. That must be the version of xcode? I'm running OSX 10.6 - Intel.

EDIT: I'm going to try installing xCode 3.2.6 and using that instead. I post my results when I'm done.