Message: Re: Compiling error, G4FastVector.hh Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Compiling error, G4FastVector.hh 

Forum: Run Management
Re: Sad Compiling error, G4FastVector.hh (Kate Ross)
Date: 27 Jul, 2003
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

On Fri, 25 Jul 2003, Kate Ross wrote:

> *** Discussion title: Run Management
> Email replies to must include:
>   In-Reply-To: <"/runmanage/29">
>   Subject: ...change this to be about your reply.
> Hi there,
> I am trying to use the the RunManager in my DetectorConstruction so that
> I can have a "update geometry" function. I have followed exampleN03 in
> order to do this.
> The problem I am having is a compile-time error that says
> -------------------------------------------------------------
> Error in file included from /.../G4RunManager.hh:87,
> G4FastVector.hh:40: parse error before numeric constant
> G4FastVector.hh:51: destructors must be member functions
> -------------------------------------------------------------
> This apparently is due to me including G4RunManager.hh in
> This doesn't happen when I compile N03.
> Does anyone know what I could be doing wrong? I didn't change
> G4FastVector.hh at all.
> Thanks in advance, Kate

Hi Kate,

If you work with G4 release 5,1 or espetially 5.2
I would suggest to look into example/extended/electromagnetic/TestEm2

This example was specially tested before the last release in condition 
when geometry is removed and updated. It works.

Note also, that if you have a problem with compilation, then  the 
platform, compiler, and G4 version should be specified, unless it is 
difficult to help.


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

 Add Message Add Message
to: "Re: Compiling error, G4FastVector.hh"

 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 ]