<div dir="ltr"><div>Hi Tim,</div><div><br></div><div>Just an observation from the sidelines (these days I can spend much less time on GATE than I did in the past): the subject of your mail is about version 9.1, but in the build output messages I see source paths with version 9.0 in them. Can you clarify which version you are really trying to build? That can be important for whoever is going to try to reproduce this error.</div><div><br></div><div>In principle the newest release is preferred. In case the above errors were really obtained with 9.0 source code, could you then try to upgrade to 9.1? Moreover, the next release is also just around the corner, this might also solve your problem (but maybe introduce a host of new ones :o) ). <br></div><div><br></div><div>Good luck!</div><div>David<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 15, 2022 at 5: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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>