[Gate-users] Gate 7.1 build broken after updating to Geant4.10.01.p01

REUZE SYLVAIN SYLVAIN.REUZE at gustaveroussy.fr
Tue Apr 14 15:06:14 CEST 2015


Hello,



I have the same compilation errors with Geant4 10.01 p01. I'd like to install Gate 7.1 in order to solve another problem, but I can't find the link to download Geant4 10.01, without the patch.

Could you help me ?



Best regards,

Sylvain Reuzé
Stagiaire physicien
Département de Radiothérapie
Service de physique médicale

Tél. : 01 42 11 54 06
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D076C4.8D1D9C60]







-----Message d'origine-----
De : gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-users-bounces at lists.opengatecollaboration.org] De la part de Alex Vergara Gil
Envoyé : lundi 13 avril 2015 13:12
À : Marc Chamberland
Cc : Gate Users
Objet : Re: [Gate-users] Gate 7.1 build broken after updating to Geant4.10.01.p01



For what it's worth, I can reproduce the compilation errors, too.

There might be a compatibility issue with the

G4SPSRandomGenerator.hh:156:7:

error: field of type 'G4Cache<G4SPSRandomGenerator::a_check>' has

private copy constructor

class G4SPSRandomGenerator {



I'm compiling with:



GCC version 4.8



Alex



2015-04-10 11:53 GMT-04:00, Marc Chamberland

<MarcChamberland at cmail.carleton.ca>:

> For what it's worth, I can reproduce the compilation errors, too. I'm

> compiling with:

>

> Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)

>

>

> Marc

>

>

>

> __________________________

>

> Marc Chamberland, MSc

> PhD candidate

> Department of Physics

> Carleton University

> Ottawa (ON)

>

>> On Apr 9, 2015, at 17:17, Mojca Miklavec <mojca.miklavec.lists at gmail.com>

>> wrote:

>>

>> Hi,

>>

>> Today I updated Geant4 from version 4.10.01 to 4.10.01.p01 and Gate no

>> longer compiles for me. Below is the first error (followed by many

>> others). I was surprised because Geant4 developers aren't really known

>> for breaking backward compatibility with patch releases.

>>

>> I'm using clang 3.4 which is not fully C++11 compatible (at least not

>> without switching to a different stdlib) in case that this was the

>> reason for the failure.

>>

>> I will try to investigate where the problem could be, but I wanted to

>> report an issue. Maybe others will be able to reproduce it and

>> diagnose it faster than I can. (There is a chance that it's not

>> related to the code in Gate and that Geant4 is to blame.)

>>

>> Mojca

>>

>>

>>

>> [ 87%] Building CXX object

>> CMakeFiles/Gate.dir/source/physics/src/GateVSourceMessenger.cc.o

>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++

>>  -DG4INTY_USE_QT -DG4UI_USE -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4VERBOSE

>> -DG4VIS_USE -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT

>> -DG4_STORE_TRAJECTORY -pipe -Os -arch x86_64 -stdlib=libstdc++ -W

>> -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings

>> -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow

>> -pipe -Qunused-arguments -std=c++98 -pipe -Os -arch x86_64

>> -stdlib=libstdc++  -Wno-shadow -DNDEBUG -DNDEBUG -arch x86_64

>> -mmacosx-version-min=10.7 -F//System/Library/Frameworks

>> -I/opt/local/libexec/root5/include/root -I/path/to/build -isystem

>> /opt/local/include/Geant4/Geant4.10.1/Geant4 -isystem

>> /opt/local/include -isystem /opt/local/include/QtCore -isystem

>> /opt/local/include/QtGui -isystem /opt/local/include/QtOpenGL

>> -I/path/to/Gate-a20d5f0/source/arf/include

>> -I/path/to/Gate-a20d5f0/source/geometry/include

>> -I/path/to/Gate-a20d5f0/source/physics/include

>> -I/path/to/Gate-a20d5f0/source/digits_hits/include

>> -I/path/to/Gate-a20d5f0/source/general/include

>> -I/path/to/Gate-a20d5f0/source/externals/clhep/include

>> -I/path/to/Gate-a20d5f0/source/externals/itk-mhd

>> -I/path/to/Gate-a20d5f0/source/externals/itk-mhd/itkzlib

>> -I/path/to/Gate-a20d5f0/source/externals/itk-mhd/MetaIO

>> -I/path/to/build/itk-mhd    -o

>> CMakeFiles/Gate.dir/source/physics/src/GateVSourceMessenger.cc.o -c

>> /path/to/Gate-a20d5f0/source/physics/src/GateVSourceMessenger.cc

>> In file included from

>> /path/to/Gate-a20d5f0/source/physics/src/GateVSource.cc:16:

>> In file included from

>> /path/to/Gate-a20d5f0/source/physics/include/GateBackToBack.hh:14:

>> In file included from

>> /path/to/Gate-a20d5f0/source/physics/include/GateVSource.hh:16:

>> In file included from

>> /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SingleParticleSource.hh:124:

>> In file included from

>> /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SPSPosDistribution.hh:141:

>> /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SPSRandomGenerator.hh:156:7:

>> error: field of type 'G4Cache<G4SPSRandomGenerator::a_check>' has

>> private copy constructor

>> class G4SPSRandomGenerator {

>>      ^

>> _______________________________________________

>> Gate-users mailing list

>> Gate-users at lists.opengatecollaboration.org

>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

>

> _______________________________________________

> Gate-users mailing list

> Gate-users at lists.opengatecollaboration.org

> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

_______________________________________________

Gate-users mailing list

Gate-users at lists.opengatecollaboration.org

http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/c9085f48/attachment-0001.html>
-------------- section suivante --------------
Une pi?ce jointe autre que texte a ?t? nettoy?e...
Nom: image001.gif
Type: image/gif
Taille: 6696 octets
Desc: image001.gif
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/c9085f48/attachment-0001.gif>


More information about the Gate-users mailing list