<!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>
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<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">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">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">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"> 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">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> <BR>
</BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
<BR>
<BR>
<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>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<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>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</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>