compiling problems

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

compiling problems

Post #1by rthorvald » 15.06.2007, 11:42

I tried to update my Celestia today: the download seemed to go fine, but the build failed.

So, i deleted my Celestia project (the entire folder) and started fresh. This build worked, but the resulting application crashes immediately when i try to launch it.

(On Intel OSX 10.4.8.)

What do i do now? Is this on my end, or on the server end?
I am pretty much ignorant of everything regarding compiling software, i just follow a recipe that has worked up until now.

Thanks for any input,
- rthorvald
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #2by ElChristou » 15.06.2007, 11:59

Have you updated your xcode (now 2.4.1)? recently I have some problems due to an older version...
Image

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #3by rthorvald » 15.06.2007, 12:05

ElChristou wrote:Have you updated your xcode (now 2.4.1)? recently I have some problems due to an older version...


Maybe that is it... I have 2.4.0. Will try.

- rthorvald
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #4by ElChristou » 15.06.2007, 12:08

Once done, no need to rename anything in macosx, you should be able to open celestia.xcodeproj without problem and compiling with success...
Image

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #5by rthorvald » 15.06.2007, 12:15

ElChristou wrote:Once done, no need to rename anything in macosx, you should be able to open celestia.xcodeproj without problem and compiling with success...


Hm...
I had to register in their developer program to be able to download the update. Oh, well.

- rthorvald
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #6by ElChristou » 15.06.2007, 12:36

Don't you have an Apple ID? (when registering for the forum?) you can use it to get the download...
Image

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #7by rthorvald » 15.06.2007, 12:48

ElChristou wrote:Don't you have an Apple ID? (when registering for the forum?) you can use it to get the download...

Sure... But don??t remember the user ID, i haven??t used it for years. To me, all these sites wanting one to register for the tiniest thing is just an annoyance, generating one throwaway ID in their database after another...

- rthorvald
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #8by dirkpitt » 15.06.2007, 14:07

Xcode 2.4.0 should also work. Were you opening celestia.xcodeproj, or celestia.xcode?
Only celestia.xcodeproj currently works.

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #9by rthorvald » 15.06.2007, 14:36

dirkpitt wrote:Xcode 2.4.0 should also work. Were you opening celestia.xcodeproj, or celestia.xcode?
Only celestia.xcodeproj currently works.


I did it again just now, making sure to open xcodeproj. With an updated Xtools as of today, also. It still crashes immediately. I don??t even get as far as the splash screen.

Your build from three days ago works fine, though.

- rthorvald
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #10by ElChristou » 15.06.2007, 14:50

rthorvald wrote:
dirkpitt wrote:Xcode 2.4.0 should also work. Were you opening celestia.xcodeproj, or celestia.xcode?
Only celestia.xcodeproj currently works.

I did it again just now, making sure to open xcodeproj. With an updated Xtools as of today, also. It still crashes immediately. I don??t even get as far as the splash screen.

Your build from three days ago works fine, though.

- rthorvald


It's the symptom I had before updating Xcode...
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #11by dirkpitt » 15.06.2007, 23:36

I tried downloading from CVS afresh myself. It seems to run fine (default addons, OS X 10.4.9). Could you send me your crash log?

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #12by rthorvald » 17.06.2007, 12:35

dirkpitt wrote:I tried downloading from CVS afresh myself. It seems to run fine (default addons, OS X 10.4.9). Could you send me your crash log?


Here it is:

Code: Select all



Date/Time:      2007-06-17 14:25:30.500 +0200
OS Version:     10.4.8 (Build 8N1051)
Report Version: 4

Command: Celestia
Path:    /Applications/Celestia_15/Celestia.app/Contents/MacOS/Celestia
Parent:  WindowServer [62]

Version: 1.4.2 (0)

PID:    200
Thread: 0

Exception:  EXC_BREAKPOINT (0x0006)
Code[0]:    0x00000002
Code[1]:    0x00000000


