Page 1 of 1

Building FT1.2 on Mac OS X Help

Posted: 16.11.2005, 10:38
by BlindedByTheLight
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!

Posted: 16.11.2005, 10:54
by BlindedByTheLight
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.