Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users





Programming for AROS

Joined:
2017/5/2 17:15
From California, United States
Group:
Member
Posts: 164
Offline
I have been attempting to compile some simple C programs this weekend using AmigDevCpp with limited success. I did manage to get one of them working this morning, but only briefly. My ScreenGrabber didn't capture to image though! Displaying a simple bitmap image is very important so I'll be able to write my "IFF Icon Edit" program to interact with IFF .INFO and PNG .INFO files.

Where can I find the sources to the Development Demos that are included with Icaros Desktop? And where can I find samples of AROS C code for Opening a Window, Drawing Bitmaps using Graphics API, Opening PNG images (Bitmap From File), and lots of very simple programming tutorials that might work with the wxC++ IDE? Just struggling a bit here.

But my Vampire 500 V2+ Amiga accelerator card arrived today! Yay, me!

Posted on: 2017/5/6 19:36
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2010/10/7 15:30
Group:
Member
Posts: 687
Offline

Posted on: 2017/5/6 20:28
_________________
http://www.hollywood-mal.com/
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2016/8/16 0:09
Group:
Member
Posts: 326
Offline
Quote:

I have been attempting to compile some simple C programs this weekend using AmigDevCpp with limited success.

Unfortunately i'm unable to tell anything in relation to AmiDevCpp

Quote:

I did manage to get one of them working this morning, but only briefly. My ScreenGrabber didn't capture to image though!

Sorry. I am at loss here. Do you mean your native AROS screen grabber or your Windows ScreenGrabber. Are we talking about running AROS hosted (Windows or Linux or otherwise?), native or inside a VM ?

fwiw: native screengrabbing works for me with default screengrabber, also with a utility named SnapIt (search for it on forums, look for a the newsitems at the bottom results that the search listed), VM with virtualbox screen default screen-shot ability and for windows hosted i use print-screen or mwsnap utility.

Quote:

Where can I find the sources to the Development Demos that are included with Icaros Desktop?

If you installed the development package during installation then they should be located inside development: assign (and directories beneath that).

Otherwise you can find them in the AROS source-tree.

Quote:

And where can I find samples of AROS C code for Opening a Window, Drawing Bitmaps using Graphics API, Opening PNG images (Bitmap From File), and lots of very simple programming tutorials that might work with the wxC++ IDE? Just struggling a bit here.

Assuming that wxC++ is able to compile AROS sources, then simple examples can be found in the developers wikibook and the test directory in the source-tree of AROS.

Of course, the complete AROS source-tree can be interpreted as being an example. At least, i use it that way
In that case, also keep an eye on contrib and ports. fwiw: original locations are here.

For the one that knows: http://repo.or.cz/AROS.git/tree/HEAD:/developer/debug/test (also on trac) ? All tests situated under directory debug ? Was/is that perhaps a mistake ?

Quote:

But my Vampire 500 V2+ Amiga accelerator card arrived today! Yay, me!

Congratulations ! Have fun !

Posted on: 2017/5/6 21:01

Edited by origami on 2017/5/6 22:37:45
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2008/10/11 22:43
Group:
Member
Posts: 689
Offline

Posted on: 2017/5/6 21:11
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2017/5/2 17:15
From California, United States
Group:
Member
Posts: 164
Offline
@jeffrey1138

Thanks for the information. I'll check that out.

I managed to get the code compiled...don't laugh!
Next I plan to get into displaying png, bmp, and IFF ILBM images. I had to see if I could compile first.

https://www.dropbox.com/s/fiixic0tz7sxwo3/Screenshot3.png?dl=0

Here's a better picture...

https://www.dropbox.com/s/14ffo3r0nm67xiy/Screenshot3a.png?dl=0


Is the AROS PNG Library the same as Libpng?

Posted on: 2017/5/7 0:57
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2017/5/2 17:15
From California, United States
Group:
Member
Posts: 164
Offline
@origami

Thanks for the links and other information. I have some reading to do!

*******************************************************

I downloaded the AROS core sources, and the contrib
sources. I found two very interesting files...
ilbmtoicon.c and infoinfo.c in the sources.

Here is a ReadMe file for "ilbm to icon":

https://www.dropbox.com/s/6wuvgqb6j632z2b/README?dl=0

I'm going to compile them and try to use them.

****************************************************

Here is the AROS executable for ILBM2Icon:
https://www.dropbox.com/s/gu37qksvshitwvq/ILBM%20to%20Icon.exe?dl=0

Here is the C source file:
https://www.dropbox.com/s/03nog1hveg70r2m/ilbmtoicon.c?dl=0

It should be possible to work backwards from this to
learn to exract both Icon Images from .Info files.


Posted on: 2017/5/7 1:01

Edited by miker on 2017/5/7 1:44:45
Edited by miker on 2017/5/7 1:45:45
Edited by miker on 2017/5/7 2:06:37
Transfer the post to other applications Transfer


Re: Programming for AROS

Joined:
2016/8/16 0:09
Group:
Member
Posts: 326
Offline
Quote:

miker wrote:
Is the AROS PNG Library the same as Libpng?

According to its readme in sources, yes

Posted on: 2017/5/7 1:28
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4398
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3904
4 nikolaos
nikolaos
3895
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2743
7 mazze
mazze
2220
8 clusteruk
clusteruk
2112
9 Kalamatee
Kalamatee
2082
10 damocles
damocles
1789
© 2004-2017 AROS Exec