Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
119 user(s) are online (103 user(s) are browsing Forums)

Members: 0
Guests: 119

more...

Support us!

Headlines

 
  Register To Post  

Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
Hi all

I've just updated Annotate a little:

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

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem
Just can't stay away
Just can't stay away


See User information
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
Go to top
Re: Annotate, Minor update and a problem
Just can't stay away
Just can't stay away


See User information
Thanks!

I'd missed the Modules line.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
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

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
I am using Annotate as I am learning how to program amiga os, if there is any update, please share it with us

Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
Here is an archive containing ann (os4 reaction) ann-mui (OS4 MUI), ann-debug (OS4 reaction debug version) and the modified source.

This is an update, just exes, updated syntax file for python, partially updated default syntax file and source.

https://www.datafilehost.com/d/qa4DcJZdDI

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just popping in
Just popping in


See User information
WinUAE 4.1FE. Annotate 3.0.1

If I click the window close gadget, good.
Pick Quit from menu, crash.
RAmiga+Q, crash.

Has this been fixed?

Workbench Explorer - A better way to browse drawers
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
Works for me, just tested all 3 nethods and it's fine.

Have you changed any hotkeys?

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just popping in
Just popping in


See User information
It has always done that. Even after a fresh install of OS.

Just tried the new one from above, same thing.

Stack Trace:
closeEdWindow()
closeAll()
main()

Workbench Explorer - A better way to browse drawers
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
As I can't reproduce it, there's not anything I can do, maybe it's a winuae bug.

You now have the source, the debug version will give you the line numbers and files to check in the stack trace.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just popping in
Just popping in


See User information
annMain.c:2749

I only have the original window open. Default variable not set properly at startup?

or try

SetProcWindow(FirstEditor->Next?(APTR)FirstEditor->Next->EdWindow:(APTR)getEdExWin());

Workbench Explorer - A better way to browse drawers
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
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..


Edited by nubechecorre on 2016/8/26 10:28:39
Go to top
Re: Annotate, Minor update and a problem [solved]
Home away from home
Home away from home


See User information
@Severin

Please upload it to OS4Depot !

Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
@nubechecorre

Select Save as HTML from Project menu of Odyssey and change the offered file name to annotate.lha.

Clicking that "Having problems with download? Please click here" link I got an msdos exe instead of the archive file.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
@all

Click "Having problems with download? Please click here"
turn off "Download with secure download manager"
click download.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Just can't stay away
Just can't stay away


See User information
@samo79

Done.


Edited by Severin on 2016/8/26 19:26:59
Edited by Severin on 2016/8/26 19:29:56
Edited by Severin on 2016/8/26 21:41:59
Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Annotate, Minor update and a problem [solved]
Home away from home
Home away from home


See User information
@Severin

Thank you

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project