fixed a few things so it will compile with the latest SDK
Modified the syntax parsing so that you can either feed the pen/bgpen options a pen or a 6 char hex code like html
I was having problems with very feint or invisible text due to my palette not being the same as the devs, using a hex code means the syntax highlighting will be consistant for all users.
I'm an absolute C noob so thanks to broadblues and AC for 'advising the idiot'.
The problem I have is trying to compile an MUI version for OS4. I got it to compile ok but when it gets to the linking stage it comes up with lots of undefined reference errors.
Can anyone give me some help with this? is it even possible to do an MUI version for OS4?
Here's the errors I get:
annMainOS4.o: In function `main': annMain.c:223: undefined reference to `reqi' annMain.c:244: undefined reference to `reqi' annMain.c:314: undefined reference to `reqi' annMainOS4.o: In function `handleAppMsg': annMain.c:593: undefined reference to `reqi' annMainOS4.o: In function `processMainEvent': annMain.c:1389: undefined reference to `reqi' annMainOS4.o:annMain.c:1439: more undefined references to `reqi' follow annExchangeControlMUIOS4.o: In function `do_exchange': annExchangeControlMUI.c:180: undefined reference to `OnyxReqApp' annExchangeControlMUI.c:180: undefined reference to `OnyxReqApp' annExchangeControlMUI.c:192: undefined reference to `reqi' annExchangeControlMUI.c:196: undefined reference to `reqi' annExchangeControlMUIOS4.o: In function `disposeEdExchange': annExchangeControlMUI.c:372: undefined reference to `OnyxReqApp' annExchangeControlMUI.c:372: undefined reference to `OnyxReqApp' annExchangeControlMUI.c:372: undefined reference to `OnyxReqApp' annExchangeControlMUI.c:372: undefined reference to `OnyxReqApp' annBaseFuncOS4.o: In function `saveEditor': annBaseFunc.c:170: undefined reference to `reqi' annBaseFuncOS4.o: In function `load': annBaseFunc.c:316: undefined reference to `reqi' annBaseFunc.c:402: undefined reference to `reqi' annBaseFunc.c:531: undefined reference to `reqi' annBaseFuncOS4.o: In function `loadLastLines': annBaseFunc.c:642: undefined reference to `reqi' annBaseFuncOS4.o:annBaseFunc.c:652: more undefined references to `reqi' follow onyxsoft/libonyxsoftOS4.a(reactionsimplifiersOS4.o): In function `reqf': reactionsimplifiers.c:(.text+0x2d6): undefined reference to `IRequester' reactionsimplifiers.c:(.text+0x2da): undefined reference to `IRequester' make: *** [ann-mui] Error 1
Edited by Severin on 2016/8/25 19:57:18
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
To compile MUI GUI (if working for AOS4), you need to change on Makefile.os4 these options (top of file): -DANN_REACTION to -DANN_MUI GUI = RA to GUI = MUI ... final: onyxsoft/libonyxsoft$(ARCH).a $(CC) -O2 -o Ann_$(ARCH)_$(GUI) -D__USE_INLINE__ -DANN_MUI ...
Try this: 1)Go inside onyxsoft drawer do a 'make -f Makefile.os4 clean' 2)Edit Makefile.os4 and change: MODULES = EString Softtimer HttpGet reactionsimplifiers LinkedList to MODULES = EString Softtimer HttpGet muisimplifiers LinkedList 3)Recompile such drawer sources ' make -f Makefile.os4' 4)Go to parent drawer and 'make -f Makefile.os4' it should continue compiling, but now uses MUI instead of ReAction (from onyxsoft drawer)
Edited by jabirulo on 2016/8/24 17:41:33 Edited by jabirulo on 2016/8/24 17:49:14 Edited by jabirulo on 2016/8/24 18:08:24 Edited by jabirulo on 2016/8/24 18:37:59 Edited by jabirulo on 2016/8/24 18:40:04 Edited by jabirulo on 2016/8/24 18:51:51
Is anyone interested in this? Is it worth uploading to OS4Depot?
I've updated the python syntax to include around 700 keywords from different versions of python so if a variable turns bold it's best not to use it as some version of python somewhere already uses it.
Does anyone know if there are any syntax highlighting standards I should use as default?
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
I tried to download the archive with odyssey but it gave me an error... It opens the archive inside odyssey window as text file and I cannot save it as I did with programs like IBrowse..