Message: out-of-source build about cmake Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question out-of-source build about cmake 

Forum: Installation and Configuration
Date: Mar 18, 07:54
From: Jincai <Jincai>

Hi, I have intalled Geant4 successfully before and have used it for some time. However, I didn't set the multithreading option to On when I installed Geant4 then. Now I want to reset the cmake option and use the following commands:


Then I got errors: 
-- Geant4 requires an out-of-source build.
-- Please remove these files from /home/jcren/G4/geant4.10.02.p02 first:
-- CMakeCache.txt
-- CMakeFiles
-- Once these files are removed, create a separate directory
-- and run CMake from there
CMake Error at CMakeLists.txt:19 (message):
  in-source build detected

-- Configuring incomplete, errors occurred!

Can anyone tell me how to fix this error? Thank you. Best wishes, Jincai.

 Add Message Add Message
to: "out-of-source build about cmake"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]