avatar ArmyCalc's Eye on Mac OS X
September 19, 2009 07:28PM
I just managed to run ACE on a Mac.
Now i just have to build some installation package and tomorrow Mac users will be able to download and test it!
I give You screenshot as a proof smiling smiley

avatar Re: ArmyCalc's Eye on Mac OS X
September 20, 2009 04:14PM
Just as promised Mac OS package is ready to download on ACE page
avatar Re: ArmyCalc's Eye on Mac OS X
November 18, 2009 05:25AM
When I go to the ACE page, it simply shows me the NEWS page. Am I missing something?
avatar Re: ArmyCalc's Eye on Mac OS X
November 19, 2009 11:21PM
Sorry for this little issue.
Please try again it should work fine.
If not click here: http://armycalc.com/ace/
avatar Re: ArmyCalc's Eye on Mac OS X
May 14, 2011 03:20PM
I get a error claiming I have no proper rulesets, while in my the ruleset folder there are a few, each not recognised. Is this because the source of the ArmyCalc's Eye is old?
avatar Re: ArmyCalc's Eye on Mac OS X
May 16, 2011 10:13AM
The sources available on Launchpad are new
But if you are talking about downloadable app archive then yes - it is built out of old sources that does not support new format.
I don't have a Mac to rebuild but can guide someone trough the process.
So unfortunately we need to wait for someone to help. For now MAC users are limited to online editor.



avatar Re: ArmyCalc's Eye on Mac OS X
June 08, 2011 09:20PM
Hi, I'm new here, but I have a mac and I could try to build a binary. Email me the details!
avatar Re: ArmyCalc's Eye on Mac OS X
June 09, 2011 09:54PM
I am willing to have a go at it as well.

I am downloading Xcode now so that I have a parser.
avatar Re: ArmyCalc's Eye on Mac OS X
June 10, 2011 12:42AM
Hi,
It's very cool you guys want to help. I don't want you to waste your time so just want to warn you that some software building knowledge would be required. I will try to help remotely but I don't remember all problems I had building the previous version and some additional steps will probably be required to build the new one. Do you have any programming experience?

I did not use Xcode but "Qt Creator" so the first step would be to download and install this:
[qt.nokia.com]

Sources of desktop application are hosted on launchpad:
[launchpad.net]

best way to download would be to install bzr for mac and check out the sources:
bzr co lp:ace

Then open the qt project file in Qt Creator and run build -> "clean all" and build->"build project"

This will probably output info about missing libraries which you can paste here and we will think of a solution.

If I recall correctly you will need also a dev package of the "libz". Lua sources are included in the sources.

finally in the source package there is a script I used to build the mac package:
/install/app/build.sh

I hope this will work out.
cheers



avatar Re: ArmyCalc's Eye on Mac OS X
June 22, 2011 10:55PM
I have started on building the source of ACE. I will post back when I have successfully completed the build or given up totally. It was a long time since I last compiled any applications.

If I am successful, I will post a guide of to how to build the source, as complete as possible.
avatar Re: ArmyCalc's Eye on Mac OS X
June 23, 2011 10:26PM
(I am sorry if this post is incomprehensive)

Short version of how I approached it:

