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><div><br></div>-- <br>Carlos F Uribe<br>
<br>
</div>