[Gate-users] Re: problem installing gate_v3.0.0

Sebastien JAN sebastien.jan at cea.fr
Tue Oct 24 13:06:51 CEST 2006


Hi,

> 
> My install :
> CLHEP-2.0.2.2
> geant4.8.1.p01

As you know, gate_v3.0.0 is not validated with this version (comming 
soon, december 2006, gate_v3.1.0)

Sebastien


> root5.12
> gcc-4.0.3
> gate_v3
> 
> Thank you in advance for your help
> 
> Cheick
> 
> 
> 
> 
> ----- Original Message ----- From: "Marcos Gimenez" <margial at ific.uv.es>
> To: <gate-users at lists.healthgrid.org>
> Sent: Wednesday, August 02, 2006 5:40 PM
> Subject: [Gate-users] Re: problem installing gate_v3.0.0
> 
> 
>>
>> Paola Solevi wrote:
>>
>> Dear GATErs,
>> I'm trying installing gate_v3.0.0.
>>
>> I set the correct (I hope) env_gate.sh and start compiling by the make
>> command but I found these error messagges:
>>
>> ######################################################################
>> src/GateCompressedVoxelOutput.cc: In member function `virtual void
>>     GateCompressedVoxelOutput::RecordBeginOfAcquisition()':
>> src/GateCompressedVoxelOutput.cc:97: error: incomplete type 'G4Material'
>> cannot be used to name a scope
>> src/GateCompressedVoxelOutput.cc: In member function `virtual void
>>      GateCompressedVoxelOutput::RecordEndOfAcquisition()':
>> src/GateCompressedVoxelOutput.cc:130: error: incomplete type 'G4Material'
>> cannot be used to name a scope
>> src/GateCompressedVoxelOutput.cc:131: error: `GetDensity' undeclared
>> (first use this function)
>> src/GateCompressedVoxelOutput.cc:131: error: (Each undeclared identifier
>> is reported only once for each function it appears in.)
>> make:
>> [home/paola/gate_v3.0.0/workdir/tmp/Linux-g++/Gate/GateCompressedVoxelOutput.o] 
>>
>> Error 1
>> ***********************************************
>>
>> Hi all
>>
>> We had the same errors, we found the errors came when we had the 
>> G4VERSION8_0
>> enviroment variable not set properly.  (We use geant4.8.0.p01, Debian
>> testing , gcc-4.0.3, root 5.12, and bash shells ). To check it do:
>>
>>> echo $G4VERSION8_0
>>
>>
>> it must return 1
>>
>> We found that in GateCompressedVoxelParametrization.cc there are these 
>> lines:
>>
>> #ifdef G4VERSION8_0
>> G4Material* GateCompressedVoxelParameterization::ComputeMaterial(G4int
>>        copyNo , G4VPhysicalVolume * pv , const G4VTouchable*){
>> #else
>> G4Material* GateCompressedVoxelParameterization::ComputeMaterial(G4int
>> copyNo , G4VPhysicalVolume * pv ){
>> #endif
>>
>> So if G4VERSION is not defined properly the G4Material is not defined
>> properly.
>>
>> i hope it helps, at least this worked for us.
>>
>> Marcos
>>
>>
>>
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.healthgrid.org
>> http://lists.healthgrid.org/mailman/listinfo/gate-users
>>
> 
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
> 
> 



More information about the Gate-users mailing list