1. Install Xcode (required by Qt SDK): [qt.nokia.com]
2. Install Qt SDK (required by and includes Qt Creator): [qt.nokia.com]
3. Install Bazaar: [wiki.bazaar.canonical.com]
4. Download source of ACE via Terminal (make sure you are in the right directory first):
$ bzr co lp:ace
5. Open the ACE project file in Qt Creator (will most likely be in your Home folder)
6. Build the source (⌘cool smiley
7. Correct any error messages prompted by 6.

Repeat steps 6 and 7 until you have correctly built the source

---

I received the following errors in Qt Creator:

Warnings
/Developer/Projects/ACE-build-desktop/../ace/twrreader.cpp:88: warning: unused parameter 'root'
/Developer/Projects/ACE-build-desktop/../ace/newarmydialog.cpp:24: warning: unused parameter 'name'
/Developer/Projects/ACE-build-desktop/../ace/newarmydialog.cpp:24: warning: unused parameter 'revision'
/Developer/Projects/ACE-build-desktop/../ace/armyframe.cpp:415: warning: unused parameter 'x'
/Developer/Projects/ACE-build-desktop/../ace/unitframe.cpp:203: warning: unused parameter 'event'

Errors
:-1: error: liblua/src/liblua.a: No such file or directory
:-1: error: libqxmlrpc_debug.a: No such file or directory

In more detail:

g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o ACE.app/Contents/MacOS/ACE main.o mainwindow.o htmlviewer.o twrreader.o luarunner.o newarmydialog.o armyframe.o unitframe.o untgz.o abonuswidget.o saveonlinedialog.o moc_mainwindow.o moc_htmlviewer.o moc_newarmydialog.o moc_armyframe.o moc_unitframe.o moc_abonuswidget.o moc_saveonlinedialog.o qrc_resources.o   -F/Developer/QtSDK/Desktop/Qt/473/gcc/lib -L/Developer/QtSDK/Desktop/Qt/473/gcc/lib -lz liblua/src/liblua.a libqxmlrpc_debug.a -framework QtWebKit -framework QtXml -framework QtGui -framework QtNetwork -framework QtCore 
i686-apple-darwin10-g++-4.2.1: liblua/src/liblua.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: libqxmlrpc_debug.a: No such file or directory
make: *** [ACE.app/Contents/MacOS/ACE] Error 1
make: Leaving directory `/Developer/Projects/ACE-build-desktop'
The process "/usr/bin/make" exited with code 2.
Error while building project ACE (target: Desktop)
When executing build step 'Make'

I did the following to try and fix the issues:

* Replace the liblua folder with the latest Lua source from: [www.lua.org] (I used 5.1.4) using these instructions: [devthought.com] - DID NOT WORK
* Install Macports: [www.macports.org] (in order to get libxmlrpc)
- Restart Terminal
* Installed Macports: [www.macports.org]
* Installed libxmlrpc and lua via ports in Terminal:

Run (install takes a LONG time):
$ sudo port install xmlrpc-c

Run (install takes a long time):
$ sudo port install lua

Issue persists

---

I then downloaded Lua source for 5.1.4 and 5.1 and compiled them and both replaced the liblua folder in the Ace project folder with either a fresh compile of either 5.1 or 5.1.4 and I tried as well to just move the liblua.a file in to the src directory, to no avail.

Still the same issue...

I am stuck, I have no ideas.

Anyone with a bit more insight?

Maybe I am going to fast, missing some important bits.



Edited 1 time(s). Last edit at 06/23/2011 10:29PM by WilliamWM.
avatar Re: ArmyCalc's Eye on Mac OS X
June 24, 2011 12:19AM
Wow! lots of thanks for your work on this.

My bad. I missed the fact that those two libraries (lua and xmlrpc) have to be build separately.

For Lua:
  • you can use the fresh sources that you have downloaded from lua.org or if it wont work you should revert the 'liblua' folder.
  • navigate your shell to liblua and simply run 'make'
      cd /wherever/liblua
      make
    I think you should have all required tools to do that as you have installed Xcode.
  • After this you should have liblua/src/liblua.a file

For xmlrpc:
  • This lib was added in the newest version so building this with ace have never been done on a mac.
  • This lib is distributed in a form of QTCreator project. So if you will navigate to xmlrpc folder and open xmlrpc.pro in QTCreator you should be able to 'clean all' and build it using the debug settings.
  • After that you should have a libqxmlrpc_debug.a file in ace root.



avatar Re: ArmyCalc's Eye on Mac OS X
June 24, 2011 09:31AM
Thanks!

I am moving house on Sunday and for a few evenings next week. So I will get back to trying this next weekend.

Happy Midsummer's Eve everyone!



Edited 1 time(s). Last edit at 06/24/2011 09:38AM by WilliamWM.
avatar Re: ArmyCalc's Eye on Mac OS X
June 24, 2011 03:46PM
Nice.
Good luck with your removal.
And this is how we celebrated midsummer in my city just a few days ago:
[www.youtube.com]



avatar Re: ArmyCalc's Eye on Mac OS X
June 24, 2011 10:59PM
I had one hour to spare tonight and had a go at it, unfortunately with no positive result.

I found some Qt XMLRPC-projects, namely qutexmlrpc and qtxmlrpc. I am not sure which one you meant, but I assume it was this one: QtXMLRPC

Do you which version you used, I have tried with latest one and it does not provide the desired file.

---

I am still at a loss with Lua. I get it to compile by doing the command:

$ make macosx

Only using make does not work.

I get the desired liblua.a file, but it still complains that the file is missing. It makes no sense.
avatar Re: ArmyCalc's Eye on Mac OS X
June 28, 2011 04:39AM
Hi,
I used this [code.google.com]
but xmlrpc is included in ace repository in "xmlrpc" folder. So you should just open xmlrpc/xmlprc.pro and you should be able to build it.

If you have the liblua.a file but error
i686-apple-darwin10-g++-4.2.1: liblua/src/liblua.a: No such file or directory
still occurs than this is very awkward.
What build configuration are you using "Debug" or "Release".
Maybe your build folder is set somewhere else?
is this the exact path to the file?
/Developer/Projects/ACE-build-desktop/liblua/src/liblua.a

if not please try to put it there.

I am leaving for a trip today so wont be able to help till next Tuesday.

cheers and thanks.







Edited 1 time(s). Last edit at 06/28/2011 04:40AM by francio.
avatar Re: ArmyCalc's Eye on Mac OS X
June 29, 2011 01:11PM
Breakthrough!

francio Wrote:
-------------------------------------------------------
> Maybe your build folder is set somewhere else?
> is this the exact path to the file?
>
> /Developer/Projects/ACE-build-desktop/liblua/src/l
> iblua.a
>
>
> if not please try to put it there.

I did (I had assumed they would be transported over to the build folder) and it accepts the liblua.a and the libqxmlrpc_debug.a files! Great!

After that I get the following two issues:

Errors:
:-1: error: symbol(s) not found
:-1: error: collect2: ld returned 1 exit status

ld: symbol(s) not found
collect2: ld returned 1 exit status

A side note: I wanted to build a Release version, but I get 474 critical errors and 735 warnings when compiling the xmlrpc.pro file as a Release version... I will look in to that later.

But I wanted to build a Release version as well,
avatar Re: ArmyCalc's Eye on Mac OS X
June 30, 2011 01:39PM
The full compile output:

Running build steps for project ACE...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/Developer/Projects/ACE-build-desktop'
g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o ACE.app/Contents/MacOS/ACE main.o mainwindow.o htmlviewer.o twrreader.o luarunner.o newarmydialog.o armyframe.o unitframe.o untgz.o abonuswidget.o saveonlinedialog.o moc_mainwindow.o moc_htmlviewer.o moc_newarmydialog.o moc_armyframe.o moc_unitframe.o moc_abonuswidget.o moc_saveonlinedialog.o qrc_resources.o   -F/Developer/QtSDK/Desktop/Qt/473/gcc/lib -L/Developer/QtSDK/Desktop/Qt/473/gcc/lib -lz liblua/src/liblua.a libqxmlrpc_debug.a -framework QtWebKit -framework QtXml -framework QtGui -framework QtNetwork -framework QtCore 
Undefined symbols:
  "_XML_SetCharacterDataHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetDefaultHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
make: Leaving directory `/Developer/Projects/ACE-build-desktop'
  "_XML_SetCdataSectionHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetBase", referenced from:
      _setbase in liblua.a(lxplib.o)
  "_XML_ParserCreateNS", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_ErrorString", referenced from:
      _parse_aux in liblua.a(lxplib.o)
  "_XML_GetErrorCode", referenced from:
      _parse_aux in liblua.a(lxplib.o)
  "_XML_GetBase", referenced from:
      _getbase in liblua.a(lxplib.o)
  "_XML_SetProcessingInstructionHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetElementHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_ParserCreate", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_ParserFree", referenced from:
      _lxpclose in liblua.a(lxplib.o)
  "_XML_SetUserData", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_Parse", referenced from:
      _parse_aux in liblua.a(lxplib.o)
  "_XML_SetNamespaceDeclHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_ExternalEntityParserCreate", referenced from:
      _f_ExternaEntity in liblua.a(lxplib.o)
  "_XML_SetCommentHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetDefaultHandlerExpand", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_GetCurrentByteIndex", referenced from:
      _lxp_pos in liblua.a(lxplib.o)
      _parse_aux in liblua.a(lxplib.o)
  "_XML_GetSpecifiedAttributeCount", referenced from:
      _f_StartElement in liblua.a(lxplib.o)
  "_XML_SetNotationDeclHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetExternalEntityRefHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetUnparsedEntityDeclHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_SetEncoding", referenced from:
      _lxp_setencoding in liblua.a(lxplib.o)
  "_XML_GetCurrentColumnNumber", referenced from:
      _lxp_pos in liblua.a(lxplib.o)
      _parse_aux in liblua.a(lxplib.o)
  "_XML_SetNotStandaloneHandler", referenced from:
      _lxp_make_parser in liblua.a(lxplib.o)
  "_XML_GetCurrentLineNumber", referenced from:
      _lxp_pos in liblua.a(lxplib.o)
      _parse_aux in liblua.a(lxplib.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ACE.app/Contents/MacOS/ACE] Error 1
The process "/usr/bin/make" exited with code 2.
Error while building project ACE (target: Desktop)
When executing build step 'Make'
avatar Re: ArmyCalc's Eye on Mac OS X
July 17, 2011 11:33AM
Hi,
sorry for a very long delay. I am back from my trip now.

Seems you are using lua from lua.org and not the one that was in the repository.
Now I remember I have added lxplib to those and you clearly do not have it:
[bazaar.launchpad.net]
So you wont be able to build this using fresh lua version.

please try to run bzr "revert" command on the liblua folder:
cd /wherever/liblua
bzr revert .

or even to be sure: delete the whole liblua folder and then run bzr update in the root repo directory.

and then rebuild liblua from source.

F



avatar Re: ArmyCalc's Eye on Mac OS X
July 17, 2011 01:28PM
No problem! Welcome back from your holidays, I hope you had a great time!

I am not sure what version of liblua I had compiled. But I have now removed the whole ace source code folder and redownloaded it via bzr. I have made sure it is up to date via the bzr update command, and it reassures me that it is.

I have compiled liblua from your source, both the generic version and the macosx version. I get the same errors over and over.

This is what the make command of liblua outputs:

make macosx
cd src && make macosx
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lapi.o lapi.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lcode.o lcode.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ldebug.o ldebug.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ldo.o ldo.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ldump.o ldump.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lfunc.o lfunc.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lgc.o lgc.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o llex.o llex.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lmem.o lmem.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lobject.o lobject.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lopcodes.o lopcodes.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lparser.o lparser.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lstate.o lstate.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lstring.o lstring.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ltable.o ltable.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ltm.o ltm.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lundump.o lundump.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lvm.o lvm.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lzio.o lzio.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lauxlib.o lauxlib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lbaselib.o lbaselib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ldblib.o ldblib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o liolib.o liolib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lmathlib.o lmathlib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lxplib.o lxplib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o loslib.o loslib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o ltablib.o ltablib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lstrlib.o lstrlib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o loadlib.o loadlib.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o linit.o linit.c
ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o lxplib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o
ranlib liblua.a
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lua.o lua.c
gcc -o lua  lua.o liblua.a -lm -lexpat -lreadline
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o luac.o luac.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o print.o print.c
gcc -o luac  luac.o print.o liblua.a -lm -lexpat -lreadline

Seems ok enough. And I can see in the src-folder that lxplib has been compiled in to a lxplib.o file.

I have tried including the lxplib.h explicitly in the Makefile, but that makes no difference (perhaps that was totally pointless anyway).

I am at a loss of what to do now.
avatar Re: ArmyCalc's Eye on Mac OS X
July 17, 2011 07:58PM
Hmm,
lua build output seems 100% ok, seems that something is not linking properly when building ace.

can you please provide output of:
liblua/src/luac -v
and
ldd liblua/src/luac

also not sure about the result but you can try to add the same libs you are linking with luac (-lm -lexpat -lreadline) to ace build. so your ACE.pro file should look like this:

# -------------------------------------------------
# Project created by QtCreator 2009-06-06T20:16:35
# -------------------------------------------------
QT += network \
    webkit \
    xml
TARGET = ACE
LIBS += -lz \
    liblua/src/liblua.a \
    -lm \
    -lexpat \
    -lreadline
TEMPLATE = app
SOURCES += main.cpp \
    mainwindow.cpp \
    htmlviewer.cpp \
    twrreader.cpp \
    luarunner.cpp \
    newarmydialog.cpp \
    armyframe.cpp \
    unitframe.cpp \
    untgz.cpp \
    abonuswidget.cpp \
    saveonlinedialog.cpp
HEADERS += mainwindow.h \
    htmlviewer.h \
    twrreader.h \
    luarunner.h \
    newarmydialog.h \
    armyframe.h \
    unitframe.h \
    untgz.h \
    abonuswidget.h \
    saveonlinedialog.h
FORMS += mainwindow.ui \
    htmlviewer.ui \
    newarmydialog.ui \
    armyframe.ui \
    unitframe.ui \
    saveonlinedialog.ui
OTHER_FILES += lua/common.lua \
    input_structure.txt \
    lua/default_display.lua
RESOURCES += resources.qrc
unix { 
    CONFIG(debug, debug|release):LIBS += libqxmlrpc_debug.a
    else:LIBS += libqxmlrpc.a
}
win32:LIBS += xmlrpc/qxmlrpc.lib

and then rebuild ace



avatar Re: ArmyCalc's Eye on Mac OS X
July 18, 2011 12:26AM
"liblua/src/luac -v" gives me:

Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio

The "ldd"-command does not work in OSX, but "otool" has the equivalent position, it gives me (when checking for shared libraries):

$ otool -L liblua/src/luac
liblua/src/luac:
/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)

