[Gate-users] benchSPECT.C in Gate v6.2

Marc Chamberland MarcChamberland at cmail.carleton.ca
Wed Jan 23 01:11:01 CET 2013


Hi Sonoko,

benchSPECT.C is a ROOT macro file, so you should run it with the following command:

root benchSPECT.C

Don't try to compile it.

Cheers!
Marc



__________________________

Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

On 2013-01-22, at 7:04 PM, Sonoko Nakano <snakano at sfu.ca>
 wrote:

> Hello Gate users,
> 
> I have tried running Gate v6.2> benchmarks > benchSPECT > benchSPECT.mac on my Mac OS X.
> After running benchSPECT.mac, I want to see the results with a provided C file, benchSPECT.C
> When I compile benchSPECT.C with gcc or g++, I get:
> 
> benchSPECT.C:1: error: expected unqualified-id before ‘{’ token
> 
> I looked at the benchSPECT.C file, but I don't know what is wrong.
> 
> Can someone help me?
> 
> Thank you in advance,
> 
> Sonoko
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users




More information about the Gate-users mailing list