<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"> <br><div><b>I set CMAKE_USE_RELATIVE_PATHS ON </b><br></div><i><br> Page 0 of 1<br> ON <br>
<br><br><br><br>CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in makefiles and projects. <br>Press [enter] to edit option CMake Version 2.8.7<br>
Press [c] to configure<br>Press [h] for help Press [q] to quit without generating<br>Press [t] to toggle advanced mode (Currently Off)</i><br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<b>then type [c]</b><br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>and still get this</b><br><br><i> CMake Error at CMakeLists.txt:20 (message):<br> in-source build detected<br><br><br>
Errors occurred during the last pass <br> CMake Version 2.8.7<br>Press [e] to exit help</i><br>
<br></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/19 Pedro Correia <span dir="ltr"><<a href="mailto:pmcorreia@ua.pt" target="_blank">pmcorreia@ua.pt</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
HI Michal
<div><br>
</div>
<div>Try to set CMAKE_USE_RELATIVE_PATHS true </div>
<div><br>
</div>
<div>and only then press c, and tell us what happens.</div>
<div><br>
</div>
<div>Best regards, Pedro</div>
<div><br>
</div>
<div><br>
</div>
<div>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:
<div><br>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif"><b>Hi,<br>
</b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><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.
<br>
</b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><b><span>I do</span>
<span>accordance with this</span> </b><span><b>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>
</span></span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><br>
<i>root@mknap:/# cd opt<br>
root@mknap:/opt# cd simulations<br>
root@mknap:/opt/simulations# ls<br>
<b>2.1.1.0 CMakeFiles gate_v6.2 geant4.9.5.p02 geant4.9.5.p02-build geant4.9.5.p02-install root</b><br>
root@mknap:/opt/simulations# cd geant4.9.5.p02-build/<br>
root@mknap:/opt/simulations/geant4.9.5.p02-build# ccmake ../geant4.9.5.p02</i><br>
<b><br>
Then i get:</b><br>
<br>
</span> <i>Page 0 of 1<br>
CMAKE_USE_RELATIVE_PATHS
<br>
<br>
<br>
CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative paths in makefiles and projects.
<br>
Press [enter] to edit option CMake Version 2.8.7<br>
Press [c] to configure<br>
Press [h] for help Press [q] to quit without generating<br>
Press [t] to toggle advanced mode (Currently Off)<br>
</i><br>
<b>i type [c] and get this:</b><br>
<i><br>
</i><span lang="en"><i> CMake Error at CMakeLists.txt:20 (message):<br>
in-source build detected<br>
<br>
Errors occurred during the last pass
<br>
CMake Version 2.8.7<br>
Press [e] to exit help<br>
</i><br>
</span>
<div class="gmail_default" style="font-family:verdana,sans-serif"><span lang="en"><br>
<b>I </b></span><b><span lang="en"><span>enclose printscreens with paths and errors.</span></span><span lang="en"><span></span></span><span lang="en"><span>
</span></span></b></div>
<b><span lang="en"><span>What is wrong? <br>
I will be very</span> <span>grateful</span> <span>for your help.<br>
</span></span></b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><b><span lang="en">Thanks in advance.<br>
</span></b></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><b><span lang="en"><br>
</span></b></div>
<div>
<div dir="ltr"><b><font face="verdana,sans-serif">Pozdrawiam<br>
Michał Knap</font></b></div>
</div>
</div>
</div></div><span><Zrzut ekranu z 2014-01-19 230502.png></span><span><Zrzut ekranu z 2014-01-19 230518.png></span><span><Zrzut ekranu z 2014-01-19 230536.png></span><span><Zrzut ekranu z 2014-01-19 230654.png></span><span><Zrzut ekranu z 2014-01-19 230705.png></span><span><Zrzut
ekranu z 2014-01-19 230719.png></span>_______________________________________________<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></blockquote>
</div>
<br>
</div>
</div>
</blockquote></div><br></div>