<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello Parisa (copy to user list, it could be useful for someone else)<br></div><div>Please find 3 ways to install Gate : compilation, vGate and docker<br><br></div><div>1. compilation of sources<br></div><div>I strongly recommand again to install qt for visualization<br></div><div>Can you tell me on what OS do you work ? Linux ?<br></div>First you have to check that ROOT and Geant4 are correctly installed.<br></div>ROOT <br></div>just type "root" and ".q" to exit. You should see soething like this<br><b>501 09:54 ~ root<br> *******************************************<br> * *<br> * W E L C O M E to R O O T *<br> * *<br> * Version 5.34/32 23 June 2015 *<br> * *<br> * You are welcome to visit our Web site *<br> * <a href="http://root.cern.ch">http://root.cern.ch</a> *<br> * *<br> *******************************************<br><br>ROOT 5.34/32 (v5-34-32@v5-34-32, Jun 23 2015, 17:58:02 on macosx64)<br><br>CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010<br>Type ? for help. Commands must be C++ statements.<br>Enclose multiple statements between { }.<br>root [0] .q<br>502 09:54 ~ <br><br></b></div>Geant4<br></div>In an empty dir (ex. myDir) test an example : <br></div> <b>cp -rf /Applications/Geant4/10.2/geant4.10.02.p01/examples/basic/B1 . </b> (your path to geant4 must be replaced)<b><br> mkdir build<br> cd build<br> cmake ../B1<br> make<br> ./exampleB1 <br></b></div>If it works you should see a window with a geometry<br><br>Please copy all physical data (download at <a href="https://geant4.web.cern.ch/geant4/support/download.shtml">https://geant4.web.cern.ch/geant4/support/download.shtml</a>) in this directory <br>.../geant4/install/share/Geant4-10.1.2/data<br><br></div>Then if everything is ok Gate should be easy to install<br></div>in an empty dir : (in my ex. /Applications/gitGate/<br>First get the source code (git must be installed) :<br><b><code>git clone <a rel="nofollow" class="external gmail-free" href="https://github.com/OpenGATE/Gate.git">https://github.com/OpenGATE/Gate.git</a></code></b><div><div><div><div>A directory Gate is downloaded (/Applications/gitGate/Gate)<br><b>mkdir build<br></b></div><div><b>mkdir install<br></b></div><div><b>cd build<br></b></div><div><b>ccmake ../Gate<br></b></div><div>Press<b> c <br></b></div><div>Press<b> e<br></b></div><div>Then edit if needed the different flags using arrows and return<br></div><div>In particular you have to change <br></div><div>CMAKE_INSTALL_PREFIX to /Applications/gitGate/install<br></div><div><br></div><div>For me it is the only flag I need to change<br><br></div><div>Then press <b><br>c</b> to configure and <b><br>g </b>to generate and <b><br>e</b> to exit ccmake<br><br></div><div>then <br>make -j4<br></div><div>make install<br><br><br><br></div><div>It should work. <br><br></div><div>Two simple ways to get GATE if you encounter difficulties. <br></div><div><br><br>2.<br>Install virtual box and then the GATE virtual machine (vGate : <a href="http://wiki.opengatecollaboration.org/index.php/VGate">http://wiki.opengatecollaboration.org/index.php/VGate</a>)<br><br><br></div><div>3.<br>Another very simple way that works on all OS but with no visualization (yet)<br></div><div><br>Install docker (<a href="https://docs.docker.com/engine/installation/linux/ubuntu/">https://docs.docker.com/engine/installation/linux/ubuntu/</a>)<br><br></div><div>then just type<br></div><div><b>docker run -it manureva/ubuntu-gate <br></b></div><div>(first run download needed files) Thank you Maxime Chauvin ;-)<br></div><div>Then you are in ubuntu environnement, just type <b>Gate</b> ...<br></div><div>Luc<br><br></div><div><br><br></div><div><br></div><div><br><br></div><div><br><br></div><div><br></div><div><br><br><div><br><br><div><div><div><br><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-08 17:19 GMT+01:00 Parisa Naghdi <span dir="ltr"><<a href="mailto:prsnaghdi@gmail.com" target="_blank">prsnaghdi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:14px"><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_16846">Hello Luc</div><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_16863">I've installed Geant4(Version10.2)-CMAKE(V3.<wbr>5.2)-ROOT(V6.09/01) and gcc(V4.9.4).</div><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_16905">when I'm going to configure the GATE source file to build folder. I see (Error in Configuration process,project files may be invalid). <br></div><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_17009">would you PLZ help me.</div><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_17041"><br></div><div><br></div><div dir="ltr" id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_17032">regards<br></div><div id="m_4896251405728833804yui_3_16_0_ym19_1_1489072473022_16845"><br></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>___________________<br><br>SIMON Luc, Physicien Médical, PhD<br>Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole - Toulouse, FRANCE</div><div>INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE</div></div></div></div></div>
</div>