Message: G4.9.3 compilation error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning G4.9.3 compilation error 

Forum: Installation and Configuration
Date: 04 Oct, 2010
From: Daniel Greiner <Daniel Greiner>

On two separate systems, installation of G4.9.3 crashed with error message:

src/G4PhotoElectricAngularGeneratorSauterGavrila.cc: In member function virtual G4ThreeVector G4PhotoElectricAngularGeneratorSauterGavrila::GetPhotoElectronDirection(const G4ThreeVector&, G4double, const G4ThreeVector&, G4int) const: src/G4PhotoElectricAngularGeneratorSauterGavrila.cc:82:12: error: conversion from G4double to non-scalar type G4ThreeVector requested

We found that the function GetPhotoElectronDirection in the indicated file was declared with return value of type *G4ThreeVector, but in fact returned a double (line 82, "return costeta;"). This should probably be changed to "return direction;".

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

1 More: Re: G4.9.3 compilation error   (Gabriele Cosmo - 04 Oct, 2010)
(_ Ok: Re: G4.9.3 compilation error   (Daniel Greiner - 04 Oct, 2010)
 Add Message Add Message
to: "G4.9.3 compilation error"

 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 ]