Thread 0 Crashed:
0   com.apple.Foundation     0x9262b50b _NSRaiseError + 227
1   com.apple.Foundation     0x926522cb +[NSException raise:format:] + 57
2   com.apple.Foundation     0x926da54a -[NSObject doesNotRecognizeSelector:] + 123
3   com.apple.Foundation     0x925fe3d7 -[NSObject(NSForwardInvocation) forward::] + 184
4   libobjc.A.dylib          0x90a59cc1 _objc_msgForward + 49
5   net.shatters.Celestia    0x0004f138 -[CelestiaController awakeFromNib] + 252
6   com.apple.Foundation     0x925f0670 -[NSSet makeObjectsPerformSelector:] + 164
7   com.apple.AppKit         0x93276686 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1015
8   com.apple.AppKit         0x933873db old_loadNib + 261
9   com.apple.AppKit         0x9326d427 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 1028
10  com.apple.AppKit         0x9326d01a +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 164
11  com.apple.AppKit         0x9326cf5c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 392
12  com.apple.AppKit         0x9326cca3 NSApplicationMain + 433
13  net.shatters.Celestia    0x00002b2e _start + 216
14  net.shatters.Celestia    0x00002a55 start + 41

Thread 1:
0   libSystem.B.dylib        0x90009857 mach_msg_trap + 7
1   com.unsanity.ape         0xc0001cac __ape_agent + 307
2   libSystem.B.dylib        0x90023d87 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib        0x90024427 semaphore_wait_signal_trap + 7
1   GLEngine                 0x059d1f7e gleCmdProcessor + 350
2   libSystem.B.dylib        0x90023d87 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x001e3000    ebx: 0x9262b436 ecx: 0x90a58321 edx: 0x00407b00
  edi: 0x063037e0    esi: 0x004ce460 ebp: 0xbffff968 esp: 0xbffff900
   ss: 0x0000001f    efl: 0x00000246 eip: 0x9262b50b  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -   0x11ffff net.shatters.Celestia 1.4.2 (0)   /Applications/Celestia_15/Celestia.app/Contents/MacOS/Celestia
  0x3b4000 -   0x3d1fff com.unsanity.windowshadex.cocoa 4.1.1 (???)   /Users/thorvald/Library/Application Enhancers/WindowShade X.ape/Contents/PlugIns/WindowShade X Cocoa.ape/Contents/MacOS/WindowShade X Cocoa
  0x613000 -   0x62ffff GLDriver    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
  0x636000 -   0x65afff GLRendererFloat    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
 0x58e6000 -  0x5a3ffff GLEngine    /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
 0x5a6b000 -  0x5c59fff com.apple.ATIRadeonX1000GLDriver 1.4.42 (4.4.2)   /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver
 0xa000000 -  0xa01dfff liblua.dylib    /Applications/Celestia_15/Celestia.app/Contents/Frameworks/liblua.dylib
 0xc000000 -  0xc01afff libpng.dylib    /Applications/Celestia_15/Celestia.app/Contents/Frameworks/libpng.dylib
