[Gate-users] issues with gate compilation

Helge Pettersen helge.e.s.pettersen at gmail.com
Wed Nov 24 13:42:24 CET 2021


Dear Sarah,

I had the same problem during a recent installation. The problem was a
mismatch in the C++ versions between ROOT 6.24 and Gate.
I'm sure there are some compilation flags that might fix the problem, but
my simple solution was to downgrade to ROOT 6.22 before installing Gate.
Good luck!

Helge Pettersen

On Tue, Nov 23, 2021 at 4:54 PM Sarah Blind <sarah.blind at univ-lorraine.fr>
wrote:

> Dear Gate users,
>
> I'm new to Gate and I encounter some problems compiling it.
> Maybe someone here could help me? I'm sorry if the problem is obvious.
>
> So, first of all I'm working on a virtualbox with Ubuntu 20.04.3 LTS.
> I installed Geant4 10.07 and downloaded the binaries for ROOT 6.24.06.
> Now, when I try a *sudo make* in the gate9.1-build file, I get the
> following error :
>
> error: ‘string_view’ is not a member of ‘std’
> ote: ‘std::string_view’ is only available from C++17 onwards
>
> Does anyone have any idea how to fix this?
>
> Many thanks for your help,
> Sarah
> _______________________________________________
> 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/20211124/8f9ca6f5/attachment.html>


More information about the Gate-users mailing list