<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
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<BR>
<BR>
On Sun, 2014-01-19 at 23:40 +0100, Michal Knap wrote:
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>I set CMAKE_USE_RELATIVE_PATHS ON </B><BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<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>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>then type [c]</B><BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<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>
</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/19 Pedro Correia <<A HREF="mailto:pmcorreia@ua.pt">pmcorreia@ua.pt</A>>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
HI Michal
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Try to set CMAKE_USE_RELATIVE_PATHS true
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
and only then press c, and tell us what happens.
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Best regards, Pedro
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
No dia 19/01/2014, às 22:22, Michal Knap <<A HREF="mailto:michal.knap@gmail.com">michal.knap@gmail.com</A>> escreveu:
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>Hi,</B><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<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>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>I do accordance with this instructions :<A HREF="http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP"> http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP</A></B><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<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>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<B>I enclose printscreens with paths and errors.</B>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>What is wrong? </B><BR>
<B>I will be very grateful for your help.</B><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>Thanks in advance.</B><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>Pozdrawiam</B><BR>
<B>Michał Knap</B>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<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">Gate-users@lists.opengatecollaboration.org</A><BR>
<A HREF="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</A>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
Gate-users mailing list
<A HREF="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</A>
<A HREF="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<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">hermann.fuchs@meduniwien.ac.at</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>