I have tried adding those libraries to the ACE.pro file, but I just get parse errors, like:

/Developer/Projects/ace/ACE.pro:10: error: Parse Error ('/usr/lib/libSystem.B.dylib')

I will read up on including those libraries in Qt Creator on Mac and see if I can find a solution. Any help is greatly appreciated, perhaps it's just a simple problem to fix.
avatar Re: ArmyCalc's Eye on Mac OS X
July 18, 2011 01:42PM
thanks,
but i did not mean add libraries from ldd output but those from your lua build output (exactly: -lm -lexpat -lreadline)

so your LIBS section would look exacly like this:
LIBS += -lz \
    liblua/src/liblua.a \
    -lm \
    -lexpat \
    -lreadline

cheers,



avatar Re: ArmyCalc's Eye on Mac OS X
July 18, 2011 08:52PM
It's ALIVE!



Sweet! Thanks for the assistance Francio!!!

I will compile a full guide on how to build it later this week and post it in this thread.

So, should I do anything with the result? Upload it or email it somewhere?
avatar Re: ArmyCalc's Eye on Mac OS X
July 18, 2011 08:58PM
Oh, sorry. In my excitement I forgot to write how I solved it.

I did what you said I should do, and it was the solution. I just changed the LIBS section to:

LIBS += -lz \
    liblua/src/liblua.a \
    -lm \
    -lexpat \
    -lreadline