0x8fe00000 - 0x8fe49fff dyld 46.9   /usr/lib/dyld
0x90000000 - 0x9016ffff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0x901bf000 - 0x901c1fff libmathCommon.A.dylib    /usr/lib/system/libmathCommon.A.dylib
0x901c3000 - 0x90200fff com.apple.CoreText 1.1.1 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90227000 - 0x902fdfff ATS    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031d000 - 0x90772fff com.apple.CoreGraphics 1.258.51 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90809000 - 0x908d1fff com.apple.CoreFoundation 6.4.6 (368.27)   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9090f000 - 0x9090ffff com.apple.CoreServices 10.4 (???)   /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90911000 - 0x90a04fff libicucore.A.dylib    /usr/lib/libicucore.A.dylib
0x90a54000 - 0x90ad3fff libobjc.A.dylib    /usr/lib/libobjc.A.dylib
0x90afc000 - 0x90b60fff libstdc++.6.dylib    /usr/lib/libstdc++.6.dylib
0x90bcf000 - 0x90bd6fff libgcc_s.1.dylib    /usr/lib/libgcc_s.1.dylib
0x90bdb000 - 0x90c4efff com.apple.framework.IOKit 1.4.6 (???)   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c63000 - 0x90c75fff libauto.dylib    /usr/lib/libauto.dylib
0x90c7b000 - 0x90f21fff com.apple.CoreServices.CarbonCore 682.15   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f64000 - 0x90fccfff com.apple.CoreServices.OSServices 4.1   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x91005000 - 0x91043fff com.apple.CFNetwork 129.19   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91056000 - 0x91066fff com.apple.WebServices 1.1.3 (1.1.0)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91071000 - 0x910f0fff com.apple.SearchKit 1.0.5   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9112a000 - 0x91148fff com.apple.Metadata 10.4.4 (121.36)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91154000 - 0x91162fff libz.1.dylib    /usr/lib/libz.1.dylib
0x91165000 - 0x91304fff com.apple.security 4.5.2 (29774)   /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91402000 - 0x9140afff com.apple.DiskArbitration 2.1.1   /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91411000 - 0x91437fff com.apple.SystemConfiguration 1.8.6   /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91449000 - 0x91450fff libbsm.dylib    /usr/lib/libbsm.dylib
0x91454000 - 0x914cafff com.apple.audio.CoreAudio 3.0.4   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151b000 - 0x9151bfff com.apple.ApplicationServices 10.4 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9151d000 - 0x91549fff com.apple.AE 314 (313)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9155c000 - 0x91630fff com.apple.ColorSync 4.4.6   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9166b000 - 0x916defff com.apple.print.framework.PrintCore 4.6 (177.13)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9170c000 - 0x917b5fff com.apple.QD 3.10.21 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917db000 - 0x91826fff com.apple.HIServices 1.5.2 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91845000 - 0x9185bfff com.apple.LangAnalysis 1.6.3   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91867000 - 0x91882fff com.apple.FindByContent 1.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x9188d000 - 0x918cafff com.apple.LaunchServices 181   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918de000 - 0x918eafff com.apple.speech.synthesis.framework 3.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918f1000 - 0x9192cfff com.apple.ImageIO.framework 1.5.0   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9193e000 - 0x919f0fff libcrypto.0.9.7.dylib    /usr/lib/libcrypto.0.9.7.dylib
0x91a36000 - 0x91a4cfff libcups.2.dylib    /usr/lib/libcups.2.dylib
0x91a51000 - 0x91a6ffff libJPEG.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a74000 - 0x91ad2fff libJP2.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91ae4000 - 0x91ae8fff libGIF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91aea000 - 0x91b67fff libRaw.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b6b000 - 0x91ba8fff libTIFF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bae000 - 0x91bc8fff libPng.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91bcd000 - 0x91bcffff libRadiance.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bd1000 - 0x91bd1fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91bd3000 - 0x91c61fff com.apple.vImage 2.5   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91c68000 - 0x91c68fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91c6a000 - 0x91cc3fff libvMisc.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91ccc000 - 0x91cf0fff libvDSP.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91cf8000 - 0x92101fff libBLAS.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9213b000 - 0x924effff libLAPACK.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9251c000 - 0x9259afff com.apple.DesktopServices 1.3.5   /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x925db000 - 0x9280bfff com.apple.Foundation 6.4.7 (567.28)   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92917000 - 0x929f5fff libxml2.2.dylib    /usr/lib/libxml2.2.dylib
0x92a12000 - 0x92afffff libiconv.2.dylib    /usr/lib/libiconv.2.dylib
0x92b0f000 - 0x92b26fff libGL.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b31000 - 0x92b89fff libGLU.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92b9d000 - 0x92b9dfff com.apple.Carbon 10.4 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92b9f000 - 0x92baffff com.apple.ImageCapture 3.0.4   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92bbe000 - 0x92bc6fff com.apple.speech.recognition.framework 3.6   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92bcc000 - 0x92bd2fff com.apple.securityhi 2.0.1 (24742)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92bd8000 - 0x92c69fff com.apple.ink.framework 101.2.1 (71)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92c7d000 - 0x92c81fff com.apple.help 1.0.3 (32.1)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92c84000 - 0x92ca2fff com.apple.openscripting 1.2.5 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92cb4000 - 0x92cbafff com.apple.print.framework.Print 5.2 (192.4)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92cc0000 - 0x92d23fff com.apple.htmlrendering 66.1 (1.1.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92d4a000 - 0x92d8bfff com.apple.NavigationServices 3.4.4 (3.4.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92db2000 - 0x92dc0fff com.apple.audio.SoundManager 3.9.1   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92dc7000 - 0x92dccfff com.apple.CommonPanels 1.2.3 (73)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92dd1000 - 0x930c5fff com.apple.HIToolbox 1.4.8 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x931cb000 - 0x931d6fff com.apple.opengl 1.4.13   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93266000 - 0x93266fff com.apple.Cocoa 6.4 (???)   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93268000 - 0x9391efff com.apple.AppKit 6.4.8 (824.42)   /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93c9f000 - 0x93d18fff com.apple.CoreData 90   /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d51000 - 0x93e09fff com.apple.audio.toolbox.AudioToolbox 1.4.3   /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e4b000 - 0x93e4bfff com.apple.audio.units.AudioUnit 1.4.2   /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e4d000 - 0x9401ffff com.apple.QuartzCore 1.4.10   /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94070000 - 0x940b1fff libsqlite3.0.dylib    /usr/lib/libsqlite3.0.dylib
0x940b9000 - 0x940f3fff libGLImage.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9427c000 - 0x9428bfff libCGATS.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94292000 - 0x9429dfff libCSync.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x964f5000 - 0x96585fff libcrypto.0.9.dylib    /usr/lib/libcrypto.0.9.dylib
0x96fa5000 - 0x9707bfff libGLProgrammability.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x97096000 - 0x97097fff libGLSystem.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib
0xc0000000 - 0xc000efff com.unsanity.ape 2.0.2   /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer





- rthorvald
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #13by dirkpitt » 17.06.2007, 23:42

This looks like one of the files you have is not the latest version (probably MainMenu.nib, or ScriptsController.h/ScriptsController.mm).

Could you try using these steps to download from CVS to a clean folder? (Updated 2007-06-17)
**Note that the cvs commands are different from the commands I wrote last year**

(0. If not already done so, install Xcode 2.4.x from the OS X CD/DVD, or download it from Apple. Make sure that you choose options and install the Universal SDK)
1. Open Terminal
2. Type, or paste in: cvs -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia login
3. As the Password: prompt, hit return
4. Type:
cvs -z3 -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia co -P celestia
(the "co" means "check out")
5. Wait for a while, until the download is complete
6. Navigate to the new "celestia" folder inside your home folder, look for the celestia.xcodeproj file inside the "macosx" folder and double click it
7. Choose Build > Build and Debug, or Build and Run

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #14by rthorvald » 18.06.2007, 00:13

dirkpitt wrote:Choose Build > Build and Debug, or Build and Run

I selected "build and debug". After a while, i got a message in xcode that said it succeded, so i tried to quit. It seems some process was still running - i guess it was just a printout of a debugging routine, so i quit anyway, after a while (how long would that have gone on?)

Anyway, this resulted in a celestia.app, without the accompagnying directories. So i dropped this into the Celestiafolder i retrieved a couple of days ago and launched it. This worked! It is labelled "debug version" - but that is what you were after, i guess...

Anyway, it works. Should i try to do a regular update now, and see what i get?

- rthorvald
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #15by dirkpitt » 18.06.2007, 03:34

Not quite.. does the Debug version that you just built display the Scripts menu correctly? (My guess is: probably not)

Does it still work if you choose the "Universal_Release" build target, and then "Build and Run"?

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #16by rthorvald » 18.06.2007, 08:36

dirkpitt wrote:Not quite.. does the Debug version that you just built display the Scripts menu correctly? (My guess is: probably not)
I can??t test, i don??t have a scripts directory. Where should i make one, and what would be its name? (I have a scripts menu item, but no scripts).


dirkpitt wrote:Does it still work if you choose the "Universal_Release" build target, and then "Build and Run"?

... Will get back to you on that.

- rthorvald
Image

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #17by dirkpitt » 18.06.2007, 13:54

Try copying the "scripts" (all lowercase) from inside the celestia folder that you got from CVS, into your CelestiaResources folder. Relaunch Celestia to see changes take effect.

Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #18by rthorvald » 18.06.2007, 14:44

dirkpitt wrote:Try copying the "scripts" (all lowercase) from inside the celestia folder that you got from CVS, into your CelestiaResources folder. Relaunch Celestia to see changes take effect.


Ok, the script menus works nicely!

- rthorvald
Image


Return to “Development”