Message: Re: error linking linac example when it is modified to read iaea files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: error linking linac example when it is modified to read iaea files 

Forum: Medical Applications
Re: None error linking linac example when it is modified to read iaea files (Balder)
Re: None Re: error linking linac example when it is modified to read iaea files (Miguel Cortes-Giraldo)
Re: Question Re: error linking linac example when it is modified to read iaea files (Balder)
Date: 05 Feb, 2014
From: Miguel Cortes-Giraldo <Miguel Cortes-Giraldo>

Hi Balder,

Actually, your new compilation error is related to a change made in release 10.0. If you look at the release notes, you find this in section 3:

"Removed from Geant4 headers the implicit inclusions of SystemOfUnits and PhysicalConstants headers of CLHEP . This may trigger compilation errors in user's code. This will require making the user code self-consistent, by explicitly including these missing headers files."

Thus, from release 10.0 you need to include both headers explicitely. This was not forseen when I coded these classes...

Once you solve this, units should not trigger compilation errors. Again, please let me know if it works.

Miguel

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

1 Agree: Re: error linking linac example when it is modified to read iaea files   (artur - 07 Feb, 2014)
 Add Message Add Message
to: "Re: error linking linac example when it is modified to read iaea files"

 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 ]