Message: Re: A problem about compiling example N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: A problem about compiling example N02 

Keywords: compiling, muon capture
Forum: Installation and Configuration
Re: None A problem about compiling example N02 (G.F. Cao)
Re: None Re: A problem about compiling example N02 (G.F. Cao)
Date: 22 Nov, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

> Actually, the error information appears because of executing 'cp' command which can be
> found in the makefile common.gmk (line 132) in Geant4. But in previous release (like 4.8.1),
> if I want to make some changes to files in the kernel of Geant4, just copy them to
> G4WORKDIR and then modify.
> Certainly, no such error appears. In other words, the 'cp' command was not executed in
> 4.8.1 though nearly the same makefiles were used compared with 4.9.0. I don't know why.

The copy is executed only when headers are installed through 'make includes'. The command
you see belongs to that target and was present also in 8.1.

> if I want to make some changes to files in the kernel of Geant4, just copy them to
> G4WORKDIR and then modify.

Again, I suggest you NOT to follow this bad practice; this only generates conflicts among
symbols in your application.

Gabriele

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

 Add Message Add Message
to: "Re: A problem about compiling example N02"

 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 ]