Message: Re: Runtime Error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Runtime Error 

Forum: Run Management
Re: None Runtime Error (Matt Worden)
Date: 20 Jan, 2011
From: Michael H. Kelsey <Michael H. Kelsey>

Hi, Matt. You should never have to move files around within the G4 distribution. It works "out of the box" on all supported platforms. In any case, moving an .hh file won't change what symbols end up in what library.

After your upgrade from Tiger to Snow Leopard, did you do a clean rebuild of your G4 installation? I mean really, totally clean:

  /bin/rm -rf lib/Darwin-g++/*
  /bin/rm -rf tmp/Darwin-g++/*
  /bin/rm -rf .config/*
  ./Configure -build
  ./Configure -install

Answer all of the questions from scratch. Then, source env.csh. Make sure that DYLD_LIBRARY_PATH includes your G4 installation area, and your CLHEP installation area. On my system, this looks like:

{michael-kelseys-macbook.local:409} echo $DYLD_LIBRARY_PATH /Applications/GEANT4/geant4.9.4/lib/Darwin-g++:/Applications/CLHEP/lib:/usr/local/ROOT/5.22-00/lib:/usr/local/xerces/lib

Now, when you build the example, all the symbols should resolve successfully.

-- Michael Kelsey

 Add Message Add Message
to: "Re: Runtime 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 ]