<div dir="ltr">Dear Tasneem,<div><br></div><div>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/<b style="font-size:13px;font-family:arial,sans-serif">geant4/geant4.9.6.p03-install/include/Geant4/G4NeutronHPVector.hh</b><span style="font-size:13px;font-family:arial,sans-serif">, and locate the error line </span><b style="font-size:13px;font-family:arial,sans-serif">403: error: ‘__isnan’ is not a member of ‘std’. </b><span style="font-size:13px;font-family:arial,sans-serif">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!</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Best,</span></div><div>Beien</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 6 June 2014 15:22, Tasneem Rahman <span dir="ltr"><<a href="mailto:Tasneem.Rahman@student.adfa.edu.au" target="_blank">Tasneem.Rahman@student.adfa.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<pre style="word-wrap:break-word;font-size:10.0pt;font-family:Tahoma;color:black">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 <<a href="mailto:benjaminwang91@gmail.com" target="_blank">benjaminwang91@gmail.com</a>>
Date: Fri, 2014-06-06 22:02
To: "Schnerr R.S. (Roald)" <<a href="mailto:roald.schnerr@mumc.nl" target="_blank">roald.schnerr@mumc.nl</a>>
CC: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>
</pre><div><div class="h5">
<div>
<div dir="ltr">
<div>Dear Roald,</div>
<div><br>
</div>
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!
<div><br>
</div>
<div>Best,</div>
<div>Beien</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 5 June 2014 15:46, Schnerr R.S. (Roald) <span dir="ltr">
<<a href="mailto:roald.schnerr@mumc.nl" target="_blank">roald.schnerr@mumc.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Perhaps try it without the -j4 option. So just make. That helped in my case. Apparently it suffers from some sort of race condition.<br>
<br>
Best wishes,<br>
Roald<br>
<div>
<div><br>
> -----Original Message-----<br>
> From: <a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a> [mailto:<a href="mailto:gate-" target="_blank">gate-</a><br>
> <a href="mailto:users-bounces@lists.opengatecollaboration.org" target="_blank">users-bounces@lists.opengatecollaboration.org</a>] On Behalf Of Beien Wang<br>
> Sent: donderdag 5 juni 2014 13:52<br>
> To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
> Subject: [Gate-users] Gate v7 installation problem<br>
><br>
> Dear gate users,<br>
><br>
><br>
> I am struggling to install Gate v7.0 on my Scientific Linux 5.3<br>
> computer. GEANT4 and CLHEP have been installed successfully (at least I<br>
> believe so). GATE is also successfully configured by cmake. But when I<br>
> manage to follow the instruction and use make -j4 to install it, the<br>
> error below occurs. Can any one help me with it? Thanks!<br>
><br>
><br>
> Best,<br>
><br>
> Beien<br>
><br>
><br>
> The problem after make -j4<br>
><br>
><br>
> Linking CXX static library libITKMetaIO.a [ 6%] Built target ITKMetaIO<br>
> [ 6%] [ 6%] [ 6%] Building CXX object CMakeFiles/Gate.dir/Gate.cc.o<br>
> [ 6%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRootMessenger.cc.o<br>
> Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFSD.cc.o<br>
> Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFSDMessenger.cc.o<br>
> [ 6%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFTable.cc.o<br>
> /home/wuwei/programs/geant4/geant4.9.6.p03-<br>
> install/include/Geant4/G4NeutronHPVector.hh: In member function ‘void<br>
> G4NeutronHPVector::IntegrateAndNormalise()’:<br>
> /home/wuwei/programs/geant4/geant4.9.6.p03-<br>
> install/include/Geant4/G4NeutronHPVector.hh:403: error: ‘__isnan’ is<br>
> not a member of ‘std’<br>
> [ 6%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgrMessenger.cc.o<br>
> [ 7%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o<br>
> [ 7%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRoot.cc.o<br>
> /home/wuwei/programs/CLHEP/2.1.3.1-<br>
> install/include/CLHEP/Units/PhysicalConstants.h: At global scope:<br>
> /home/wuwei/programs/CLHEP/2.1.3.1-<br>
> install/include/CLHEP/Units/PhysicalConstants.h:80: warning:<br>
> ‘CLHEP::electron_charge’ defined but not used<br>
> /home/wuwei/programs/CLHEP/2.1.3.1-<br>
> install/include/CLHEP/Random/Randomize.h:68: warning:<br>
> ‘CLHEP::HepRandomGenActive’ defined but not used<br>
> make[2]: *** [CMakeFiles/Gate.dir/Gate.cc.o] Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> --<br>
><br>
> Beien Wang<br>
> Master's student at KTH, Royal Institute of Technology<br>
> Email: <a href="mailto:benjaminwang91@gmail.com" target="_blank">benjaminwang91@gmail.com</a><br>
</div>
</div>
________________________________<br>
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.<br>
________________________________<br>
<br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><font face="courier new, monospace">Beien Wang</font>
<div><font face="courier new, monospace">Master's student at KTH, Royal Institute of Technology</font></div>
<div><font face="courier new, monospace">Mobile telephone: <a href="tel:%2B46%20720%20327%20308" value="+46720327308" target="_blank">+46 720 327 308</a></font></div>
<div><font face="courier new, monospace">Email: <a href="mailto:benjaminwang91@gmail.com" target="_blank">
benjaminwang91@gmail.com</a></font></div>
<div><font face="courier new, monospace">Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden</font></div>
</div>
</div>
</div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="courier new, monospace">Beien Wang</font><div><font face="courier new, monospace">Master's student at KTH, Royal Institute of Technology</font></div>
<div><font face="courier new, monospace">Mobile telephone: +46 720 327 308</font></div><div><font face="courier new, monospace">Email: <a href="mailto:benjaminwang91@gmail.com" target="_blank">benjaminwang91@gmail.com</a></font></div>
<div><font face="courier new, monospace">Address: Ekebergabacken 4A-1032, 123 63 Farsta, Sweden</font></div></div>
</div>