<div dir="ltr"><div style="font-family:verdana,sans-serif" class="gmail_default"><span lang="en"><span><strong>Maybe here in the problem:</strong></span></span><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">
<strong> </strong></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>root@mknap:/opt/simulations/geant4.9.5.p02-build# cmake ../geant4.9.5.p02<br>
-- Geant4 requires an out-of-source build.</em></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>-- Please remove these files from /opt/simulations/geant4.9.5.p02 first:</em></div>
</span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>-- CMakeCache.txt</em></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">
<em>-- CMakeFiles</em></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>-- Once these files are removed, create a separate directory</em></div>
</span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>-- and run CMake from there</em></div></span></span></div><div class="im"><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">
<em>CMake Error at CMakeLists.txt:20 (message):</em><br> in-source build detected</div></span></span></div></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">
-- Configuring incomplete, errors occurred!<br></div><br></span></span><b><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">when i remove these files i get this:</div></span></span></b></div>
<div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"> </div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">
<em>root@mknap:/opt/simulations/geant4.9.5.p02-build# cmake ../geant4.9.5.p02</em></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>CMake Error: The source directory "/opt/simulations/geant4.9.5.p02" does not appear to contain CMakeLists.txt.<br>
Specify <br>--help for usage, or press the help button on the CMake GUI.</em></div></span></span></div><div><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"><em>root@mknap:/opt/simulations/geant4.9.5.p02-build# </em></div>
</span></span></div><div><b><span lang="en"><span><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default"> </div></span></span></b></div></div><div style="font-family:verdana,sans-serif" class="gmail_default">
</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font face="verdana,sans-serif">Pozdrawiam<br>Michał Knap</font></div></div>
<br><br><div class="gmail_quote">2014/1/20 Hermann Fuchs <span dir="ltr"><<a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
Hi<br>
<br>
As far as I can remember, in the cmake options there is one line like "use system clhep". <br>
System clhep means you have your own clhep. Try the other setting.<br>
Perhaps it is hidden in the advanced options. It may also only be available in the newer geant496.<br>
<br>
Cheers,<br>
Hermann<div><div class="h5"><br>
<br>
On Mon, 2014-01-20 at 11:00 +0100, Michal Knap wrote:
<blockquote type="CITE">
No I didn't try. How should I do this?
</blockquote>
<blockquote type="CITE">
</blockquote>
<blockquote type="CITE">
<br>
</blockquote>
<blockquote type="CITE">
Pozdrawiam<br>
Michał Knap
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
2014/1/20 Hermann Fuchs <<a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>>
</blockquote>
<blockquote type="CITE">
<blockquote>
Hello Michal<br>
<br>
As far as I know, geant495 should also bring its own clhep libraries.<br>
Have you tried compiling using those internal libraries?<br>
<br>
Cheers,<br>
Hermann
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
<br>
<br>
On Sun, 2014-01-19 at 23:40 +0100, Michal Knap wrote: <br>
<blockquote type="CITE">
<br>
<b>I set CMAKE_USE_RELATIVE_PATHS ON </b><br>
<br>
<br>
<i> Page 0 of 1</i><br>
<i> ON </i><br>
<br>
<br>
<br>
<br>
<i>CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in makefiles and projects. </i><br>
<i>Press [enter] to edit option CMake Version 2.8.7</i><br>
<i>Press [c] to configure</i><br>
<i>Press [h] for help Press [q] to quit without generating</i><br>
<i>Press [t] to toggle advanced mode (Currently Off)</i><br>
<br>
<br>
<b>then type [c]</b><br>
<br>
<br>
<b>and still get this</b><br>
<br>
<i> CMake Error at CMakeLists.txt:20 (message):</i><br>
<i> in-source build detected</i><br>
<br>
<br>
<i>Errors occurred during the last pass </i><br>
<i> CMake Version 2.8.7</i><br>
<i>Press [e] to exit help</i><br>
<br>
<br>
<br>
Pozdrawiam<br>
Michał Knap<br>
<br>
<br>
2014/1/19 Pedro Correia <<a href="mailto:pmcorreia@ua.pt" target="_blank">pmcorreia@ua.pt</a>><br>
<blockquote>
HI Michal <br>
<br>
<br>
Try to set CMAKE_USE_RELATIVE_PATHS true <br>
<br>
<br>
and only then press c, and tell us what happens. <br>
<br>
<br>
Best regards, Pedro <br>
<br>
<br>
<br>
<br>
No dia 19/01/2014, às 22:22, Michal Knap <<a href="mailto:michal.knap@gmail.com" target="_blank">michal.knap@gmail.com</a>> escreveu: <br>
<br>
<blockquote type="CITE">
<b>Hi,</b><br>
<br>
<b>I'm trying to install geant4.9.5.p02 on Ubuntu 12.04. I have install CLHEP ald root but have problems with Geant4. </b><br>
<br>
<b>I do accordance with this instructions :<a href="http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP" target="_blank"> http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP</a></b><br>
<br>
<br>
<i>root@mknap:/# cd opt</i><br>
<i>root@mknap:/opt# cd simulations</i><br>
<i>root@mknap:/opt/simulations# ls</i><br>
<b><i>2.1.1.0 CMakeFiles gate_v6.2 geant4.9.5.p02 geant4.9.5.p02-build geant4.9.5.p02-install root</i></b><br>
<i>root@mknap:/opt/simulations# cd geant4.9.5.p02-build/</i><br>
<i>root@mknap:/opt/simulations/geant4.9.5.p02-build# ccmake ../geant4.9.5.p02</i><br>
<br>
<b>Then i get:</b><br>
<br>
<i>Page 0 of 1</i><br>
<i> CMAKE_USE_RELATIVE_PATHS </i><br>
<br>
<br>
<i>CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in makefiles and projects. </i><br>
<i>Press [enter] to edit option CMake Version 2.8.7</i><br>
<i>Press [c] to configure</i><br>
<i>Press [h] for help Press [q] to quit without generating</i><br>
<i>Press [t] to toggle advanced mode (Currently Off)</i><br>
<br>
<b>i type [c] and get this:</b><br>
<br>
<i> CMake Error at CMakeLists.txt:20 (message):</i><br>
<i> in-source build detected</i><br>
<br>
<i>Errors occurred during the last pass </i><br>
<i> CMake Version 2.8.7</i><br>
<i>Press [e] to exit help</i><br>
<br>
<br>
<b>I enclose printscreens with paths and errors.</b> <br>
<b>What is wrong? </b><br>
<b>I will be very grateful for your help.</b><br>
<br>
<b>Thanks in advance.</b><br>
<br>
<br>
<br>
<b>Pozdrawiam</b><br>
<b>Michał Knap</b> <br>
<Zrzut ekranu z 2014-01-19 230502.png><Zrzut ekranu z 2014-01-19 230518.png><Zrzut ekranu z 2014-01-19 230536.png><Zrzut ekranu z 2014-01-19 230654.png><Zrzut ekranu z 2014-01-19 230705.png><Zrzut ekranu z 2014-01-19 230719.png>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a> <br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<pre>_______________________________________________
Gate-users mailing list
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<br>
<br>
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>--
-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien
Tel. + 43 / 1 / 40 400 7271
Mail. <a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>
</pre>
</td>
</tr>
</tbody></table>
</blockquote>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>--
-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien
Tel. + 43 / 1 / 40 400 7271
Mail. <a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>
</pre>
</td>
</tr>
</tbody></table>
</div></div></div>
</blockquote></div><br></div>