Not-so-poor Icon processor

miker1264 · 9130

mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #15 on: September 11, 2019, 06:17:54 PM

Yet another way would be to try and port ViewT or a similar tool ;-)

well, I tried. Unluckily, the command
gcc -o ViewT_AROS ViewT.c

gives the following results:
ViewT.c:73:20: warning: 'struct DOSBase' declared inside parameter list [enabled by default]
ViewT.c:73:20: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
ViewT.c:75:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mymain'
ViewT.c:179:20: warning: 'struct DOSBase' declared inside parameter list [enabled by default]
ViewT.c:179:6: error: conflicting types for 'PRintf'
ViewT.c:73:6: note: previous declaration of 'PRintf' was here
ViewT.c: In function 'PRintf':
ViewT.c:184:7: warning: passing argument 2 of '__inline_Dos_VPrintf' from incompatible pointer type [enabled by default]
/AROS/Development/bin/../../Development/include/inline/dos.h:2498:20: note: expected 'RAWARG' but argument is of type 'long int *'
I'm sure anyone knowing C could fix this, it's a pity I don't. :-(
[/quote]

Paolone you test this file https://drive.google.com/file/d/1LR4OBHFSYklRJIkY0I9j_2aJulSw3W_b/view?usp=sharing I did small changes...



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #16 on: September 12, 2019, 02:10:29 AM
Hi mmartinka! Many thanks.


Is the .c source provided in your archive already modified? Have you used any flag while compiling?


mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #17 on: September 12, 2019, 03:21:25 AM
Hi mmartinka! Many thanks.

Is the .c source provided in your archive already modified?
Yes

Quote
Have you used any flag while compiling?
No



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #18 on: September 12, 2019, 06:44:47 AM
@mmartinka


Thanks. It works very well on 32bit AROS. I could compile it also on AROS 64, although the resulting executable is not 64bit-friendly at all: it crashes hosted AROS very hard, as soon as you invoke it. BTH, too many warnings and notices produced while building meant something... :-/





mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #19 on: September 12, 2019, 09:06:27 AM
@mmartinka


Thanks. It works very well on 32bit AROS. I could compile it also on AROS 64, although the resulting executable is not 64bit-friendly at all: it crashes hosted AROS very hard, as soon as you invoke it. BTH, too many warnings and notices produced while building meant something... :-/

I try it look into more...



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #20 on: September 12, 2019, 09:28:09 AM
@Martinka


Don't worry: no need to waste your time, unless you'd find it useful for something else :-)


mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #21 on: September 12, 2019, 01:57:18 PM



paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #22 on: September 13, 2019, 03:09:13 AM
update  :)
I tested under AROS host and it work now...
https://drive.google.com/file/d/1rsU-lrFE4K3d933rRkOXwgc6CMIQMRCm/view?usp=sharing


I wish to tell a big thank you! :-)

Since it's now working OK, I added the x64 version and re-packaged everything in a new archive, adding also a README file with all credits. I just uploaded it into the Archives.

« Last Edit: September 13, 2019, 03:30:19 AM by paolone »



mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #23 on: September 13, 2019, 06:47:52 PM
Excelent  8)



Mysha

  • Junior Member
  • **
    • Posts: 60
    • Karma: +0/-0
Reply #24 on: September 14, 2019, 07:00:37 AM
Missed most of this one, apparently. I guess we all have a tool like this, each shaped to meet our own needs. Can we do something with that knowledge, apart from having a look at those parts that are open source and maybe free as well?

                                                                                         Mysha

Bye,
Mysha


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #25 on: October 22, 2019, 01:40:56 PM
Has anyone tested IconPoser on Icaros 64bit Hosted on Linux? It freezes when I try to select picture files. Can anyone verify that it works?



wawa

  • Senior Member
  • ****
    • Posts: 265
    • Karma: +55/-0
Reply #26 on: October 22, 2019, 02:40:28 PM
any actual source or binary if i have to test it let alone try to debug?



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #27 on: October 22, 2019, 02:54:04 PM
any actual source or binary if i have to test it let alone try to debug?

paolone posted a link at the beginning of this thread to IconPoser.



wawa

  • Senior Member
  • ****
    • Posts: 265
    • Karma: +55/-0
Reply #28 on: October 22, 2019, 03:21:00 PM
 just see id have to download the whole icaros. :(



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #29 on: October 22, 2019, 04:48:10 PM