avatar Re: ArmyCalc's Eye on Mac OS X
July 19, 2011 11:29AM
Whohoo!
Excellent, desktop application is multiplatform again!

build instructions would be really useful.
I will update the ACE.pro file in the repo with those libs (so dont need to include this step in instructions).

Now the final step is to create a app package that will contain all the necessary libraries.
When i was building a previous release i created a simple script for that:
/install/app/build.sh
You should run it beeing inside app folder:
cs install/app
./build.sh

I am not sure if we need to update this script and add some more libraries we were not using before.

What we need now is any other mac user that will test if this would work. Or maybe you have access to another mac machine? .app file will run on yours coz you have all libraries in your system. we need to make sure it will for on a 'fresh' system.

cheers



avatar Re: ArmyCalc's Eye on Mac OS X
July 19, 2011 01:29PM
Ok, makes sense.

I have included the libraries that luac was asking for and created an App-file. I have put in on a disk image with a custom background with the installation instructions.



You can find the disk image here:

http://william.malmi.se/files/armycalc/ArmyCalc%20Eye%200.6.0.dmg (21,5 Mcool smiley

It would be great if someone could download it and try it out.

---

Note to the testers:

If you (the downloader) is an advanced user, could you please go in to the package and try to start the app without each of the frameworks and see if that makes a difference for running it.

