<div dir="ltr">Hi Michal,<div><br></div><div>          Myself Satyajit. Recently I had installed GATE v7.2 on Ubuntu 16.04 and that time I also came across the same problem. After having some suggestion from a GATE member I successfully installed GATE. Here are the steps which you need to follow,</div><div><br></div><div>     1. That 'kCanRebin' error is related to root. So at first you download root 5.34 version. If you are using Ubuntu 16.04 then you will not get binary version, so you have to download and installed the source version. If you have to installed the source version then choose "Environment driven build" method explained in your downloaded file /root_v5.34/README/INSTALL. </div><div><br></div><div>     2. Then you go to /path/to//gate_v7.2-build/CMakeCache.txt and if you find a string like "ROOT_CONFIG_EXECUTABLE" in that text file then that means your building process is actually directing to root 6.08. So you have to delete that text file.</div><div><br></div><div>     3. Then before going to GATE installation itself please run this command >> source /path/to/root_v5.34/bin/thisroot.sh (for bash shell).</div><div><br></div><div>    4. Then you can install GATE.</div><div><br></div><div> Hope this will help you. Best of luck.</div><div><br></div><div><br></div><div>Satyajit </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 29, 2017 at 4:30 PM,  <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Gate-users mailing list submissions to<br>
        <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.<wbr>opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.<wbr>opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Problem in setting material in a volume (Chekdob Bagdob)<br>
   2. Issue while install Gate 7.2 (Michal Knap)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Sun, 29 Jan 2017 10:40:36 +0530<br>
From: Chekdob Bagdob <<a href="mailto:checkdobbagdob@gmail.com">checkdobbagdob@gmail.com</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
Subject: [Gate-users] Problem in setting material in a volume<br>
Message-ID:<br>
        <CAD_bN0iEt91_<wbr>L6rvCdd3DjMoCdmDc=1eATq3P6W=_<wbr>Pj=<a href="mailto:v5boCA@mail.gmail.com">v5boCA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear GATE users,<br>
<br>
            I am using GATE 7.2 on a Ubuntu 16.04 LTS. Recently I was<br>
reading manual for version 7.2 and when I tried this code,<br>
<br>
<br>
>>     /gate/world/daughters/name cylindricalPET<br>
>> /gate/world/daughters/insert cylinder<br>
CREATED THE COMMAND /gate/systems/cylindricalPET/<wbr>addAnewRsector<br>
<br>
>>     /gate/cylindricalPET/<wbr>setMaterial Water<br>
<br>
GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the<br>
definition for material 'Water' in material files<br>
<br>
And after that Idle prompt disappears and usual terminal command prompt<br>
comes.<br>
<br>
<br>
   Some useful info:<br>
<br>
   1. Geant4:: geant4.10.01.p02<br>
   2. root:: root_v5.34 source version<br>
   3. clhep:: 2.3.1.1<br>
<br>
 Besides, I want to ask another question. When I googled this problem I get<br>
various websites like<br>
<br>
<a href="http://comments.gmane.org/gmane.comp.science.opengate.user/3939" rel="noreferrer" target="_blank">http://comments.gmane.org/<wbr>gmane.comp.science.opengate.<wbr>user/3939</a><br>
<br>
but I can't open those websites. It just shows ArchivedAt Nothing found -<br>
bye.<br>
<br>
<br>
Satyajit<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170129/106c94dc/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/private/gate-users/<wbr>attachments/20170129/106c94dc/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 29 Jan 2017 11:20:03 +0100<br>
From: Michal Knap <<a href="mailto:michal.knap@gmail.com">michal.knap@gmail.com</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>"<br>
        <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: [Gate-users] Issue while install Gate 7.2<br>
Message-ID:<br>
        <CAL4D=<a href="mailto:H%2Bw_fHTMncws1xr%2BCLOsJkABw46T94g619Z3xxAxdyGtA@mail.gmail.com">H+w_fHTMncws1xr+<wbr>CLOsJkABw46T94g619Z3xxAxdyGtA@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear All,<br>
I'm trying to install Gate 7.2 on Ubuntu 16.04 LTS.<br>
I successfully installed :<br>
<br>
   1. Root 6.08.04<br>
   2. Geant4 10.02.p03<br>
   3. gcc-5.2.0<br>
   4. cmake version 3.5.1<br>
<br>
While make -j2 during Gate7.2 installation i have this error<br>
<br>
<br>
-- Downloaded object:<br>
> "/home/mknap/gate_v7.2-build/<wbr>ExternalData/Objects/MD5/<wbr>e431bc10c74d61ad9cee40559b9e95<wbr>b9"<br>
> [ 63%] Built target GateExampleData<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateOpticalAdderMessenger.cc.o<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/GateSinogram.<wbr>cc.o<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateGPUSPECTActor.cc.o<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateDiffCrossSectionActorMesse<wbr>nger.cc.o<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateHitFileReader.cc.o<br>
> [ 63%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateTrackLengthActorMessenger.<wbr>cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/GateTrack.cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateSinoToEcat7.cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateROOTBasicOutputMessenger.<wbr>cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GatePhysicsExtractorActorMesse<wbr>nger.cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateVImageActor.cc.o<br>
> [ 64%] Building CXX object<br>
> CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc.o<br>
> /home/mknap/gate_v7.2/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc:<br>
> In member function ‘virtual void GateSecondaryProductionActor::<wbr>Construct()’:<br>
> /home/mknap/gate_v7.2/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc:61:18:<br>
> error: ‘kCanRebin’ is not a member of ‘TH1’<br>
>     pFrag->SetBit(TH1::kCanRebin);<br>
>                   ^<br>
> CMakeFiles/Gate.dir/build.<wbr>make:8966: recipe for target<br>
> 'CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc.o'<br>
> failed<br>
> make[2]: ***<br>
> [CMakeFiles/Gate.dir/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc.o]<br>
> Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed<br>
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>
> Makefile:127: recipe for target 'all' failed<br>
> make: *** [all] Error 2<br>
<br>
<br>
<br>
<br>
*Could you be so kind and help me this issue? *<br>
What does it mean?<br>
<br>
> ><br>
> home/mknap/gate_v7.2/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc:<br>
> In member function ‘virtual void GateSecondaryProductionActor::<wbr>Construct()’:<br>
> ><br>
> /home/mknap/gate_v7.2/source/<wbr>digits_hits/src/<wbr>GateSecondaryProductionActor.<wbr>cc:61:18:<br>
> error: ‘kCanRebin’ is not a member of ‘TH1’<br>
> >     pFrag->SetBit(TH1::kCanRebin);<br>
<br>
<br>
I will be very thankfull for all your advices and suggestions.<br>
<br>
​Kind Regards<br>
<br>
*Michał Knap*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170129/5f2bee5e/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/private/gate-users/<wbr>attachments/20170129/5f2bee5e/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 128, Issue 29<br>
******************************<wbr>*************<br>
</blockquote></div><br></div>