[Gate-users] CT example

Marc Chamberland MarcChamberland at cmail.carleton.ca
Tue Aug 20 23:21:26 CEST 2013


This is not an elegant solution, but you could just run the following on the command line:

root-config -cflags -glibs

Then, type:

 g++ -O3 [INSERT THE OUTPUT FROM ABOVE HERE] AnalyzeCT.cpp -o AnalyzeCT



Marc



__________________________

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

On 2013-08-20, at 4:11 PM, Alejandro Coloma <alejandrocolomae at gmail.com>
 wrote:

> Hi Gate Users
> 
> I can't compile the file Analyze.cpp I went to the directory 
> /gate_v6.2/examples/example_CT/classic 
> and typed
> g++ -O3 ‘root-config –cflags –glibs‘ AnalyzeCT.cpp -o AnalyzeCT
> but i get the error
> g++: error: root-config –cflags –glibs: No such file or directory
> 
> I've successfully run several other examples, but this one is important for me.  
> Any help?
> Thanks :)
> 
> Alejandro Coloma
> EPN- Fisica
> Quito Ecuador
> _______________________________________________
> 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