[Gate-users] Geant4.9.5.p02 problem with the installation using cmake

Hermann Fuchs hermann.fuchs at meduniwien.ac.at
Mon Jan 20 11:18:58 CET 2014


Hi

As far as I can remember, in the cmake options there is one line like
"use system clhep". 
System clhep means you have your own clhep. Try the other setting.
Perhaps it is hidden in the advanced options. It may also only be
available in the newer geant496.

Cheers,
Hermann

On Mon, 2014-01-20 at 11:00 +0100, Michal Knap wrote:
> No I didn't try. How should I do this?
>> 
> 
> Pozdrawiam
> Michał Knap
> 
> 
> 
> 
> 2014/1/20 Hermann Fuchs <hermann.fuchs at meduniwien.ac.at>
> 
>         Hello Michal
>         
>         As far as I know, geant495 should also bring its own clhep
>         libraries.
>         Have you tried compiling using those internal libraries?
>         
>         Cheers,
>         Hermann
>         
>         
>         
>         On Sun, 2014-01-19 at 23:40 +0100, Michal Knap wrote: 
>         
>         >                                                    
>         > I set CMAKE_USE_RELATIVE_PATHS ON 
>         > 
>         > 
>         >   Page 0 of 1
>         >  ON                                                               
>         > 
>         > 
>         > 
>         > 
>         > CMAKE_USE_RELATIVE_PATHS: If true, cmake will use relative
>         > paths in makefiles and projects.         
>         > Press [enter] to edit option
>         > CMake Version 2.8.7
>         > Press [c] to configure
>         > Press [h] for help           Press [q] to quit without
>         > generating
>         > Press [t] to toggle advanced mode (Currently Off)
>         > 
>         > 
>         > then type [c]
>         > 
>         > 
>         > and still get this
>         > 
>         >  CMake Error at CMakeLists.txt:20 (message):
>         >    in-source build detected
>         > 
>         > 
>         > Errors occurred during the last
>         > pass                                                                
>         > 
>         > CMake Version 2.8.7
>         > Press [e] to exit help
>         > 
>         > 
>         > 
>         > Pozdrawiam
>         > Michał Knap
>         > 
>         > 
>         > 2014/1/19 Pedro Correia <pmcorreia at ua.pt>
>         > 
>         >         HI Michal 
>         >         
>         >         
>         >         Try to set CMAKE_USE_RELATIVE_PATHS true  
>         >         
>         >         
>         >         and only then press c, and tell us what happens. 
>         >         
>         >         
>         >         Best regards, Pedro 
>         >         
>         >         
>         >         
>         >         
>         >         No dia 19/01/2014, às 22:22, Michal Knap
>         >         <michal.knap at gmail.com> escreveu: 
>         >         
>         >         
>         >         > Hi,
>         >         > 
>         >         > I'm trying to install geant4.9.5.p02 on Ubuntu
>         >         > 12.04. I have install CLHEP ald root but have
>         >         > problems with Geant4. 
>         >         > 
>         >         > I do accordance with this instructions :
>         >         > http://wiki.opengatecollaboration.org/index.php/New_Compilation_ProcedureV6.2#CLHEP
>         >         > 
>         >         > 
>         >         > root at mknap:/# cd opt
>         >         > root at mknap:/opt# cd simulations
>         >         > root at mknap:/opt/simulations# ls
>         >         > 2.1.1.0  CMakeFiles  gate_v6.2  geant4.9.5.p02
>         >         > geant4.9.5.p02-build  geant4.9.5.p02-install  root
>         >         > root at mknap:/opt/simulations# cd
>         >         > geant4.9.5.p02-build/
>         >         > root at mknap:/opt/simulations/geant4.9.5.p02-build#
>         >         > ccmake ../geant4.9.5.p02
>         >         > 
>         >         > Then i get:
>         >         > 
>         >         > 
>         >         > Page 0 of 1
>         >         >  CMAKE_USE_RELATIVE_PATHS                                                                                   
>         >         > 
>         >         > 
>         >         > CMAKE_USE_RELATIVE_PATHS: If true, cmake will use
>         >         > relative paths in makefiles and
>         >         > projects.                                                   
>         >         > Press [enter] to edit option
>         >         > CMake Version 2.8.7
>         >         > Press [c] to configure
>         >         > Press [h] for help           Press [q] to quit
>         >         > without generating
>         >         > Press [t] to toggle advanced mode (Currently Off)
>         >         > 
>         >         > i type [c] and get this:
>         >         > 
>         >         >  CMake Error at CMakeLists.txt:20 (message):
>         >         >    in-source build detected
>         >         > 
>         >         > Errors occurred during the last
>         >         > pass                                                                                                          
>         >         > 
>         >         > CMake Version 2.8.7
>         >         > Press [e] to exit help
>         >         > 
>         >         > 
>         >         > I enclose printscreens with paths and errors. 
>         >         > What is wrong? 
>         >         > I will be very grateful for your help.
>         >         > 
>         >         > Thanks in advance.
>         >         > 
>         >         > 
>         >         > 
>         >         > Pozdrawiam
>         >         > Michał Knap 
>         >         > <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>_______________________________________________
>         >         > Gate-users mailing list
>         >         > Gate-users at lists.opengatecollaboration.org
>         >         > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users 
>         >         
>         >         
>         >         
>         > 
>         > 
>         > 
>         > 
>         > _______________________________________________
>         > Gate-users mailing list
>         > Gate-users at lists.opengatecollaboration.org
>         > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>         
>         
>         
>         
>         -- 
>         -------------
>         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. hermann.fuchs at meduniwien.ac.at
> 
> 
> 

-- 
-------------
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. hermann.fuchs at meduniwien.ac.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140120/55e2572d/attachment.html>


More information about the Gate-users mailing list