Just in case someone else has this problem one day, this is the reply I got from Per Persson:

De: Per Persson <[EMAIL PROTECTED]>
Date: Jeu 21 nov 2002 15:41:45 Europe/Paris
�: Manuel Bardi�s <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Objet: R�p : [AQT-user] fortran example


On torsdag, nov 21, 2002, at 15:20 Europe/Stockholm, Manuel Bardi�s wrote:

Dear all,


However, when I try to run the examples given in:
/sw/share/aquaterm/fortran, it fails...

[4:12pm manu ~/projets/plot]% cc -c -I/sw/include/aquaterm/ f2aqt.m
f2aqt.m:354: conflicting types for `aqt_polygon__'
f2aqt.h:14: previous declaration of `aqt_polygon__'
f2aqt.m:374: conflicting types for `aqt_circle__'
f2aqt.h:15: previous declaration of `aqt_circle__'

Whoops, seems like I've screwed up:-(

Change the declarations in f2aqt.m to int instead of bool:

void aqt_polygon__(float *x, float *y, int *n, int *isFilled)
{

[snip]

void aqt_circle__(float *x, float *y, float *radius, int *isFilled)
{

Should work now. Sorry.

/P



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Aquaterm-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/aquaterm-user


Le mercredi, 20 nov 2002, � 16:38 Europe/Paris, Manuel Bardi�s a �crit :

Dear all,

I installed pgplot (well pgplot-perl in fact).
I have a TiBook 800 running Jaguar (10.2.2).
Install went OK.
I can run /sw/lib/pgplot/pgdemo1 (and the others), it opens an AquaTerm, all seems correct.
I also have an /sw/Application/AquaTerm application.

Then when I try to run the examples given in:
/sw/share/aquaterm/fortran, it fails...

[4:12pm manu ~/projets/plot]% cc -c -I/sw/include/aquaterm/ f2aqt.m
f2aqt.m:354: conflicting types for `aqt_polygon__'
f2aqt.h:14: previous declaration of `aqt_polygon__'
f2aqt.m:374: conflicting types for `aqt_circle__'
f2aqt.h:15: previous declaration of `aqt_circle__'

This may well be a very basic problem, but I don't know how to handle it...

If someone had an idea...
Thanks in advance,

Manu

Reply via email to