<div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Dear Tim,</span><div dir="auto" style="font-family:sans-serif;font-size:12.8px">Please go to Ubuntu software and search GATE, you will find here the Gate9.1, just click on it to install.</div><div dir="auto" style="font-family:sans-serif;font-size:12.8px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:12.8px">I hope it will help you.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 15, 2022, 9:36 PM Schneider Tim <<a href="mailto:Tim.Schneider@curie.fr">Tim.Schneider@curie.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Gaters,<br>
<br>
We are trying to install GATE v9.1 on an Ubuntu 20.04 machine and we’re having some quite strange errors during the make step:<br>
<br>
/home/angela/geant4.10.06.p03-install/include/Geant4/CLHEP/Geometry/BasicVector3D.h:468:3: note: candidate: ‘std::ostream& std::operator<<(std::ostream&, int)’<br>
468 | operator<<(std::ostream &, const BasicVector3D<double> &);<br>
| ^~~~~~~~<br>
/home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:307:56: error: invalid use of incomplete type ‘class GateARFTable’<br>
307 | GateARFTable* arfTable = new GateARFTable(tableName);<br>
| ^<br>
In file included from /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:<br>
/home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note: forward declaration of ‘class GateARFTable’<br>
14 | class GateARFTable;<br>
| ^~~~~~~~~~~~<br>
/home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:308:13: error: invalid use of incomplete type ‘class GateARFTable’<br>
308 | arfTable->Initialize(tableBuffer[4], tableBuffer[5]);<br>
| ^~<br>
In file included from /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:<br>
/home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note: forward declaration of ‘class GateARFTable’<br>
14 | class GateARFTable;<br>
| ^~~~~~~~~~~~<br>
/home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:309:13: error: invalid use of incomplete type ‘class GateARFTable’<br>
309 | arfTable->SetEnergyReso(tableBuffer[2]);<br>
| ^~<br>
In file included from /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:<br>
/home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note: forward declaration of ‘class GateARFTable’<br>
14 | class GateARFTable;<br>
| ^~~~~~~~~~~~<br>
/home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:310:13: error: invalid use of incomplete type ‘class GateARFTable’<br>
310 | arfTable->SetERef(tableBuffer[3]);<br>
| ^~<br>
In file included from /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:<br>
/home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note: forward declaration of ‘class GateARFTable’<br>
14 | class GateARFTable;<br>
| ^~~~~~~~~~~~<br>
/home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:322:13: error: invalid use of incomplete type ‘class GateARFTable’<br>
322 | arfTable->FillTableFromBuffer(tableBuffer);<br>
| ^~<br>
In file included from /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:<br>
/home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note: forward declaration of ‘class GateARFTable’<br>
14 | class GateARFTable;<br>
| ^~~~~~~~~~~~<br>
make[2]: *** [CMakeFiles/GateLib.dir/build.make:128: CMakeFiles/GateLib.dir/source/arf/src/GateARFTableMgr.cc.o] Error 1<br>
make[2]: *** [CMakeFiles/GateLib.dir/build.make:154: CMakeFiles/GateLib.dir/source/digits_hits/src/GateActions.cc.o] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:290: CMakeFiles/GateLib.dir/all] Error 2<br>
make: *** [Makefile:130: all] Error 2<br>
<br>
This is actually only the lost couple of lines, there are many more such errors and warnings like these before the build completely fails.<br>
<br>
The ccmake options look like this:<br>
<br>
BUILD_TESTING OFF <br>
CMAKE_BACKWARDS_COMPATIBILITY 2.4 <br>
CMAKE_BUILD_TYPE Release <br>
CMAKE_INSTALL_PREFIX /home/angela/gate-install <br>
EXECUTABLE_OUTPUT_PATH <br>
GATE_COMPILE_GATEDIGIT OFF <br>
GATE_COMPILE_WITH_NATIVE OFF <br>
GATE_USE_DAVIS OFF <br>
GATE_USE_ECAT7 OFF <br>
GATE_USE_GEANT4_UIVIS ON <br>
GATE_USE_ITK OFF <br>
GATE_USE_LMF OFF <br>
GATE_USE_OPTICAL OFF <br>
GATE_USE_RTK OFF <br>
GATE_USE_SYSTEM_CLHEP OFF <br>
GATE_USE_TORCH OFF <br>
GATE_USE_XRAYLIB OFF <br>
Geant4_DIR /home/angela/geant4.10.06.p03-install/lib/Geant4-10.6.3<br>
LIBRARY_OUTPUT_PATH <br>
PTL_DIR /home/angela/geant4.10.06.p03-install/lib/Geant4-10.6.3/PTL <br>
ROOTCINT_EXECUTABLE /home/angela/root/bin/rootcint <br>
<br>
<br>
There was initially another problem that seemed to originate from root and Geant4 having been compiled with different C++ standards. We rebuilt Geant4 enforcing the C++ 17 standard and root is actually the downloaded binary which seems to work fine.<br>
<br>
Does anyone have an idea what the error during the GATE build could be and how to fix it?<br>
<br>
Thanks a lot in advance!<br>
<br>
Best,<br>
Tim<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" rel="noreferrer">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>