<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Muhammad,</p>
<p><br>
</p>
<p>I assume that you are following these instructions:<br>
</p>
<p><a href="https://opengate.readthedocs.io/en/latest/compilation_instructions.html" class="OWAAutoLink" id="LPlnk767717" previewremoved="true">https://opengate.readthedocs.io/en/latest/compilation_instructions.html</a></p>
<p><br>
</p>
<p>Correct?</p>
<p><br>
</p>
<p>From the error message in your first mail it looks like like you are using the same build directory for Geant4 and for Gate. When compiling from source, each package should be built in a separate build directory.
<br>
</p>
<p><br>
</p>
<p>In the error message of your second mail it looks like ccmake cannot find the Geant4 build information. As explained in sections 4.3 and 4.4, you should run the following two commands *before* running ccmake in your Gate build directory:</p>
<p><br>
</p>
<p><span>source /PATH_TO/geant4.10.05-install/bin/geant4.sh</span></p>
<p><span>source /PATH_TO/root_v6.xx/bin/thisroot.sh</span></p>
<p><br>
</p>
<p>Here the "/PATH_TO/.../" paths should be replaced with with the directories where you *installed* (not built) geant4 and ROOT, respectively.<br>
</p>
<p><br>
</p>
<p>So could you please try the following:</p>
<ul style="margin-bottom: 0px; margin-top: 0px;">
<li>start a new shell (or a new terminal window)</li><li>run those two source commands (geant4 and ROOT)</li><li>create a new build directory for Gate v8.2 with "mkdir"</li><li>cd into that (empty) build directory</li><li>then run: ccmake /PATH_TO/gate_v8.2</li></ul>
<p>(where you replace "/PATH_TO/gate_v8.2" with the full path to the source directory as you got it from unpacking the source tar ball).</p>
<p><br>
</p>
<p>And if that seems to run successfully, continue with make, make install, and run some Gate examples from GateContrib.
<span>😊</span></p>
<p><br>
</p>
<p>Hope that helps, good luck!</p>
<p>David<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von Muhammad Afzaal Sadaqat <muhammadafzaalsadaqat786@gmail.com><br>
<b>Gesendet:</b> Dienstag, 7. Jänner 2020 14:59:29<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] GATE installation</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Dear Gate Users,</div>
<div>I have downloaded GATE v8.2 from <br>
<pre><a rel="nofollow" href="http://www.opengatecollaboration.org/GATE80" target="_blank">http://www.opengatecollaboration.org/GATE80</a><br></pre>
<pre>then <br></pre>
<p>Unzip and untar the downloaded file: </p>
tar -xzf gate_v8.2.tar.gz <br>
</div>
<div>
<p>In the same directory, i created two directories to build and install GATE: </p>
<pre>mkdir gate_v8.2-build
mkdir gate_v8.2-install<br></pre>
<pre>After that I moved into the GATE build directory:
</pre>
cd gate_v8.0-build <br>
</div>
<div>when i wrote this command <br>
</div>
<div>
<pre>ccmake ../ Geant4_DIR /home/afzaal/geant4/geant4.10.05.p01-build<br></pre>
<pre>in above command i also gave the Geant4 directory where its build files are located.<br><br><br></pre>
<pre>but i am getting the following error (screenshot attached)<br><br></pre>
</div>
</div>
</div>
</body>
</html>