Thanks Didier...<div><br></div><div>That solved the problem<br><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 12:58 PM, Didier Benoit <span dir="ltr"><<a href="mailto:benoit@imnc.in2p3.fr" target="_blank">benoit@imnc.in2p3.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Carlos,<div><br></div><div>In the file 'source/arf/src/GateARFTableMgr.cc' at the line 227, try to replace 'ostream' by 'std::ostream', your compiler is a little aggressive :-), I've not this problem on my Ubuntu 12.04.</div>
<div><br></div><div>Kind regards,</div><div>Didier</div><div><div><div class="h5"><br><div><div>On Sep 26, 2012, at 9:45 PM, Carlos Uribe <<a href="mailto:carluri@phas.ubc.ca" target="_blank">carluri@phas.ubc.ca</a>> wrote:</div>
<br><blockquote type="cite">Tried that as well and still getting the same errors.<br><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 12:07 PM, Geron Bindseil <span dir="ltr"><<a href="mailto:geron9@gmail.com" target="_blank">geron9@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Carlos,<br><br>The Gate compilation needs to be done with a single sequential thread, so you will probably find it works if you just run 'make' without the -j4 flag.<br>
<br>Good luck,<br>Geron<br><br>---<br><br>
Geron Bindseil<br>PhD Candidate, Physics<br>Western University<br>London, Ontario, Canada<br><a href="mailto:gbindsei@uwo.ca" target="_blank">gbindsei@uwo.ca</a><br><br><div class="gmail_quote"><div><div>On Wed, Sep 26, 2012 at 2:48 PM, Carlos Uribe <span dir="ltr"><<a href="mailto:carluri@phas.ubc.ca" target="_blank">carluri@phas.ubc.ca</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello Gate users,<div><br></div><div>I'm trying to compile gate on a 64 bit ubuntu 12.04 machine...I'm getting the following errors that I don't know how to solve. any help is really appreciated.</div>
<div><br>
</div><div>make -j4</div><div>....</div><div>....</div><div><br></div><div><br></div><div><div>Scanning dependencies of target Gate</div><div>[ 7%] [ 7%] [ 7%] Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o</div>
<div>Building CXX object CMakeFiles/Gate.dir/Gate.cc.o</div><div>[ 7%] Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFSDMessenger.cc.o</div><div>Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgrMessenger.cc.o</div>
<div>[ 7%] Building CXX object CMakeFiles/Gate.dir/source/arf/src/GateARFSD.cc.o</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc: In member function ‘void GateARFTableMgr::SaveARFToBinaryFile()’:</div>
<div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:227:1: error: ‘ofstream’ was not declared in this scope</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:227:1: note: suggested alternative:</div>
<div>/usr/include/c++/4.6/iosfwd:162:34: note: ‘std::ofstream’</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:227:10: error: expected ‘;’ before ‘dest’</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:228:1: error: ‘dest’ was not declared in this scope</div>
<div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc: In member function ‘void GateARFTableMgr::LoadARFFromBinaryFile(G4String)’:</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:303:3: error: ‘ifstream’ was not declared in this scope</div>
<div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:303:3: note: suggested alternative:</div><div>/usr/include/c++/4.6/iosfwd:159:34: note: ‘std::ifstream’</div><div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:303:12: error: expected ‘;’ before ‘dest’</div>
<div>/opt/simulation/gate_v6.2/source/arf/src/GateARFTableMgr.cc:304:3: error: ‘dest’ was not declared in this scope</div><div>/opt/simulation/clhep_2.1.1.0/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global scope:</div>
<div>/opt/simulation/clhep_2.1.1.0/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]</div><div>/opt/simulation/clhep_2.1.1.0/CLHEP/include/CLHEP/Random/Randomize.h:68:12: warning: ‘CLHEP::HepRandomGenActive’ defined but not used [-Wunused-variable]</div>
<div>make[2]: *** [CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o] Error 1</div><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><font color="#888888"><div><br></div>-- <br>Carlos F Uribe<br>
<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br clear="all"><div><br></div>-- <br>Carlos F Uribe<br>
<br>
</a></blockquote></div></blockquote></div>
_______________________________________________<br>Gate-users mailing list<br><a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div><br></div></div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Ubuntu Mono';word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Ubuntu Mono';word-spacing:0px"><div style="word-wrap:break-word">
----------------------------------------------------------------<br>Didier BENOIT, PhD Student<br>Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)<br>QIM - IMNC/IN2P3 CNRS – UMR 8165 – Université Paris VII-XI<br>
Campus d’Orsay<br>Bâtiment 440<br>91406 ORSAY Cedex<br><br>Tél : (33) 1 69 15 68 76<br>E-mail : <a href="mailto:benoit@imnc.in2p3.fr" target="_blank">benoit@imnc.in2p3.fr</a><br><a href="http://www.imnc.in2p3.fr" target="_blank">http://www.imnc.in2p3.fr</a><br>
----------------------------------------------------------------<br clear="all"><div><br></div>-- <br>Carlos F Uribe<br>
<br>
</div></span></span></div></div></div></blockquote></div></div>