How can I compile celestia from source on Mac OSX?

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
leifanator
Posts: 6
Joined: 24.10.2011
With us: 13 years 1 month

How can I compile celestia from source on Mac OSX?

Post #1by leifanator » 25.12.2011, 06:07

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.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

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

Post #2by selden » 25.12.2011, 16:34

how to build Celestia is described in the WikiBook at
http://en.wikibooks.org/wiki/Celestia#Development
Selden

Topic author
leifanator
Posts: 6
Joined: 24.10.2011
With us: 13 years 1 month

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

Post #3by leifanator » 25.12.2011, 23:33

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.


Return to “Help Central”