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