|
|
ArmyCalc's Eye on Mac OS X September 19, 2009 07:28PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X September 20, 2009 04:14PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X November 18, 2009 05:25AM |
Registered: 2 years ago Posts: 1 |
|
|
Re: ArmyCalc's Eye on Mac OS X November 19, 2009 11:21PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X May 14, 2011 03:20PM |
Registered: 1 year ago Posts: 1 |
|
|
Re: ArmyCalc's Eye on Mac OS X May 16, 2011 10:13AM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 08, 2011 09:20PM |
Registered: 11 months ago Posts: 1 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 09, 2011 09:54PM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 10, 2011 12:42AM |
Admin Registered: 3 years ago Posts: 137 |
bzr co lp:ace
|
|
Re: ArmyCalc's Eye on Mac OS X June 22, 2011 10:55PM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 23, 2011 10:26PM |
Registered: 11 months ago Posts: 39 |
$ bzr co lp:ace5. Open the ACE project file in Qt Creator (will most likely be in your Home folder)
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'
$ sudo port install xmlrpc-c
$ sudo port install lua
|
|
Re: ArmyCalc's Eye on Mac OS X June 24, 2011 12:19AM |
Admin Registered: 3 years ago Posts: 137 |
cd /wherever/liblua
makeI think you should have all required tools to do that as you have installed Xcode.
|
|
Re: ArmyCalc's Eye on Mac OS X June 24, 2011 09:31AM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 24, 2011 03:46PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X June 24, 2011 10:59PM |
Registered: 11 months ago Posts: 39 |
$ make macosx
|
|
Re: ArmyCalc's Eye on Mac OS X June 28, 2011 04:39AM |
Admin Registered: 3 years ago Posts: 137 |
i686-apple-darwin10-g++-4.2.1: liblua/src/liblua.a: No such file or directorystill occurs than this is very awkward.
/Developer/Projects/ACE-build-desktop/liblua/src/liblua.a
|
|
Re: ArmyCalc's Eye on Mac OS X June 29, 2011 01:11PM |
Registered: 11 months ago Posts: 39 |
:-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
|
|
Re: ArmyCalc's Eye on Mac OS X June 30, 2011 01:39PM |
Registered: 11 months ago Posts: 39 |
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'
|
|
Re: ArmyCalc's Eye on Mac OS X July 17, 2011 11:33AM |
Admin Registered: 3 years ago Posts: 137 |
cd /wherever/liblua bzr revert .
|
|
Re: ArmyCalc's Eye on Mac OS X July 17, 2011 01:28PM |
Registered: 11 months ago Posts: 39 |
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
|
|
Re: ArmyCalc's Eye on Mac OS X July 17, 2011 07:58PM |
Admin Registered: 3 years ago Posts: 137 |
liblua/src/luac -vand
ldd liblua/src/luac
# -------------------------------------------------
# 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
|
|
Re: ArmyCalc's Eye on Mac OS X July 18, 2011 12:26AM |
Registered: 11 months ago Posts: 39 |
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
$ 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)
/Developer/Projects/ace/ACE.pro:10: error: Parse Error ('/usr/lib/libSystem.B.dylib')
|
|
Re: ArmyCalc's Eye on Mac OS X July 18, 2011 01:42PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X July 18, 2011 08:52PM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X July 18, 2011 08:58PM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X July 19, 2011 11:29AM |
Admin Registered: 3 years ago Posts: 137 |
cs install/app ./build.sh
|
|
Re: ArmyCalc's Eye on Mac OS X July 19, 2011 01:29PM |
Registered: 11 months ago Posts: 39 |
|
|
Re: ArmyCalc's Eye on Mac OS X July 19, 2011 03:15PM |
Admin Registered: 3 years ago Posts: 137 |
|
|
Re: ArmyCalc's Eye on Mac OS X July 20, 2011 10:15PM |
Registered: 11 months ago Posts: 39 |
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)
|
|
Re: ArmyCalc's Eye on Mac OS X July 21, 2011 07:52PM |
Admin Registered: 3 years ago Posts: 137 |
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