[Gate-users] Gate v7 installation problem
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Wed Jun 11 07:38:44 CEST 2014
Hello,
what is your gcc version ? G4 9.6.3 is compatible with gcc 4.2.1
David
On Tue, Jun 10, 2014 at 1:40 PM, Tasneem Rahman <
Tasneem.Rahman at student.adfa.edu.au> wrote:
> Hi Beien,
>
> Still figuring out my problem. would you please tell me what are the versions you have used for CLHEP, root and geant ? may be I can get something from there. Thanks.
>
>
> Cheers
>
> Smita
>
> -------- Original Message --------
> Subject: Re: [Gate-users] Gate v7 installation problem
> From: Beien Wang <benjaminwang91 at gmail.com>
> Date: Mon, 2014-06-09 19:27
> To: Tasneem Rahman <Tasneem.Rahman at student.adfa.edu.au>
> CC: gate-users at lists.opengatecollaboration.org
>
> Dear Smita,
>
> I think we are having different problems, since the located error files
> are different (I read you post in the mailing-list). It is possible that
> you have a minor modification different files like what I did and the
> problem might be solved. I don't know, but good luck!
>
> Best,
> Beien
>
>
> On 8 June 2014 06:37, Tasneem Rahman <Tasneem.Rahman at student.adfa.edu.au>
> wrote:
>
>> Dear Beien,
>>
>>
>>
>> Thanks for your help. But it didn’t bring any luck for me. Don’t really
>> sure now how to proceed. L
>>
>>
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Smita
>>
>>
>>
>> *From:* Beien Wang [mailto:benjaminwang91 at gmail.com]
>> *Sent:* Saturday, 7 June 2014 6:24 PM
>> *To:* Tasneem Rahman
>> *Cc:* gate-users at lists.opengatecollaboration.org
>>
>> *Subject:* Re: [Gate-users] Gate v7 installation problem
>>
>>
>>
>> Dear Tasneem,
>>
>>
>>
>> Sorry I don't have that file at hand these days. But what I have done is
>> quite simple. Just locate the error file: path_to_geant4/
>> *geant4/geant4.9.6.p03-install/include/Geant4/G4NeutronHPVector.hh*, and
>> locate the error line *403: error: ‘__isnan’ is not a member of ‘std’. *
>> Change the error std::isnan(...) to isnan(...). Then the error disappears.
>> I have no idea of why this error exists, neither do I have any idea of why
>> this way solve the problem without trigger further problem... Good luck!
>>
>>
>>
>> Best,
>>
>> Beien
>>
>>
>>
>> On 6 June 2014 15:22, Tasneem Rahman <Tasneem.Rahman at student.adfa.edu.au>
>> wrote:
>>
>> Dear Beien,
>>
>>
>>
>> I am having the exact problem. would you mind to send me the link of the error file as you mentioned where I can modify the same?Thanks.
>>
>>
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Smita
>>
>>
>>
>> -------- Original Message --------
>>
>> Subject: Re: [Gate-users] Gate v7 installation problem
>>
>> From: Beien Wang <benjaminwang91 at gmail.com>
>>
>> Date: Fri, 2014-06-06 22:02
>>
>> To: "Schnerr R.S. (Roald)" <roald.schnerr at mumc.nl>
>>
>> CC: gate-users at lists.opengatecollaboration.org
>>
>>
>>
>> Dear Roald,
>>
>>
>>
>> Finally I fix it out by modifying the line in the error file. The error
>> is 'isnan is not a member of std', and I just change that line from
>> std::isnan to isnan. Then the problem was solved. Thank you all!
>>
>>
>>
>> Best,
>>
>> Beien
>>
>>
>>
>> On 5 June 2014 15:46, Schnerr R.S. (Roald) <roald.schnerr at mumc.nl> wrote:
>>
>> Perhaps try it without the -j4 option. So just make. That helped in my
>> case. Apparently it suffers from some sort of race condition.
>>
>> Best wishes,
>> Roald
>>
>>
>> > -----Original Message-----
>> > From: gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-
>> > users-bounces at lists.opengatecollaboration.org] On Behalf Of Beien Wang
>> > Sent: donderdag 5 juni 2014 13:52
>> > To: gate-users at lists.opengatecollaboration.org
>> > Subject: [Gate-users] Gate v7 installation problem
>> >
>> > Dear gate users,
>> >
>> >
>> > I am struggling to install Gate v7.0 on my Scientific Linux 5.3
>> > computer. GEANT4 and CLHEP have been installed successfully (at least I
>> > believe so). GATE is also successfully configured by cmake. But when I
>> > manage to follow the instruction and use make -j4 to install it, the
>> > error below occurs. Can any one help me with it? Thanks!
>> >
>> >
>> > Best,
>> >
>> > Beien
>> >
>> >
>> > The problem after make -j4
>> >
>> >
>> > Linking CXX static library libITKMetaIO.a [ 6%] Built target ITKMetaIO
>> > [ 6%] [ 6%] [ 6%] Building CXX object CMakeFiles/Gate.dir/Gate.cc.o
>> > [ 6%] Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRootMessenger.cc.o
>> > Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFSD.cc.o
>> > Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFSDMessenger.cc.o
>> > [ 6%] Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFTable.cc.o
>> > /home/wuwei/programs/geant4/geant4.9.6.p03-
>> > install/include/Geant4/G4NeutronHPVector.hh: In member function ‘void
>> > G4NeutronHPVector::IntegrateAndNormalise()’:
>> > /home/wuwei/programs/geant4/geant4.9.6.p03-
>> > install/include/Geant4/G4NeutronHPVector.hh:403: error: ‘__isnan’ is
>> > not a member of ‘std’
>> > [ 6%] Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgrMessenger.cc.o
>> > [ 7%] Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o
>> > [ 7%] Building CXX object
>> > CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRoot.cc.o
>> > /home/wuwei/programs/CLHEP/2.1.3.1-
>> > install/include/CLHEP/Units/PhysicalConstants.h: At global scope:
>> > /home/wuwei/programs/CLHEP/2.1.3.1-
>> > install/include/CLHEP/Units/PhysicalConstants.h:80: warning:
>> > ‘CLHEP::electron_charge’ defined but not used
>> > /home/wuwei/programs/CLHEP/2.1.3.1-
>> > install/include/CLHEP/Random/Randomize.h:68: warning:
>> > ‘CLHEP::HepRandomGenActive’ defined but not used
>> > make[2]: *** [CMakeFiles/Gate.dir/Gate.cc.o] Error 1
>> > make[2]: *** Waiting for unfinished jobs....
>> > make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
>> > make: *** [all] Error 2
>> >
>> > --
>> >
>> > Beien Wang
>> > Master's student at KTH, Royal Institute of Technology
>> > Email: benjaminwang91 at gmail.com
>>
>> ________________________________
>> This email and any attachments may contain confidential or privileged
>> information and is intended for the addressee only. If you are not the
>> intended recipient, please immediately notify us by email or telephone and
>> delete the original email and attachments without using, disseminating or
>> reproducing its contents to anyone other than the intended recipient. The
>> Maastricht UMC+ shall not be liable for the incorrect or incomplete
>> transmission of this email or any attachments, nor for unauthorized use by
>> its employees.
>> ________________________________
>>
>>
>>
>>
>>
>> --
>>
>> Beien Wang
>>
>> Master's student at KTH, Royal Institute of Technology
>>
>> Mobile telephone: +46 720 327 308
>>
>> Email: benjaminwang91 at gmail.com
>>
>> Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden
>>
>>
>>
>>
>>
>> --
>>
>> Beien Wang
>>
>> Master's student at KTH, Royal Institute of Technology
>>
>> Mobile telephone: +46 720 327 308
>>
>> Email: benjaminwang91 at gmail.com
>>
>> Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden
>>
>
>
>
> --
> Beien Wang
> Master's student at KTH, Royal Institute of Technology
> Mobile telephone: +46 720 327 308
> Email: benjaminwang91 at gmail.com
> Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140611/10797d29/attachment.html>
More information about the Gate-users
mailing list