<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Hi Carlotta, </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for your help. Unfortunately it still doesn't work. </div><div class="gmail_default" style="font-size:small">One of the problems is that the file structure for geant you mention, I don't have. </div><div class="gmail_default" style="font-size:small">I have something like this: "<font face="monospace">/home/mkolstein/Programs/GAMOS/external/geant4/geant4.10.05.p01.gamos/</font>" and inside I have "<font face="monospace">/home/mkolstein/Programs/GAMOS/external/geant4/geant4.10.05.p01.gamos/lib/Linux-g++/</font>".  I don't have cmake files either. </div><div class="gmail_default" style="font-size:small">The error message, alternatively, advices me to provide a "FindGeant4.cmake" in CMAKE_MODULE_PATH, but this CMAKE_MODULE_PATH I cannot find in the menu. </div><div class="gmail_default" style="font-size:small">The complete error message is: </div><div class="gmail_default" style=""><font face="monospace" style="" size="1">CMake Error at CMakeLists.txt:59 (FIND_PACKAGE):<br></font></div><div class="gmail_default" style=""><font face="monospace" size="1">   By not providing "FindGeant4.cmake" in CMAKE_MODULE_PATH this project has<br>   asked CMake to find a package configuration file provided by "Geant4", but<br>   CMake did not find one.<br><br>   Could not find a package configuration file provided by "Geant4" with any<br>   of the following names:<br><br>     Geant4Config.cmake<br>     geant4-config.cmake<br><br>   Add the installation prefix of "Geant4" to CMAKE_PREFIX_PATH or set<br>   "Geant4_DIR" to a directory containing one of the above files.  If "Geant4"<br>   provides a separate development package or SDK, be sure it has been<br>   installed.<br></font></div><div class="gmail_default" style=""><font face="monospace" size="1"><br></font></div><div class="gmail_default" style=""><font face="arial, sans-serif">Best regards, </font></div><div class="gmail_default" style=""><font face="arial, sans-serif"><br></font></div><div class="gmail_default" style=""><font face="arial, sans-serif">Machiel</font></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 17, 2021 at 4:05 PM Carlotta Trigila <<a href="mailto:ctrigila@ucdavis.edu">ctrigila@ucdavis.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Sorry I sent it before finishing :) </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Did you add the line: </div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<pre style="overflow:auto hidden;font-family:Consolas,Menlo,"DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:0.9em;background:rgb(238,238,238);padding:7px 30px;margin:15px 0px;line-height:19.125px;color:rgb(62,67,73);text-align:left"><span style="color:rgb(0,0,0)">source</span> <span style="color:rgb(88,40,0)">/</span><span style="color:rgb(0,0,0)">PATH_TO</span><span style="color:rgb(88,40,0)">/</span><span style="color:rgb(0,0,0)">geant4</span><span style="color:rgb(153,0,0)">.10.06</span><span style="color:rgb(88,40,0)">-</span><span style="color:rgb(0,0,0)">install</span><span style="color:rgb(88,40,0)">/</span><span style="color:rgb(0,68,97)">bin</span><span style="color:rgb(88,40,0)">/</span><span style="color:rgb(0,0,0)">geant4</span><span style="color:rgb(88,40,0)">.</span><span style="color:rgb(0,0,0)">sh</span></pre>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
in your bash file?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
You should have the path </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">
<pre style="overflow:auto hidden;font-family:Consolas,Menlo,"DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:0.9em;background:rgb(238,238,238);padding:7px 30px;margin:15px 0px;line-height:19.125px;text-align:left"><span style="color:rgb(88,40,0);margin:0px">/</span><span style="color:rgb(0,0,0);margin:0px">PATH_TO</span><span style="color:rgb(88,40,0);margin:0px">/</span><span style="color:rgb(0,0,0);margin:0px">geant4</span><span style="color:rgb(153,0,0);margin:0px">.10.06</span><span style="color:rgb(88,40,0);margin:0px">-</span><span style="color:rgb(0,0,0);margin:0px">install</span><span style="color:rgb(88,40,0);margin:0px">/</span><span style="color:rgb(0,68,97);margin:0px">lib</span><span style="color:rgb(88,40,0);margin:0px">/</span><span style="margin:0px"><font color="#000000">Geant4-10.6.3</font></span></pre>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
in your <span style="color:rgb(32,31,30);font-size:15px;background-color:rgb(255,255,255);display:inline">"ccmake
 ../Gate-9.0" installation Geant4_DIR.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I hope it helps you! </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_7077243924390562307Signature">
