Message: Problem with g4py build in geant-4.9.3.p02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem with g4py build in geant-4.9.3.p02 

Forum: Installation and Configuration
Date: 23 Nov, 2010
From: Robert Penny <Robert Penny>

I'm having trouble building g4py in the Geant 4.9.3.p02. The problem is in pyG4RunManager.cc, with the prototype:

// DumpRegion
void (G4RunManager::*f1_DumpRegion)(G4String) const
  = &G4RunManager::DumpRegion;  

It appears that the prototypes in G4RunManager.hh have changed:

rob> diff geant4.9.2.p02/source/run/include/G4RunManager.hh geant4.9.3_p02-r1/geant4.9.3.p02/source/run/include/G4RunManager.hh

204c204 < void DumpRegion(G4String rname) const; --- > void DumpRegion(const G4String& rname) const;

I tried just tweaking the prototype in pyG4RunManager.cc to match the new prototype:

DumpRegion(const G4String& rname) const;

Unfortunately it seems that Boost Python has problems wrapping this.

Anyone successfully built g4py in the new 4.9.3 release?

Thanks,

-Rob.

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

1 Question: Re: Problem with g4py build in geant-4.9.3.p02   (Batom - 29 Mar, 2011)
 Add Message Add Message
to: "Problem with g4py build in geant-4.9.3.p02"

 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 ]