Re: [ROOT] Calling ctvmft fortran routine in ROOT

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Thu Jun 20 2002 - 10:26:55 MEST


> rootVertex.cxx: In function `int main(int, char **)':
> rootVertex.cxx:36: parse error before `;'

PARSE ERROR MEANS PARSE ERROR FOR THE COMPILER !
You have :
	prinft("ctvmft(iflun,iflev,ierr)=%g\n", ctvmft_(&iflun,&iflev,&ierr);
and it should be :
	prinft("ctvmft(iflun,iflev,ierr)=%g\n", ctvmft_(&iflun,&iflev,&ierr));

(BTW. If I remember well, in the currnt root you do NOT need (any more) to
create the static TROOT object in your main.)

Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET