Not-so-poor Icon processor

miker1264 · 1041

mmartinka

  • Newbie
  • *
    • Posts: 21
    • Karma: +0/-0
Reply #15 on: September 12, 2019, 01:17:54 AM

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
  • Senior Member
  • *****
    • Posts: 295
    • Karma: +3/-0
Reply #16 on: September 12, 2019, 09: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: 21
    • Karma: +0/-0
Reply #17 on: September 12, 2019, 10: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
  • Senior Member
  • *****
    • Posts: 295
    • Karma: +3/-0
Reply #18 on: September 12, 2019, 01:44:47 PM
@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: 21
    • Karma: +0/-0
Reply #19 on: September 12, 2019, 04:06:27 PM
@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
  • Senior Member
  • *****
    • Posts: 295
    • Karma: +3/-0
Reply #20 on: September 12, 2019, 04:28:09 PM
@Martinka


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


mmartinka

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



paolone

  • Moderator
  • Senior Member
  • *****
    • Posts: 295
    • Karma: +3/-0
Reply #22 on: September 13, 2019, 10: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, 10:30:19 AM by paolone »



mmartinka

  • Newbie
  • *
    • Posts: 21
    • Karma: +0/-0
Reply #23 on: September 14, 2019, 01:47:52 AM
Excelent  8)



Mysha

  • Newbie
  • *
    • Posts: 6
    • Karma: +0/-0
Reply #24 on: September 14, 2019, 02:00:37 PM
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



miker1264

  • Senior Member
  • ****
    • Posts: 343
    • Karma: +12/-1
Reply #25 on: October 22, 2019, 08: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: 253
    • Karma: +1/-0
Reply #26 on: October 22, 2019, 09:40:28 PM
any actual source or binary if i have to test it let alone try to debug?



miker1264

  • Senior Member
  • ****
    • Posts: 343
    • Karma: +12/-1
Reply #27 on: October 22, 2019, 09: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: 253
    • Karma: +1/-0
Reply #28 on: October 22, 2019, 10:21:00 PM
 just see id have to download the whole icaros. :(



miker1264

  • Senior Member
  • ****
    • Posts: 343
    • Karma: +12/-1
Reply #29 on: October 22, 2019, 11:48:10 PM