Message: Re: How to reset build options? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to reset build options? 

Forum: Installation and Configuration
Re: None How to reset build options? (Han DongYoon)
Date: 11 Nov, 2013
From: Michael H. Kelsey <Michael H. Kelsey>

On Mon, 11 Nov 2013 17:41:21 GMT, Han DongYoon wrote:
> I'm new to GEANT4 and Linux.
> 
> I installed GEANT4 using cmake in Ubuntu 13.10.
> 
> My problem is that
> 
>   - after the installation, I couldn't reset build options.
> 
> For example, when I didn't want to visualize the results,
> 
> I tried to
> 
>  cmake -DGEANT4_USE_OPENGL_X11=OFF

This is correct.

> but error message was
> 
> The source directory "/home/user/tools/geant4.9.6.p02.build" does not
> appear to contain CMakeLists.txt

Ah, ha! The message says "sourece directory." CMake thinks that your running the command from your source directory (i.e., where you unpacked the original G4 tar.gz file). You need to run the command from the directory you named ".build", and you need to specify the source directory on the command line.

> Where can I reset build options? If I want to reset, should I reinstall
> GEANT4?

If you want to eliminate all of your previous options, you can delete the file CMakeCache.txt. But the command above should worked correctly if you run from the correct directory, and with the right command form.

  -- Michael Kelsey

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

1 Question: Re: How to reset build options?   (Han DongYoon - 12 Nov, 2013)
(_ None: Re: How to reset build options?   (Ben Morgan - 12 Nov, 2013)
 Add Message Add Message
to: "Re: How to reset build options?"

 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 ]