Building FT1.2 on Mac OS X Help

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Building FT1.2 on Mac OS X Help

Post #1by BlindedByTheLight » 16.11.2005, 10:38

So I tried to build straight off FT's download. Got an error. Before I go through the hassle of posting, I seem to recall many tweaks that were required to get FT1.1 to build. Before I go through the hassle of that... just wondering if anyone has any good tips?

Specifically, Hank - you had recommended this for FT1.1:

hank wrote:Mac OS X builders:

I was able to build Celestia-1.4.0pre-FT1.1 using Xcode 1.5 on Mac OS X 10.3 with the following changes:

In the file 'celestia-1.4.0pre-FT1.1/src/celengine/name.h', insert ;// at the beginning of line 74.

In the file 'celestia-1.4.0pre-FT1.1/macosx/CelestiaGalaxy.mm' insert // at the beginning of lines 58, 62, and 82.

In the file 'celestia-1.4.0pre-FT1.1/macosx/BrowserWindowController.mm', insert /* at the end of line 38 and */ at the beginning of line 54.

In the Xcode project "celestia" window, navigate to 'celestia>Celestia Main>celengine' in the "Groups & Files" pane, then uncheck the box at the extreme right on the line for 'octree.cpp'.

In the Xcode project "celestia" window, navigate to 'celestia>Celestia Main>celengine' in the "Groups & Files" pane, then use the "Project>Add to Project..." menu item to add the following files to the project (set the "Reference Type:" option to "Relative to Project").

'celestia-1.4.0pre-FT1.1/src/celengine/dsodb.cpp'
'celestia-1.4.0pre-FT1.1/src/celengine/dsodb.h'
'celestia-1.4.0pre-FT1.1/src/celengine/dsoname.cpp'
'celestia-1.4.0pre-FT1.1/src/celengine/dsoname.h'
'celestia-1.4.0pre-FT1.1/src/celengine/dsooctree.cpp'
'celestia-1.4.0pre-FT1.1/src/celengine/dsooctree.h'
'celestia-1.4.0pre-FT1.1/src/celengine/staroctree.cpp'
'celestia-1.4.0pre-FT1.1/src/celengine/staroctree.h'

YMMV.


Is that still something I need to do?

Thanks!
Steven Binder, Mac OS X 10.4.10

Topic author
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #2by BlindedByTheLight » 16.11.2005, 10:54

FYI - I took the leap, Hank, and applied all your old tweaks... everything built fine. I hope they all were necessary and I didn't screw anything up.
Steven Binder, Mac OS X 10.4.10


Return to “Development”