<div dir="ltr"><div>Hi Gate user,</div><div><br></div><div>Thank you for everyone who kindly responded to me post below,</div><div><br></div><div>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.</div>
<div><br></div><div>Thanks,</div><div>Abdullah</div><div>  </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 11:41 PM, Abdullah AbuHaimed <span dir="ltr"><<a href="mailto:ahaimed@gmail.com" target="_blank">ahaimed@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
        
        
        


<p style="margin-bottom:0cm">Hi Gate users,</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">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.</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">Any help would be
greatly appreciated.</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">[ 83%] Building CXX
object CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o
</p>
<p style="margin-bottom:0cm">/home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘G4bool
GateBinaryCascade::ApplyCollision(G4CollisionInitialState*)’:
</p>
<p style="margin-bottom:0cm">/home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:1150:9:
warning: variable ‘lateBaryon’ set but not used
[-Wunused-but-set-variable]
</p>
<p style="margin-bottom:0cm">/home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:1150:24:
warning: variable ‘lateCharge’ set but not used
[-Wunused-but-set-variable]
</p>
<p style="margin-bottom:0cm">/home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘G4Fragment*
GateBinaryCascade::FindFragments()’:
</p>
<p style="margin-bottom:0cm">/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
</p>
<p style="margin-bottom:0cm">/home/abdullah/Gate/gate_v6.2/source/physics/src/GateBinaryCascade.cc:
In member function ‘G4LorentzVector
GateBinaryCascade::GetFinalNucleusMomentum()’:
</p>
<p style="margin-bottom:0cm">/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
</p>
<p style="margin-bottom:0cm">/home/abdullah/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h:
At global scope:
</p>
<p style="margin-bottom:0cm">/home/abdullah/CLHEP-install/include/CLHEP/Units/PhysicalConstants.h:80:21:
warning: ‘CLHEP::electron_charge’ defined but not used
[-Wunused-variable]
</p>
<p style="margin-bottom:0cm">/home/abdullah/CLHEP-install/include/CLHEP/Random/Randomize.h:68:12:
warning: ‘CLHEP::HepRandomGenActive’ defined but not used
[-Wunused-variable]
</p>
<p style="margin-bottom:0cm">make[2]: ***
[CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o] Error
1
</p>
<p style="margin-bottom:0cm">make[1]: ***
[CMakeFiles/Gate.dir/all] Error 2
</p>
<p style="margin-bottom:0cm">make: *** [all] Error
2
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm">Thanks,</p>
<p style="margin-bottom:0cm">Abdullah</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p></div>
</blockquote></div><br></div></div>