<html><head></head><body>Hi,<br>
<br>
I heard that there might be erreors using the newest geant4 patch.<br>
You could try Geant4 10.1 without patch.<br>
<br>
Chers,<br>
Hermann<br><br><div class="gmail_quote">Am 1. Mai 2015 18:46:29 MESZ, schrieb Carlos Uribe <carluri@phas.ubc.ca>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi Everybody,<div><br /></div><div>Can someone help me with the following compilation errors?</div><div><br /></div><div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px">
from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE =
G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div
style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE =
G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div
style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE =
G4SPSRandomGenerator::a_check]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:144:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from
/home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/global/management/include/G4Cache.hh:124:12: error: âG4Cache<VALTYPE>& G4Cache<VALTYPE>::operator=(const G4Cache<VALTYPE>&) [with VALTYPE = G4SPSRandomGenerator::bweights_t]â is private</div><div style="font-size:12.8000001907349px"> G4Cache& operator=(const G4Cache& rhs);</div><div style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from
/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSPosDistribution.hh:141:0,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SingleParticleSource.hh:124,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateVSource.hh:16,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/include/GateBackToBack.hh:14,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:16:</div><div style="font-size:12.8000001907349px">/home.mirg/GATE71/geant4.10.01.p01/source/event/include/G4SPSRandomGenerator.hh:156:7: error: within this context</div><div style="font-size:12.8000001907349px"> class G4SPSRandomGenerator {</div><div
style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_tree.h:61:0,</div><div style="font-size:12.8000001907349px"> from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/map:60,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/geant4.10.01.p01/source/particles/management/include/G4ParticleTable.hh:53,</div><div style="font-size:12.8000001907349px"> from /home.mirg/GATE71/opengate-public/source/physics/src/GateVSource.cc:9:</div><div style="font-size:12.8000001907349px">/opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:682:11: note: synthesized method âG4SPSRandomGenerator& G4SPSRandomGenerator::operator=(const G4SPSRandomGenerator&)â first required here</div><div style="font-size:12.8000001907349px"> *__first = __value;</div><div
style="font-size:12.8000001907349px"> ^</div><div style="font-size:12.8000001907349px">make[2]: *** [CMakeFiles/Gate.dir/source/physics/src/GateVSource.cc.o] Error 1</div><span class="im" style="font-size:12.8000001907349px"><div>make[2]: *** Waiting for unfinished jobs....</div><div>make[1]: *** [CMakeFiles/Gate.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br /></div><div>Thanks,</div></span><div><br /></div>-- <br /><div class="gmail_signature"><div dir="ltr"><div>Carlos F Uribe</div></div></div>
</div></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Gate-users mailing list<br />Gate-users@lists.opengatecollaboration.org<br /><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre></blockquote></div></body></html>