[Gate-users] Error during installation Gate v6.2

Abdullah AbuHaimed ahaimed at gmail.com
Fri Apr 5 14:26:52 CEST 2013


Hi Gate user,

Thank you for everyone who kindly responded to me post below,

Just to share solving this error with someone who might have the same
error. Simply, the error was in installation of CLHEP library, so I had to
re-installed it and then everything went well.

Thanks,
Abdullah



On Wed, Apr 3, 2013 at 11:41 PM, Abdullah AbuHaimed <ahaimed at gmail.com>wrote:

> Hi Gate users,
>
>
>  I have been trying to install Gate v6.2 in Ubuntu 10.12, 83% of the
> installation was completed successfully, but after which I have received an
> error as shown below. I have tried to use (make) and (make -j2), but still
> have the same error, also I have checked my installation for Geant and
> Root, and everything looks fine.
>
>
>  Any help would be greatly appreciated.
>
>
>  [ 83%] Building CXX object
> CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc: In
> member function ‘G4bool
> GateBinaryCascade::ApplyCollision(G4CollisionInitialState*)’:
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:1150:9:
> warning: variable ‘lateBaryon’ set but not used [-Wunused-but-set-variable]
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:1150:24:
> warning: variable ‘lateCharge’ set but not used [-Wunused-but-set-variable]
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc: In
> member function ‘G4Fragment* GateBinaryCascade::FindFragments()’:
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:2278:36:
> error: conversion from ‘int’ to non-scalar type ‘G4LorentzVector {aka
> CLHEP::HepLorentzVector}’ requested
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc: In
> member function ‘G4LorentzVector
> GateBinaryCascade::GetFinalNucleusMomentum()’:
>
> /home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:2392:36:
> error: conversion from ‘int’ to non-scalar type ‘G4LorentzVector {aka
> CLHEP::HepLorentzVector}’ requested
>
> /home/abdullah/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h: At
> global scope:
>
> /home/abdullah/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h:80:21:
> warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]
>
> /home/abdullah/CLHEP-install/include/CLHEP/Random/Randomize.h:68:12:
> warning: ‘CLHEP::HepRandomGenActive’ defined but not used
> [-Wunused-variable]
>
> make[2]: ***
> [CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o] Error 1
>
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>  Thanks,
>
> Abdullah
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130405/dd5bc700/attachment.html>


More information about the Gate-users mailing list