This may sound like a dumb question, but do have fortran installed? And do
you have to do a make before you run the application? I doubt that you
downloaded an ready to run application, but I may be wrong. Let us know how
things go.
Not dumb at all: I've seen - and done - worse :)
Yes both g77 and f77 (Absoft) are installed.
There was a bug in one of the files (f2aqt.m), and Per Persson wrote an amended version:

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


Manuel Bardies
INSERM unit 463
9 Quai Moncousu
44093, Nantes cedex
France
*********************************
* Sec : (33) 2 40 08 47 47 *
* Dir : (33) 2 40 41 28 21 *
* Fax: (33) 2 40 35 66 97 *
*********************************

Reply via email to