Message: Re: cannot find -lLHEP Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: cannot find -lLHEP 

Keywords: cannot find -lLHEP
Forum: Installation and Configuration
Re: Question cannot find -lLHEP (Nagaraj)
Date: 24 Oct, 2007
From: Gunter Folger <Gunter Folger>

Hello,

Sorry Andreas, but I guess it really is libLHEP.a which is not found.

First, release Geant4 7.1 is rather old, if you start a new project I would recommend updating to a more recent release of Geant4; the current release is 9.0 patch 1

In the releases Geant4 7.x the physics lists were not fully integrated into the Geant4 build system. You need to go to the physics lists directory and buidl the lists. These MUST NOT be build as shared libraries (for release 7). Once you have the libraries, by default in $G4LIB/$G4SYSTEM/.physics_lists, then you need to specify this directory in your make file where you also indicate -lLHEP.

As of Geant4 8.0 these building and linking probelms are solved, and shared libraries can be used.

Cheers, Gunter

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

 Add Message Add Message
to: "Re: cannot find -lLHEP"

 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 ]