[Gate-users] Building GATE v9.1 on Ubuntu 20.04

Khalid Hussain khalidhussain1134 at gmail.com
Wed Feb 16 10:19:33 CET 2022


Dear Tim,
Please go to Ubuntu software and search GATE, you will find here the
Gate9.1, just click on it to install.

I hope it will help you.

On Tue, Feb 15, 2022, 9:36 PM Schneider Tim <Tim.Schneider at curie.fr> wrote:

> Dear Gaters,
>
> 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:
>
> /home/angela/geant4.10.06.p03-install/include/Geant4/CLHEP/Geometry/BasicVector3D.h:468:3:
> note: candidate: ‘std::ostream& std::operator<<(std::ostream&, int)’
>   468 |   operator<<(std::ostream &, const BasicVector3D<double> &);
>       |   ^~~~~~~~
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:307:56: error:
> invalid use of incomplete type ‘class GateARFTable’
>   307 |     GateARFTable* arfTable = new GateARFTable(tableName);
>       |                                                        ^
> In file included from
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:
> /home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note:
> forward declaration of ‘class GateARFTable’
>    14 | class GateARFTable;
>       |       ^~~~~~~~~~~~
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:308:13: error:
> invalid use of incomplete type ‘class GateARFTable’
>   308 |     arfTable->Initialize(tableBuffer[4], tableBuffer[5]);
>       |             ^~
> In file included from
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:
> /home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note:
> forward declaration of ‘class GateARFTable’
>    14 | class GateARFTable;
>       |       ^~~~~~~~~~~~
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:309:13: error:
> invalid use of incomplete type ‘class GateARFTable’
>   309 |     arfTable->SetEnergyReso(tableBuffer[2]);
>       |             ^~
> In file included from
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:
> /home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note:
> forward declaration of ‘class GateARFTable’
>    14 | class GateARFTable;
>       |       ^~~~~~~~~~~~
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:310:13: error:
> invalid use of incomplete type ‘class GateARFTable’
>   310 |     arfTable->SetERef(tableBuffer[3]);
>       |             ^~
> In file included from
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:
> /home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note:
> forward declaration of ‘class GateARFTable’
>    14 | class GateARFTable;
>       |       ^~~~~~~~~~~~
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:322:13: error:
> invalid use of incomplete type ‘class GateARFTable’
>   322 |     arfTable->FillTableFromBuffer(tableBuffer);
>       |             ^~
> In file included from
> /home/angela/Gate-9.0/source/arf/src/GateARFTableMgr.cc:14:
> /home/angela/Gate-9.0/source/arf/include/GateARFTableMgr.hh:14:7: note:
> forward declaration of ‘class GateARFTable’
>    14 | class GateARFTable;
>       |       ^~~~~~~~~~~~
> make[2]: *** [CMakeFiles/GateLib.dir/build.make:128:
> CMakeFiles/GateLib.dir/source/arf/src/GateARFTableMgr.cc.o] Error 1
> make[2]: *** [CMakeFiles/GateLib.dir/build.make:154:
> CMakeFiles/GateLib.dir/source/digits_hits/src/GateActions.cc.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:290: CMakeFiles/GateLib.dir/all] Error 2
> make: *** [Makefile:130: all] Error 2
>
> This is actually only the lost couple of lines, there are many more such
> errors and warnings like these before the build completely fails.
>
> The ccmake options look like this:
>
>  BUILD_TESTING                    OFF
>
>
>  CMAKE_BACKWARDS_COMPATIBILITY    2.4
>
>
>  CMAKE_BUILD_TYPE                 Release
>
>
>  CMAKE_INSTALL_PREFIX             /home/angela/gate-install
>
>
>  EXECUTABLE_OUTPUT_PATH
>
>
>  GATE_COMPILE_GATEDIGIT           OFF
>
>
>  GATE_COMPILE_WITH_NATIVE         OFF
>
>
>  GATE_USE_DAVIS                   OFF
>
>
>  GATE_USE_ECAT7                   OFF
>
>
>  GATE_USE_GEANT4_UIVIS            ON
>
>
>  GATE_USE_ITK                     OFF
>
>
>  GATE_USE_LMF                     OFF
>
>
>  GATE_USE_OPTICAL                 OFF
>
>
>  GATE_USE_RTK                     OFF
>
>
>  GATE_USE_SYSTEM_CLHEP            OFF
>
>
>  GATE_USE_TORCH                   OFF
>
>
>  GATE_USE_XRAYLIB                 OFF
>
>
>  Geant4_DIR
>  /home/angela/geant4.10.06.p03-install/lib/Geant4-10.6.3
>  LIBRARY_OUTPUT_PATH
>
>
>  PTL_DIR
> /home/angela/geant4.10.06.p03-install/lib/Geant4-10.6.3/PTL
>
>  ROOTCINT_EXECUTABLE              /home/angela/root/bin/rootcint
>
>
> 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.
>
> Does anyone have an idea what the error during the GATE build could be and
> how to fix it?
>
> Thanks a lot in advance!
>
> Best,
> Tim
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220216/d7ccabf9/attachment.html>


More information about the Gate-users mailing list