avatar Re: ArmyCalc's Eye on Mac OS X
July 25, 2011 08:30PM
I have uploaded a new version: http://william.malmi.se/files/armycalc/ArmyCalc%20Eye%200.6.0.dmg

I have included the following frameworks:

libcrypto.0.9.7.dylib
libedit.2.dylib
libexpat.1.dylib
libgcc_s.1.dylib
libqcncodecs.dylib
libqgenericbearer.dylib
libqgif.dylib
libqico.dylib
libqjpcodecs.dylib
libqjpeg.dylib
libqkrcodecs.dylib
libqmng.dylib
libqsvg.dylib
libqtiff.dylib
libqtwcodecs.dylib
libssl.0.9.7.dylib
libstdc++.6.dylib
libSystem.B.dylib
libz.1.dylib
phonon
QtCore
QtGui
QtNetwork
QtSvg
QtWebKit
QtXml



Edited 1 time(s). Last edit at 07/25/2011 08:31PM by WilliamWM.
avatar Re: ArmyCalc's Eye on Mac OS X
July 27, 2011 01:08PM
I now have access to another Mac (which does not have Xcode installed).

I tried to launch the app and got the same error, that QTWebKit could not be found at a specific location. That means that QtWebKit is not referenced as located in the framework folder, but explicitly in my Developer folder.

Any idea of how to change that?

My error message:
Process:         ACE [1936]
Path:            /Applications/ACE.app/Contents/MacOS/ACE
Identifier:      armycalc.com
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [165]

Date/Time:       2011-07-27 13:06:38.386 +0200
OS Version:      Mac OS X 10.6.7 (10J869)
Report Version:  6

Interval Since Last Report:          773 sec
Crashes Since Last Report:           1
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      96FD96CA-7C09-49FB-96DA-E3470F64CA9B

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit
  Referenced from: /Applications/ACE.app/Contents/MacOS/ACE
  Reason: image not found

Binary Images:
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld

Model: MacBookPro7,1, BootROM MBP71.0039.B0B, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f5
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.36.9)
Bluetooth: Version 2.4.0f1, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD6400BEVT-16A0RT0, 596,17 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24600000
USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0x26100000
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8213, 0x06610000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x06500000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0237, 0x06300000
avatar Re: ArmyCalc's Eye on Mac OS X
July 28, 2011 07:44PM
I did some research and might have an idea! No idea how I did it last time I was building ace but check this out:

[doc.qt.nokia.com]

especially this part:
Now that we have copied the Qt library into the bundle, we must update both the library and the executable so that they know where they can be found. This is where the install_name_tool command-line tool comes in handy.

So i assume you have a file
ACE.app/Contents/Frameworks/QtWebKit
but the executable is linked to:
/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit

and system can't find it. i guess you would have to run (as said in the link)

install_name_tool -id @executable_path/../Frameworks/QtWebKit ACE.app/Contents/Frameworks/QtWebKit

install_name_tool -change QtWebKit @executable_path/../Frameworks/QtWebKit ACE.app/Contents/MacOS/ace
(not sure about the executable name in last command)
And of course run it for every Qt Shared library file.

Hope this will help.


PS. Maybe i have avoided this problems because i choose the first option and linked Qt static? This is also described in link but requires rebuilding Qt from sources.
Also maybe you can download ace 0.1 from current download page and run otool on the executable? Maybe this will tell us something.

cheers



avatar Re: ArmyCalc's Eye on Mac OS X
July 29, 2011 12:38PM
Sounds very reasonable. I'll give it a try and post back with the results.
avatar Re: ArmyCalc's Eye on Mac OS X
July 31, 2011 01:36PM
Hmm, I don't seem to get shared libraries to work. Maybe I am executing the command from the wrong place. I have tried from inside the Frameworks folder, inside the MacOS folder and from outside the app. No go.

I will see if I can create a static library instead, or find out where I am supposed to be when executing the command.



Edited 1 time(s). Last edit at 07/31/2011 01:50PM by WilliamWM.
avatar Re: ArmyCalc's Eye on Mac OS X
July 31, 2011 02:18PM
hmm,
i think the last parameter:
ACE.app/Contents/Frameworks/QtWebKit

is path to the library/executable

so i guess you will need to run this comment beeing in the same folder ACE.app is in.

also in the second command
ACE.app/Contents/MacOS/ace
i am not sure what is the executable name (is it 'ace' or not)


Have you tried running otool on ace v 0.1 ? this might be helpful.

cheers,



avatar Re: ArmyCalc's Eye on Mac OS X
July 31, 2011 07:07PM
Ok, something is wrong. This is what I do:

