[Gate-users] compilation issue with the latest develop version - commit 4b78e12f86f9f2c68e6a55861f6cffb816100815

Mathieu Dupont mdupont at cppm.in2p3.fr
Mon Apr 6 11:27:34 CEST 2020


Hi, 

I do not have a mac so I can not test but for me your problem is a not
related to GATE (the problem comes from a geant4 include file).
For me it's a problem of environment when you compile your code, maybe
a mismatch between env when you compile geant4 and when you compile
GATE. 

How did you get geant4 ? It's compiled by yourself ? I found a
version on macport. 

Also can you locate the qgl.h file on your system and check that its
emplacement is included in -I arguments during GATE compilation. 

--------
On Mon, 6 Apr 2020 10:24:38 +0200
Benoît Presles <benoit.presles at u-bourgogne.fr> wrote:

> Dear Gate users,
> 
> I tried to compile the latest version of Gate (commit 
> 8c36984f77dc807949556cf490762d42a4d1dce8) with Geant4-10.06.p01 and I 
> have got that compilation error again (see below).
> With a previous version of Gate (commit between 
> 4b78e12f86f9f2c68e6a55861f6cffb816100815 and 
> 8c36984f77dc807949556cf490762d42a4d1dce8), I did not have any 
> compilation issue.
> 
> Thanks for your help,
> Best regards,
> Ben
> 
> 
> Le 18/02/2020 à 16:29, Thomas BAUDIER a écrit :
> >
> > Hi Benoit,
> >
> > I am not sure it is linked but this is the same issue I have got
> > with this pull request. Maybe it can help you:
> > https://github.com/OpenGATE/Gate/pull/290
> >
> > Regards
> > Thomas
> >
> > On 2020-02-18 15:22, Benoît Presles wrote:  
> >> Dear Gate users,
> >>
> >> I tried to compile the latest develop version (commit
> >> 4b78e12f86f9f2c68e6a55861f6cffb816100815) with both
> >> Geant4-10.06.p01 and Geant4-10.05.p01 and I have got the following
> >> compilation error:
> >>
> >> _[  0%] Building CXX object
> >> CMakeFiles/GateDigit_seqCoinc2Cones.dir/source/geometry/src/GateImageBox.cc.o_ 
> >>
> >> _In file included from
> >> /Users/benpresles/ownCloud/Documents/MySoftware/gate/src/source/geometry/src/GateImageBox.cc:6:_ 
> >>
> >> _In file included from
> >> /Users/benpresles/ownCloud/Documents/MySoftware/gate/src/source/geometry/include/GateImageBox.hh:32:_ 
> >>
> >> _In file included from
> >> /usr/local/src/geant4-10.06.p01/_install/include/Geant4/G4OpenGLSceneHandler.hh:41:_ 
> >>
> >> _/usr/local/src/geant4-10.06.p01/_install/include/Geant4/G4OpenGL.hh:84:14: 
> >>
> >> fatal error: 'qgl.h' file not found_
> >> _    #include <qgl.h>_
> >> _             ^~~~~~~_
> >> _1 error generated._
> >> _make[2]: ***
> >> [CMakeFiles/GateDigit_seqCoinc2Cones.dir/source/geometry/src/GateImageBox.cc.o] 
> >>
> >> Error 1_
> >> _make[1]: *** [CMakeFiles/GateDigit_seqCoinc2Cones.dir/all] Error
> >> 2_ _make: *** [all] Error 2_
> >>
> >> I am running macOS 10.12.6 with qt5 installed via macport.
> >> Any ideas?
> >>
> >> Best regards,
> >> Ben
> >> _______________________________________________
> >> Gate-users mailing list
> >> Gate-users at lists.opengatecollaboration.org
> >> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >>  
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users  
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


-- 
Mobilisé contre la réforme des retraites et la LPPR
-- 
Mathieu Dupont - Ingénieur de Recherche
CENTRE DE PHYSIQUE DES PARTICULES DE MARSEILLE
UMR 7346 - Aix-Marseille Université - CNRS/IN2P3
163 avenue de Luminy, Case 902, F -13288 Marseille CEDEX 09
Tél.: +33 (0) 4 91 82 72 19
Site : cppm.in2p3.fr - Email : mdupont at cppm.in2p3.fr


More information about the Gate-users mailing list