Author Topic: Not-so-poor Icon processor  (Read 432 times)

mmartinka

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« 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
  • Member
  • *****
  • Posts: 218
  • Karma: +3/-0
Re: Not-so-poor Icon processor
« 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: 18
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« 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
  • Member
  • *****
  • Posts: 218
  • Karma: +3/-0
Re: Not-so-poor Icon processor
« 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: 18
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« 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
  • Member
  • *****
  • Posts: 218
  • Karma: +3/-0
Re: Not-so-poor Icon processor
« 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: 18
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« Reply #21 on: September 12, 2019, 08:57:18 PM »

paolone

  • Moderator
  • Member
  • *****
  • Posts: 218
  • Karma: +3/-0
Re: Not-so-poor Icon processor
« 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: 18
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« Reply #23 on: September 14, 2019, 01:47:52 AM »
Excelent  8)

Mysha

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Not-so-poor Icon processor
« 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