Don't forget to let us know if it works or not!

Cheers!



Edited 1 time(s). Last edit at 07/19/2011 01:30PM by WilliamWM.
avatar Re: ArmyCalc's Eye on Mac OS X
July 19, 2011 03:15PM
Splendid! I've posted link here on AC's facebook and twitter. Someone have to test this before I put it on the download page.



avatar Re: ArmyCalc's Eye on Mac OS X
July 20, 2011 10:15PM
One of my friends tested it on a non-Xcode system and it did not work.

I have now tried otool on the ACE program inside the App-file and found 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)
	/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)

I have made a new version and made a new disk image installer. The new App is unfortunately 66,7 MB in size though, but I don't think it can be helped.

The installer is 25,5 MB in size and can be found here:

http://william.malmi.se/files/armycalc/ArmyCalc%20Eye%200.6.0.dmg

I will make a nicer version of the disk image when we get this to work properly.
avatar Re: ArmyCalc's Eye on Mac OS X
July 21, 2011 07:52PM
I've asked my friend to test it on a fresh system.
Unfortunately it did not run. The error we got:
Process:         ACE [259]
Path:            /Applications/ACE.app/Contents/MacOS/ACE
Identifier:      armycalc.com
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [86]

Date/Time:       2011-07-21 18:12:22.685 +0200
OS Version:      Mac OS X 10.6.8 (10K540)
Report Version:  6

Interval Since Last Report:          6430 sec
Crashes Since Last Report:           1
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      E2A8B744-D74F-43A0-8249-A44F24F55488

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 (???)
<69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld

Model: MacBook7,1, BootROM MB71.0039.B0B, 2 processors, Intel Core 2 Duo,
2.4 GHz, 2 GB, SMC 1.60f5
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93),
Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: TOSHIBA MK2555GSXF, 232,89 GB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24600000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000 / 3
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218,
0x06630000 / 6
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.),
0x0237, 0x06300000 / 2

not sure why. path to QtWebKit seems to be exactly as in otool output.



Sorry, only registered users may post in this forum.

Click here to login

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