<div>
<div></div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<p style="margin-top:0px;margin-bottom:0px"><span>-- <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Carlotta Trigila, PhD  <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Department of Biomedical Engineering
<span>– GBSF 2505</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span>University of California, Davis</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span>451 East Health Sciences Drive</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Davis, CA 95616 <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span></span><br>
<span></span></p>
<span></span> <br>
</div>
</div>
</div>
</div>
<div id="gmail-m_7077243924390562307appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_7077243924390562307divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Carlotta Trigila <<a href="mailto:ctrigila@ucdavis.edu" target="_blank">ctrigila@ucdavis.edu</a>><br>
<b>Sent:</b> Thursday, June 17, 2021 7:00 AM<br>
<b>To:</b> Machiel Kolstein <<a href="mailto:mkolstein@ifae.es" target="_blank">mkolstein@ifae.es</a>>; <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> Re: [Gate-users] Installing GATE, Geant4_DIR</font>
<div> </div>
</div>

<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi <span style="color:rgb(32,31,30);font-size:15px;background-color:rgb(255,255,255);display:inline">Machiel,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:15px;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:15px;background-color:rgb(255,255,255);display:inline">did you add the line </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:15px;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_7077243924390562307x_Signature">
<div>
<div></div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<p style="margin-top:0px;margin-bottom:0px"><span>-- <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Carlotta Trigila, PhD  <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Department of Biomedical Engineering
<span>– GBSF 2505</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span>University of California, Davis</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span><span>451 East Health Sciences Drive</span><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span>Davis, CA 95616 <br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span></span><br>
<span></span></p>
<span></span> <br>
</div>
</div>
</div>
</div>
<div id="gmail-m_7077243924390562307x_appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_7077243924390562307x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> on behalf of Machiel Kolstein <<a href="mailto:mkolstein@ifae.es" target="_blank">mkolstein@ifae.es</a>><br>
<b>Sent:</b> Thursday, June 17, 2021 6:52 AM<br>
<b>To:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> [Gate-users] Installing GATE, Geant4_DIR</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div><br>
Hi, <br>
<br>
I am trying to install Gate v9.0, following the instructions of <a href="https://opengate.readthedocs.io/en/latest/compilation_instructions.html#gate-v9-0" target="_blank">
https://opengate.readthedocs.io/en/latest/compilation_instructions.html#gate-v9-0</a><br>
<br>
I already have Geant4 and ROOT installed and compiled, months ago, so I don't want to do that again.<br>
When I type: "ccmake ../Gate-9.0" I get a window with a menu and when I select "c" (configure), I get:
<br>
<font size="1"> <font face="monospace"><i>Could not find a package configuration file provided by "Geant4" with any of the following names:<br>
     Geant4Config.cmake<br>
     geant4-config.cmak</i></font><br>
</font>My Geant4 installation does not have any of these files, and in any case, I don't want to re-compile Geant.
<br>
When in the parameters menu, for "Geant4_DIR", I put <br>
"<font face="monospace" style="font-size:small">/home/mkolstein/Programs/geant4/geant4.10.05.p01.gamos/lib/Linux-g++/</font>"<br>
I get the same error message and in the Geant4_DIR it puts "Geant4_DIR-NOTFOUND"<br>
<br>
So, how do I fix this?<br>
<br>
Best regards,<br>
<br>
Machiel<br>
<br>
<br>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr">Avís - Aviso - Legal Notice - (LOPD) -
<a href="http://legal.ifae.es" target="_blank">http://legal.ifae.es</a></div>
</div>
<br>
<span><font size="2" style="font-family:arial,helvetica,sans-serif"><span lang="ca-ES"><span style="font-family:"courier new",monospace">Avís - Aviso - Legal Notice - (LOPD)</span> -<span style="font-family:"courier new",monospace">
</span><a href="http://legal.ifae.es/" style="font-family:"courier new",monospace" target="_blank">http://legal.ifae.es</a></span></font></span></div>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Avís - Aviso - Legal Notice - (LOPD) - <a href="http://legal.ifae.es" target="_blank">http://legal.ifae.es</a></div>

<br>
<span><font style="font-family:arial,helvetica,sans-serif" size="2"><span lang="ca-ES"><span style="font-family:courier new,monospace">Avís -
Aviso - Legal Notice - (LOPD)</span> -<span style="font-family:courier new,monospace"> </span><a style="font-family:courier new,monospace" href="http://legal.ifae.es/" target="_blank">http://legal.ifae.es</a></span></font></span>