[Gate-users] Re: Gate compile error
Daniel Woodsworth
danieljw at phas.ubc.ca
Fri May 18 18:31:31 CEST 2007
Hi Roger,
I think you might be mixing your versions of software. The Gate website
recommends:
gate 3.0.0 geant4 8.0.p01 root 5.xx clhep 2.0.2.2
gcc 4.0
or
gate 3.1.1 geant4 8.1.p02 root 5.12 clhep 1.9.2.3 - 2.0.2.3 gcc
3.2 to 4.1
or
gate 3.1.0 geant4 8.1.p02 root 5.12 clhep 1.9.2.3 - 2.0.2.3 gcc 3.2 to
4.0
You're trying to use the newest supported (by GATE) version of GEANT4
(8.1p02) with an older version of GATE (3.0.0). Next, Gate only supports
up to root 5.12, but you are using root 5.14, which might cause problems.
Also, Gate v. 3.0.0 seems to only support gcc 4.0, which is a pretty new
version of gcc. It is quite possible that you have an older version of gcc
which could also cause problems.
Since you already have quite new versions of CLHEP and geant4 compiled, I
would rebuild root using version 5.12 and try and install Gate v 3.1.1
(which supports a wide range of gcc compilers). Whatever you do, confirm
on the GATE website that all the software is compatible.
Hope this helps.
Daniel
> Hi
>
> I have compiled
> CLHEP 2.0.2.2
> geant4.8.1.p02
> without apparent problems.
>
> make of root_v5.14.00
> gave some errors about mysql
> but completed.
>
> attempting to make Gate_v3.0.0
> gives
>
> make: *** No rule to make target
> `/usr/src/geant4.8.2.p01/source/run/include/G4RunManager.hh', needed
> by `tmp/Linux-g++/Gate/exe/Gate.d'. Stop.
>
> This suggests that Gate_v3.0.0 wants Geant4.8.2.p01
> However, make of gate after geant4.8.2.p01 gives numerous errors of this
> type:
>
> : undefined reference to
> `G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene()'
> /usr/src/geant4.8.2.p01/lib/Linux-g++/libG4Tree.a(G4ASCIITreeSceneHandler.o)(.text+0xc52):
> In function
> `G4ASCIITreeSceneHandler::EndModeling()':
>
>
> Thanks for any suggestions
> Roger Bourne
> University of Sydney.
>
>
>
>
>>
>
>
>
>
> _______________________________________________
> 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