Williams-MacBook:app williamwm$ pwd
/Developer/Projects/ace/install/app
Williams-MacBook:app williamwm$ otool -L ACE.app/Contents/MacOS/ACE 
ACE.app/Contents/MacOS/ACE:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtXml.framework/Versions/Current/QtXml (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtGui.framework/Versions/Current/QtGui (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtNetwork.framework/Versions/Current/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtCore.framework/Versions/Current/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 830.0.0)
Williams-MacBook:app williamwm$ ls ACE.app/Contents/Frameworks/
QtCore			QtNetwork		QtXml			libedit.2.dylib		libgcc_s.1.dylib	libz.1.dylib
QtGui			QtWebKit		libSystem.B.dylib	libexpat.1.dylib	libstdc++.6.dylib
Williams-MacBook:app williamwm$ install_name_tool -id @executable_path/../Frameworks/QtWebKit ACE.app/Contents/Frameworks/QtWebKit 
Williams-MacBook:app williamwm$ install_name_tool -change QtWebKit @executable_path/../Frameworks/QtWebKit ACE.app/Contents/MacOS/ACE 
Williams-MacBook:app williamwm$ otool -L ACE.app/Contents/MacOS/ACE 
ACE.app/Contents/MacOS/ACE:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtXml.framework/Versions/Current/QtXml (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtGui.framework/Versions/Current/QtGui (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtNetwork.framework/Versions/Current/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtCore.framework/Versions/Current/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 830.0.0)
Williams-MacBook:app williamwm$

As you can see, nothing changes. I will try the static library approach instead.



Edited 2 time(s). Last edit at 07/31/2011 07:25PM by francio.
avatar Re: ArmyCalc's Eye on Mac OS X
July 31, 2011 07:32PM
hmm, did some more reading
[lapcatsoftware.com]
we need
otool -L ACE.app/Contents/MacOS/ACE
to output something like:

ACE.app/Contents/MacOS/ACE:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	@executable_path/../Frameworks/QtWebKit (compatibility version 4.7.0, current version 4.7.3)
	...

maybe the install_name_tool needs the whole 'installname' of library and instead of:
install_name_tool -change QtWebKit @executable_path/../Frameworks/QtWebKit ACE.app/Contents/MacOS/ACE
you would have to run:
install_name_tool -change /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit @executable_path/../Frameworks/QtWebKit ACE.app/Contents/MacOS/ACE

also instead of "/Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit" you can try path that otool -D is showing.
otool -D ACE.app/Contents/MacOS/ACE

unfortunately that's all are just my guesses.



avatar Re: ArmyCalc's Eye on Mac OS X
August 01, 2011 09:31AM
Of course! That makes perfect sense!

Quote
install_name_tool -change /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtWebKit.framework/Versions/Current/QtWebKit @executable_path/../Frameworks/QtWebKit ACE.app/Contents/MacOS/ACE

That solved the problem, the otool output now looks like this:

otool -L ACE.app/Contents/MacOS/ACE ACE.app/Contents/MacOS/ACE:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	@executable_path/../Frameworks/QtWebKit (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtXml (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtGui (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 830.0.0)

I will try the app on my other Mac in a few hours time when my daughter is napping. I will report after that.
avatar Re: ArmyCalc's Eye on Mac OS X
August 01, 2011 01:19PM
I have been able to install the Frameworks, which works fine for all except QtGui. For some reason it is not happy being integrated in to the App. If I install QtGui, the App crashes on start. If I leave the reference to my QtSDK it works fine, this is a part of the error message I get when running it:

       0x100129000 -        0x1013defe7 +QtWebkit 4.7.3 (compatibility 4.7.0) <BFC246DD-3CB6-5F9A-C012-8CF7810AFDD3> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtWebkit
       0x101b79000 -        0x101bb6fff +QtXml 4.7.3 (compatibility 4.7.0) <52FDF98C-58C6-9299-E146-32D13C21E057> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtXml
       0x101bd0000 -        0x1025a5fe7 +QtGui 4.7.3 (compatibility 4.7.0) <2E4C8591-7B5F-9493-BA0D-1E35F352D918> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtGui
       0x10284a000 -        0x102971ff7 +QtNetwork 4.7.3 (compatibility 4.7.0) <5651C615-4706-95B9-34D7-1501AEB63679> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtNetwork
       0x1029ca000 -        0x102c52fef +QtCore 4.7.3 (compatibility 4.7.0) <2AE1ECEA-6851-B7C1-4C80-486A4FFBF545> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtCore
       0x102ce6000 -        0x102d2bff7 +phonon 4.4.0 (compatibility 4.4.0) <07A0A4C4-B0DD-9EC4-4475-60B78A5F959B> /Developer/QtSDK/Desktop/Qt/473/gcc/lib/phonon.framework/Versions/4/phonon
       0x102d51000 -        0x103726fe7 +QtGui 4.7.3 (compatibility 4.7.0) <2E4C8591-7B5F-9493-BA0D-1E35F352D918> /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtGui.framework/Versions/4/QtGui
       0x1039cb000 -        0x103c53fef +QtCore 4.7.3 (compatibility 4.7.0) <2AE1ECEA-6851-B7C1-4C80-486A4FFBF545> /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtCore.framework/Versions/4/QtCore
       0x103ce7000 -        0x103e0eff7 +QtNetwork 4.7.3 (compatibility 4.7.0) <5651C615-4706-95B9-34D7-1501AEB63679> /Developer/QtSDK/Desktop/Qt/473/gcc/lib/QtNetwork.framework/Versions/4/QtNetwork

As you can see, all Qt-Frameworks except QtGui is referenced to be located locally in the Frameworks folder. I'll see if I can find something about this.

Perhaps it is missing some plug-ins for image formats, etc?
avatar Re: ArmyCalc's Eye on Mac OS X
August 01, 2011 04:53PM
But what is the full error message?

I guess the libraries are linked to other libraries and to each other and we need to tell them as well where they should look for.

Can you run otool -L on a library?
and then if QtCore is linked for example to:
/Developer/QtSDK/Desktop/Qt/473/gcc/lib/phonon.framework/Versions/4/phonon
you can run
cp /Developer/QtSDK/Desktop/Qt/473/gcc/lib/phonon.framework/Versions/4/phonon ACE.app/Contents/Frameworks
install_name_tool -id @executable_path/../Frameworks/phonon ACE.app/Contents/Frameworks/phonon
install_name_tool -change /Developer/QtSDK/Desktop/Qt/473/gcc/lib/phonon.framework/Versions/4/phonon @executable_path/../Frameworks/phonon ACE.app/Contents/Frameworks/phonon

It is hard to believe building macos packages is so complicated? even if we have already a running executable. Maybe we took a bad approach and there are already tools for doing this automatic?
Maybe this is the thing we are looking for?
[s.sudre.free.fr]



avatar Re: ArmyCalc's Eye on Mac OS X
August 01, 2011 08:54PM
(warning: huge post)

Yeah, I (seem to) have resolved all interdependencies between the Frameworks, but I can't get the App to boot, this is the output of otool:

$ otool -L ACE.app/Contents/MacOS/ACE 
ACE.app/Contents/MacOS/ACE:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	@executable_path/../Frameworks/QtWebkit (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtXml (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtGui (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 830.0.0)

and:

$ otool -L ACE.app/Contents/Frameworks/*
ACE.app/Contents/Frameworks/QtCore:
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)
ACE.app/Contents/Frameworks/QtGui:
	@executable_path/../Frameworks/QtGui (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.26.0)
ACE.app/Contents/Frameworks/QtNetwork:
	@executable_path/../Frameworks/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration (compatibility version 1.0.0, current version 212.2.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
ACE.app/Contents/Frameworks/QtWebKit:
	@executable_path/../Frameworks/QtWebKit (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/phonon (compatibility version 4.4.0, current version 4.4.0)
	@executable_path/../Frameworks/QtGui (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtNetwork (compatibility version 4.7.0, current version 4.7.3)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.26.0)
ACE.app/Contents/Frameworks/QtXml:
	@executable_path/../Frameworks/QtXml (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
ACE.app/Contents/Frameworks/libSystem.B.dylib:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/system/libmathCommon.A.dylib (compatibility version 1.0.0, current version 315.0.0)
ACE.app/Contents/Frameworks/libedit.2.dylib:
	/usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.11.0)
	/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
ACE.app/Contents/Frameworks/libexpat.1.dylib:
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
ACE.app/Contents/Frameworks/libgcc_s.1.dylib:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/usr/lib/system/libmathCommon.A.dylib (compatibility version 1.0.0, current version 315.0.0)
ACE.app/Contents/Frameworks/libstdc++.6.dylib:
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
ACE.app/Contents/Frameworks/libz.1.dylib:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
ACE.app/Contents/Frameworks/phonon:
	@executable_path/../Frameworks/phonon (compatibility version 4.4.0, current version 4.4.0)
	@executable_path/../Frameworks/QtGui (compatibility version 4.7.0, current version 4.7.3)
	@executable_path/../Frameworks/QtCore (compatibility version 4.7.0, current version 4.7.3)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)

But I get the following error message when I try to launch the app:

Process:         ACE [3760]
Path:            /Developer/Projects/ace/install/app/ACE.app/Contents/MacOS/ACE
Identifier:      armycalc.com
Version:         ??? (0.6.0)
Code Type:       X86-64 (Native)
Parent Process:  launchd [366]

Date/Time:       2011-08-01 20:53:36.434 +0200
OS Version:      Mac OS X 10.6.8 (10K540)
Report Version:  6

Interval Since Last Report:          -14179 sec
Per-App Interval Since Last Report:  245 sec
Per-App Crashes Since Last Report:   18
Anonymous UUID:                      373E1A75-5784-42B0-94C4-3B8E4AEFB93B

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff80b9a0b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff80c3a9f6 abort + 83
2   QtCore                        	0x00000001029cda15 qt_message_output(QtMsgType, char const*) + 117
3   QtCore                        	0x00000001029cdbf7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183
4   QtCore                        	0x00000001029cddba qFatal(char const*, ...) + 170
5   QtGui                         	0x0000000101bebc1b qt_init(QApplicationPrivate*, int) + 2283
6   QtGui                         	0x0000000101c5e59a QApplicationPrivate::construct() + 170
7   QtGui                         	0x0000000101c5ea56 QApplication::QApplication(int&, char**, int) + 102
8   armycalc.com                  	0x0000000100004016 main + 53 (main.cpp:9)
9   armycalc.com                  	0x0000000100003ea8 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff80b64c0a kevent + 10
1   libSystem.B.dylib             	0x00007fff80b66add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff80b667b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff80b662de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff80b65c08 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff80b65aa5 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff80b65a2a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff80b65e3c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff80b65aa5 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x00007fff5fbff5c8  rdx: 0x0000000000000000
  rdi: 0x0000000000000eb0  rsi: 0x0000000000000006  rbp: 0x00007fff5fbff5e0  rsp: 0x00007fff5fbff5c8
   r8: 0x00007fff700e7a60   r9: 0x000000010400f200  r10: 0x00007fff80b960fa  r11: 0x0000000000000206
  r12: 0x0000000000000003  r13: 0x00007fff5fbff690  r14: 0x0000000000000003  r15: 0x00007fff5fbff830
  rip: 0x00007fff80b9a0b6  rfl: 0x0000000000000206  cr2: 0x00007fff80c25162

Binary Images:
       0x100000000 -        0x1000a4fff +armycalc.com ??? (0.6.0) <4D5CC344-2AD0-1FCA-942A-E2A45C66F85B> /Developer/Projects/ace/install/app/ACE.app/Contents/MacOS/ACE
       0x1000fe000 -        0x10011afe7  libedit.2.dylib 2.11.0 (compatibility 2.0.0) <EAF4D57B-1ADC-06CF-DAC7-72AF835140FD> /usr/lib/libedit.2.dylib
       0x100129000 -        0x1013defe7 +QtWebkit 4.7.3 (compatibility 4.7.0) <BFC246DD-3CB6-5F9A-C012-8CF7810AFDD3> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtWebkit
       0x101b79000 -        0x101bb6fff +QtXml 4.7.3 (compatibility 4.7.0) <52FDF98C-58C6-9299-E146-32D13C21E057> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtXml
       0x101bd0000 -        0x1025a5fe7 +QtGui 4.7.3 (compatibility 4.7.0) <2E4C8591-7B5F-9493-BA0D-1E35F352D918> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtGui
       0x10284a000 -        0x102971ff7 +QtNetwork 4.7.3 (compatibility 4.7.0) <5651C615-4706-95B9-34D7-1501AEB63679> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtNetwork
       0x1029ca000 -        0x102c52fef +QtCore 4.7.3 (compatibility 4.7.0) <2AE1ECEA-6851-B7C1-4C80-486A4FFBF545> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/QtCore
       0x102ce6000 -        0x102d2bff7 +phonon 4.4.0 (compatibility 4.4.0) <07A0A4C4-B0DD-9EC4-4475-60B78A5F959B> /Developer/Projects/ace/install/app/ACE.app/Contents/Frameworks/phonon
       0x102f85000 -        0x102f92fff +com.rogueamoeba.audio_hijack_server.hermes 2.2.8 (2.2.8) <B7910466-778A-04F8-E24E-6C0994602E34> /usr/local/hermes/modules/Instant Hijack Server.hermesmodule/Contents/MacOS/Instant Hijack Server
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
    0x7fff80003000 -     0x7fff806ffff7  com.apple.CoreGraphics 1.545.0 (???) <58D597B1-EB3B-710E-0B8C-EC114D54E11B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff80700000 -     0x7fff8076afe7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <75A8D840-4ACE-6560-0889-2AFB6BE08E59> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff808cc000 -     0x7fff80997fff  ColorSyncDeprecated.dylib 4.6.0 (compatibility 1.0.0) <E72880D9-3B5D-D086-9266-F4F3C294619F> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
    0x7fff80998000 -     0x7fff80999ff7  com.apple.TrustEvaluationAgent 1.1 (1) <74800EE8-C14C-18C9-C208-20BBDB982D40> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8099a000 -     0x7fff809a7fe7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <1C35FA50-9C70-48DC-9E8D-2054F7A266B1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff80ace000 -     0x7fff80b0ffff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff80b10000 -     0x7fff80b4afff  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <7982734A-B66B-44AA-DEEC-364D2C10009B> /usr/lib/libcups.2.dylib
    0x7fff80b4b000 -     0x7fff80d0cfef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
    0x7fff80d53000 -     0x7fff80dd2fe7  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <79E256EB-43F1-C7AA-6436-124A4FFB02D0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff80e2d000 -     0x7fff80fa4fe7  com.apple.CoreFoundation 6.6.5 (550.43) <31A1C118-AD96-0A11-8BDF-BD55B9940EDC> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff80fa5000 -     0x7fff80fabff7  com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff80fac000 -     0x7fff80facff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <DA9BFF01-40DF-EBD5-ABB7-787DAF2D77CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff811f9000 -     0x7fff8152dfef  com.apple.CoreServices.CarbonCore 861.39 (861.39) <1386A24D-DD15-5903-057E-4A224FAF580B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8156d000 -     0x7fff8160dfff  com.apple.LaunchServices 362.3 (362.3) <B90B7C31-FEF8-3C26-BFB3-D8A48BD2C0DA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff8160e000 -     0x7fff82008ff7  com.apple.AppKit 6.6.8 (1038.36) <4CFBE04C-8FB3-B0EA-8DDB-7E7D10E9D251> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff82016000 -     0x7fff8203dff7  libJPEG.dylib ??? (???) <B9AA5816-8CCB-AFCB-61FD-3820C6E8219D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff822ca000 -     0x7fff822deff7  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <621B7415-A0B9-07A7-F313-36BEEDD7B132> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff822df000 -     0x7fff82414fff  com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <E5D7DBDB-6DDF-E6F9-C71C-86F4520EE5A3> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff82538000 -     0x7fff82582ff7  com.apple.Metadata 10.6.3 (507.15) <2EF19055-D7AE-4D77-E589-7B71B0BC1E59> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff82583000 -     0x7fff8259afff  com.apple.ImageCapture 6.1 (6.1) <79AB2131-2A6C-F351-38A9-ED58B25534FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8259b000 -     0x7fff825e2ff7  com.apple.coreui 2 (114) <D7645B59-0431-6283-7322-957D944DAB21> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8262d000 -     0x7fff8264aff7  libPng.dylib ??? (???) <4815A8F2-24A0-E783-8A5A-7B4959F562D7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8264b000 -     0x7fff8266cfff  libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <6993F348-428F-C97E-7A84-7BD2EDC46A62> /usr/lib/libresolv.9.dylib
    0x7fff8266d000 -     0x7fff8282bfff  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
    0x7fff834a8000 -     0x7fff834aafff  com.apple.print.framework.Print 6.1 (237.1) <CA8564FB-B366-7413-B12E-9892DA3C6157> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff836aa000 -     0x7fff836affff  libGIF.dylib ??? (???) <95443F88-7D4C-1DEE-A323-A70F7A1B4B0F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff836c2000 -     0x7fff836c4fff  libRadiance.dylib ??? (???) <76C1B129-6F25-E43C-1498-B1B88B37163B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff836c5000 -     0x7fff836c5ff7  com.apple.Carbon 150 (152) <19B37B7B-1594-AD0A-7F14-FA2F85AD7241> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff836f6000 -     0x7fff83718ff7  libexpat.1.dylib 7.2.0 (compatibility 7.0.0) <8EC31253-B585-D05E-F35D-AE3292FB790B> /usr/lib/libexpat.1.dylib
    0x7fff83719000 -     0x7fff837a5fef  SecurityFoundation ??? (???) <6860DE26-0D42-D1E8-CD7C-5B42D78C1E1D> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff83a10000 -     0x7fff83a38fff  com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff83a5a000 -     0x7fff83a73fff  com.apple.CFOpenDirectory 10.6 (10.6) <CCF79716-7CC6-2520-C6EB-A4F56AD0A207> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff83b6d000 -     0x7fff83b73ff7  com.apple.CommerceCore 1.0 (9.1) <3691E9BA-BCF4-98C7-EFEC-78DA6825004E> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff83bbf000 -     0x7fff83c59fe7  com.apple.ApplicationServices.ATS 275.16 (???) <4B70A2FC-1902-5F27-5C3B-5C78C283C6EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff83cac000 -     0x7fff83cb2ff7  IOSurface ??? (???) <04EDCEDE-E36F-15F8-DC67-E61E149D2C9A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff83cb3000 -     0x7fff83cbafff  com.apple.OpenDirectory 10.6 (10.6) <4200CFB0-DBA1-62B8-7C7C-91446D89551F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff83cbb000 -     0x7fff83e79ff7  com.apple.ImageIO.framework 3.0.4 (3.0.4) <6212CA66-7B18-2AED-6AA8-45185F5D9A03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff83e7a000 -     0x7fff83ec2ff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <170DE04F-89AB-E295-0880-D69CAFBD7979> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff83ec3000 -     0x7fff83ec3ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <2BB7D669-4B40-6A52-ADBD-DA4DB3BC0B1B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff83ec4000 -     0x7fff846cefe7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <FC941ECB-71D0-FAE3-DCBF-C5A619E594B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff84ed9000 -     0x7fff84edefff  libGFXShared.dylib ??? (???) <1D0D3531-9561-632C-D620-1A8652BEF5BC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff84f53000 -     0x7fff84fe3fff  com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8509b000 -     0x7fff85154fff  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
    0x7fff852c6000 -     0x7fff8554fff7  com.apple.security 6.1.2 (55002) <4419AFFC-DAE7-873E-6A7D-5C9A5A4497A6> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8555c000 -     0x7fff85587ff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <8AB4CA9E-435A-33DA-7041-904BA7FA11D5> /usr/lib/libxslt.1.dylib
    0x7fff85588000 -     0x7fff85589fff  liblangid.dylib ??? (???) <EA4D1607-2BD5-2EE2-2A3B-632EEE5A444D> /usr/lib/liblangid.dylib
    0x7fff8558a000 -     0x7fff8558dff7  libCoreVMClient.dylib ??? (???) <E03D7C81-A3DA-D44A-A88A-DDBB98AF910B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff8558e000 -     0x7fff85643fe7  com.apple.ink.framework 1.3.3 (107) <FFC46EE0-3544-A459-2AB9-94778A75E3D4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff85644000 -     0x7fff85782fff  com.apple.CoreData 102.1 (251) <32233D4D-00B7-CE14-C881-6BF19FD05A03> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff85783000 -     0x7fff85808ff7  com.apple.print.framework.PrintCore 6.3 (312.7) <CDFE82DD-D811-A091-179F-6E76069B432D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff85877000 -     0x7fff85877ff7  com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff85878000 -     0x7fff858d8fe7  com.apple.framework.IOKit 2.0 (???) <4F071EF0-8260-01E9-C641-830E582FA416> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff858d9000 -     0x7fff8599afff  libFontParser.dylib ??? (???) <A00BB0A7-E46C-1D07-1391-194745566C7E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff85a3d000 -     0x7fff85b57fef  libGLProgrammability.dylib ??? (???) <8A4B86E3-0FA7-8684-2EF2-C5F8079428DB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
    0x7fff85b75000 -     0x7fff85b78fff  com.apple.help 1.3.2 (41.1) <BD1B0A22-1CB8-263E-FF85-5BBFDE3660B9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff85b79000 -     0x7fff85c4dfe7  com.apple.CFNetwork 454.12.4 (454.12.4) <C83E2BA1-1818-B3E8-5334-860AD21D1C80> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff85c4e000 -     0x7fff85d04ff7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
    0x7fff85d83000 -     0x7fff85e01ff7  com.apple.CoreText 151.10 (???) <54961997-55D8-DC0F-2634-674E452D5A8E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff85e02000 -     0x7fff85e7ffef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff85f8a000 -     0x7fff85fc5fff  com.apple.AE 496.5 (496.5) <208DF391-4DE6-81ED-C697-14A2930D1BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff85fc6000 -     0x7fff85fdcfe7  com.apple.MultitouchSupport.framework 207.11 (207.11) <8233CE71-6F8D-8B3C-A0E1-E123F6406163> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff85feb000 -     0x7fff8603aff7  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <01B370FB-D524-F660-3826-E85B7F0D85CD> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
    0x7fff8605f000 -     0x7fff86073fff  libGL.dylib ??? (???) <2ECE3B0F-39E1-3938-BF27-7205C6D0358B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff86074000 -     0x7fff86089ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <DC999B32-BF41-94C8-0583-27D9AB463E8B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8608a000 -     0x7fff86182ff7  libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <7E4ADB5A-CC77-DCFD-3E54-2F35A2C8D95A> /usr/lib/libiconv.2.dylib
    0x7fff86188000 -     0x7fff8618cff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fff864f2000 -     0x7fff86541fef  libTIFF.dylib ??? (???) <5DE9F066-9B64-CBE4-976A-CC7B8DD3C31A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff86542000 -     0x7fff86627fef  com.apple.DesktopServices 1.5.11 (1.5.11) <39FAA3D2-6863-B5AB-AED9-92D878EA2438> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff86628000 -     0x7fff86665ff7  libFontRegistry.dylib ??? (???) <4C3293E2-851B-55CE-3BE3-29C425DD5DFF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff86666000 -     0x7fff86686ff7  com.apple.DirectoryService.Framework 3.6 (621.11) <AD76C757-6701-BDB5-631E-1CB77D669586> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
    0x7fff86687000 -     0x7fff866b8fff  libGLImage.dylib ??? (???) <7F102A07-E4FB-9F52-B2F6-4E2D2383CA13> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff86bc0000 -     0x7fff86bd2fe7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <76B83C8D-8EFE-4467-0F75-275648AFED97> /usr/lib/libsasl2.2.dylib
    0x7fff86bd3000 -     0x7fff86cf2fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff86cfe000 -     0x7fff86d0dfef  com.apple.opengl 1.6.13 (1.6.13) <516098B3-4517-8A55-64BB-195CDAA5334D> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff87083000 -     0x7fff87086ff7  com.apple.securityhi 4.0 (36638) <38935851-09E4-DDAB-DB1D-30ADC39F7ED0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff87088000 -     0x7fff87097fff  com.apple.NetFS 3.2.2 (3.2.2) <7CCBD70E-BF31-A7A7-DB98-230687773145> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff87098000 -     0x7fff870bdff7  com.apple.CoreVideo 1.6.2 (45.6) <E138C8E7-3CB6-55A9-0A2C-B73FE63EA288> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff87506000 -     0x7fff87521ff7  com.apple.openscripting 1.3.1 (???) <FD46A0FE-AC79-3EF7-AB4F-396D376DDE71> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff87522000 -     0x7fff87545fff  com.apple.opencl 12.3.6 (12.3.6) <42FA5783-EB80-1168-4015-B8C68F55842F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff876cb000 -     0x7fff876ccff7  com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <53299948-2554-0F8F-7501-04B34E49F6CF> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff876cd000 -     0x7fff877aafff  com.apple.vImage 4.1 (4.1) <C3F44AA9-6F71-0684-2686-D3BBC903F020> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff877ab000 -     0x7fff877c1fef  libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
    0x7fff877c2000 -     0x7fff878d9fef  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <1B27AFDD-DF87-2009-170E-C129E1572E8B> /usr/lib/libxml2.2.dylib
    0x7fff878da000 -     0x7fff8792fff7  com.apple.framework.familycontrols 2.0.2 (2020) <F09541B6-5E28-1C01-C1AE-F6A2508670C7> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff881ff000 -     0x7fff882bcfff  com.apple.CoreServices.OSServices 359 (359) <8F509D8D-4C94-9A1C-3A87-5B775D9F6075> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff882bd000 -     0x7fff882cbff7  libkxld.dylib ??? (???) <8145A534-95CC-9F3C-B78B-AC9898F38C6F> /usr/lib/system/libkxld.dylib
    0x7fff883a5000 -     0x7fff883f1fff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
    0x7fff883f2000 -     0x7fff88835fef  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <0CC61C98-FF51-67B3-F3D8-C5E430C201A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff888a2000 -     0x7fff888adff7  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <F0DDF27E-DB55-07CE-E548-C62095BE8167> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff888ae000 -     0x7fff88901ff7  com.apple.HIServices 1.8.3 (???) <F6E0C7A7-C11D-0096-4DDA-2C77793AA6CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff88933000 -     0x7fff88972fef  libncurses.5.4.dylib 5.4.0 (compatibility 5.4.0) <E1F34D53-3D62-78C0-CAD8-8AD22C110A9E> /usr/lib/libncurses.5.4.dylib
    0x7fff88973000 -     0x7fff88bf5fe7  com.apple.Foundation 6.6.7 (751.62) <6F2A5BBF-6990-D561-2928-AD61E94036D9> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff88bf6000 -     0x7fff88f93fe7  com.apple.QuartzCore 1.6.3 (227.37) <16DFF6CD-EA58-CE62-A1D7-5F6CE3D066DD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff88f9c000 -     0x7fff88fa1ff7  com.apple.CommonPanels 1.2.4 (91) <4D84803B-BD06-D80E-15AE-EFBE43F93605> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff89104000 -     0x7fff8914dfef  libGLU.dylib ??? (???) <1C050088-4AB2-2BC2-62E6-C969F925A945> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff8919e000 -     0x7fff891e1ff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <5FF3D7FD-84D8-C5FA-D640-90BB82EC651D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff89220000 -     0x7fff89231ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
    0x7fff89232000 -     0x7fff89530fff  com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff89531000 -     0x7fff89572fef  com.apple.QD 3.36 (???) <5DC41E81-32C9-65B2-5528-B33E934D5BB4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff89573000 -     0x7fff89623fff  edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff89624000 -     0x7fff896e5fef  com.apple.ColorSync 4.6.6 (4.6.6) <BB2C5813-C61D-3CBA-A8F7-0E59E46EBEE8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff896fc000 -     0x7fff896fcff7  com.apple.vecLib 3.6 (vecLib 3.6) <08D3D45D-908B-B86A-00BA-0F978D2702A7> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8986f000 -     0x7fff8986fff7  com.apple.ApplicationServices 38 (38) <10A0B9E9-4988-03D4-FC56-DDE231A02C63> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

I will try to decipher it further while watching some Columbo (S01), see if I can find something.
avatar Re: ArmyCalc's Eye on Mac OS X
August 08, 2011 01:56PM
I give up (for now at least).

The only clue is this:

0   libSystem.B.dylib             	0x00007fff80b9a0b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff80c3a9f6 abort + 83
2   QtCore                        	0x00000001029cda15 qt_message_output(QtMsgType, char const*) + 117
3   QtCore                        	0x00000001029cdbf7 qt_message(QtMsgType, char const*, __va_list_tag*) + 183
4   QtCore                        	0x00000001029cddba qFatal(char const*, ...) + 170
5   QtGui                         	0x0000000101bebc1b qt_init(QApplicationPrivate*, int) + 2283
6   QtGui                         	0x0000000101c5e59a QApplicationPrivate::construct() + 170
7   QtGui                         	0x0000000101c5ea56 QApplication::QApplication(int&, char**, int) + 102
8   armycalc.com                  	0x0000000100004016 main + 53 (main.cpp:9)
9   armycalc.com                  	0x0000000100003ea8 start + 52
avatar Re: ArmyCalc's Eye on Mac OS X
August 10, 2011 09:11PM
Fully understandable.
The error this gives is very awkward and to be ones no idea what it means.

During last research I found out that stellarium (very cool open source project that uses Qt as well) is using very complex perl build scripts to cope with the dependencies:
[www.stellarium.org]
(this script is using install_name_tool and otool as well)
So i guess the only way to build this is for me to get a mac somewhere and write something similar.

One last thing you can do is to run otool on this:
[armycalc.com]
Then we will at least know if I have build previous ace this way or using static linking.
But this is only if you are curious.

Perpendicularly to the new online calc i am programming new desktop version that will be very simple and is almost ready (it will have the test version of engine inside but will be able to auto upgrade it, so can be released even if online calc is not 100% ready, and I was hoping we will be able to use your experience and build environment to deploy it on mac). It will of course use Qt as well so the problem still stands.
Thanks a lot for your time again



avatar Re: ArmyCalc's Eye on Mac OS X
September 03, 2011 11:40PM
Thanks for the link to Stellarium's process of compiling for Mac OS X. I am not sure I am helped that much by that though (might be that it's almost midnight and I am dead tired...).

But I will of course have a go at compiling the new version of ACE. I am very excited about the new version and the improvements that will be coming in TWR 3.0!

About the old 0.1 version that you have posted, here is the dependencies for that:

otool -L ACE.app/Contents/MacOS/ACE 
ACE.app/Contents/MacOS/ACE:
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.43.0)
	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration (compatibility version 1.0.0, current version 212.2.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 34.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.17.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.22.0)

It will give me something to work with, I will try and have a go at fixing the issue next week.
Sorry, only registered users may post in this forum.

Click here to login

© 2009,2010 FSW; almost valid XHTML; generated in: 0.03s;