Login
Username:

Password:

Remember me



Lost Password?

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

Members: 2
Guests: 1

amiga, mordesku, more...

Browsing this Thread:   1 Anonymous Users





Compiling Picture DataTypes

Joined:
5/2 17:15
From California, United States
Group:
Member
Posts: 134
Offline
Hello all,

I'm in the process of testing and revising some of the picture datatypes such as BMP and IFF. I need to compile them for testing and further development. I'm using AmiDevCpp as my cross-compiler which works fine for smaller programs, but it has difficulty with datatypes. Maybe someone can help me with this?

This line is at the top of the datatype code with the Includes:

ADD2LIBS("datatypes/picture.datatype", 0, struct Library *, PictureBase);

My compiler gives an error saying,
expected constructor, destructor, or type conversion before '(' token

what does that mean? how can I get this to work with AmiDevCpp?

Without including this needed library the following don't work and I can't successfully compile:

CoerceMethod(cl, newobj, OM_DISPOSE);

DoSuperMethodA(cl, o, msg); ...

DoSuperMethod(cl, o, ...

I assume these are all contained in "datatypes/picture.datatype"?

Why can't I simply say:
"#include datatypes/picture.datatype.h"

==================================================

I have begun the process of writing c code for my datatype test program to Load_IFF and Save_IFF based on the Csharp code from my IFF Icon Editor program that I wrote using Visual Studio a few years ago. It uses Native Methods to load and save IFF ILBM Images. With the new IFF Picture DataType for AROS we should then be able to save IFF Images of 8bitplanes and below with ColorMap and at least Deep Images of 24bitplanes and 32bitplanes. I'd like to also be able to save HAM8 Images if possible.

==================================================

Any help to compile the picture datatypes is appreciated.

Mike R.

Posted on: 10/28 19:30

Edited by miker on 2017/10/28 19:55:50
Transfer the post to other applications Transfer


Re: Compiling Picture DataTypes

Joined:
2010/8/30 7:20
Group:
Member
Posts: 947
Offline
wouldnt that be better to use aros build system rather than trying to iron out issues with devcpp? you will have to fight with includes hierarchies and stuff for ages before you will even come to test your program.

id say, set up basic lubuntu vr along with necessary packages, check out the aros sources, make build dir on the same level and configure from there like:
../AROS-source/AROS/configure --target=linux-i386 --with-serial-debug=yes --with-portssources=/home/wawa/portssources

then make. and after that you may simply
make workbench-datatypes-png
to compile png dadatype.

Posted on: 10/29 0:26
Transfer the post to other applications Transfer


Re: Compiling Picture DataTypes

Joined:
5/2 17:15
From California, United States
Group:
Member
Posts: 134
Offline
Thanks Wawa.

I believe you are correct on that one. Maybe I could use the Aros build system, wait till it is compiled then test.

Posted on: 10/29 0:43
Transfer the post to other applications Transfer


Re: Compiling Picture DataTypes

Joined:
2010/8/30 7:20
Group:
Member
Posts: 947
Offline
this way you will also be able to immediately test your changes, or even commit them, in case you gain unrestricted access to the repo. otherwise you can send me diffs and ill commit them after consulting the responsible developers.

almost full guide to building aros;
http://aros.sourceforge.net/documentation/developers/compiling.php

if you have any practical questions ill try to help.

Posted on: 10/29 2:02
Transfer the post to other applications Transfer


Re: Compiling Picture DataTypes

Joined:
5/2 17:15
From California, United States
Group:
Member
Posts: 134
Offline
Wawa,

Thanks for the information. I'll set something up so that I can compile it.

Posted on: 10/29 22:21
Transfer the post to other applications Transfer


Re: Compiling Picture DataTypes

Joined:
2010/8/30 7:20
Group:
Member
Posts: 947
Offline
after you have setup linux and installed the obvious packages as mentioned in my link, you can just check out aros via svn (down the page) configure and try to compile it. if something is missing it will likely be headers (some*-dev package) which youll be able to see in the log. and then you simply google for package that delivers it.

Posted on: 10/30 1:05
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
4359
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3892
4 nikolaos
nikolaos
3693
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2646
7 mazze
mazze
2214
8 clusteruk
clusteruk
2109
9 Kalamatee
Kalamatee
2024
10 damocles
damocles
1789
© 2004-2017 AROS Exec