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

Question out-of-source build. 

Forum: Multithreading
Date: Mar 17, 07:36
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:

cmake -DCMAKE_INSTALL_PREFIX=/home/jcren/G4/geant4.10.02.p02 -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=ON ..

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.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: out-of-source build.   (Jincai - Mar 18, 07:51)
2 Feedback: Re: out-of-source build.   (Delvan Neville - Mar 18, 12:15)
 Add Message Add Message
to: "out-of-source build."

 Subscribe Subscribe

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