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

Cheick O. THIAM thiam at clermont.in2p3.fr
Tue Oct 24 17:07:31 CEST 2006


I have trying also with

geant4.8.0.p01
clhep2.0.2.2
root5.12
gcc4.0.3

I have same  error ....

rc/GateCompressedVoxelOutput.cc:97: error: incomplete type 'G4Material' used
in nested name specifier
src/GateCompressedVoxelOutput.cc: In member function 'virtual void
GateCompressedVoxelOutput::RecordEndOfAcquisition()':
src/GateCompressedVoxelOutput.cc:130: error: incomplete type 'G4Material' 
used
in nested name specifier
src/GateCompressedVoxelOutput.cc:131: error: invalid use of undefined type
'struct G4Material'
/home/thiam/GEANT4/geant4.8.0.p01/source/geometry/management/include/G4Region.hh:43:
error: forward declaration of 'struct G4Material'
gmake: ***
[/home/thiam/GEANT4/gate_v3.0.0/tmp/Linux-g++/Gate/GateCompressedVoxelOutput.o]
Error 1

Thank you in advance for any help ...

Cheick


----- Original Message ----- 
From: "Sebastien JAN" <sebastien.jan at cea.fr>
To: "Cheick O. THIAM" <thiam at clermont.in2p3.fr>
Cc: "Marcos Gimenez" <margial at ific.uv.es>; <gate-users at lists.healthgrid.org>
Sent: Tuesday, October 24, 2006 1:06 PM
Subject: Re: [Gate-users] Re: problem installing gate_v3.0.0


>
> 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