Message: Geant4 Linking Error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Geant4 Linking Error  

Keywords: Geant4 Linking Error: "cannot find -lG4visHepRep"
Forum: Run Management
Date: 21 Jun, 2007
From: Matthew Middione <middionematt@csufresno.edu>

I am having difficulties running any of the available Geant4 examples. 

Here is the error received while attempting to make an example.

Linking TestPR ...
/usr/bin/ld: cannot find -lG4visHepRep
collect2: ld returned 1 exit status
make: *** [/home/public/Desktop/TestPR/bin/Linux-g++/TestPR] Error 1

Below is my environment:

G4LEVELGAMMADATA=/home/public/Geant4/geant4.8.2.p01/data/PhotonEvaporation2.0
G4INSTALL=/home/public/Geant4/geant4.8.2.p01
G4LEDATA=/home/public/Geant4/geant4.8.2.p01/data/G4EMLOW4.2
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/home/public/Geant4/geant4.8.2.p01/data/RadioactiveDecay3.1
G4LIB=/home/public/Geant4/geant4.8.2.p01/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4VIS_BUILD_OPENGLXM_DRIVER=1
G4LIB_BUILD_STATIC=1
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4LIB_USE_GRANULAR=1
G4VIS_USE_RAYTRACERX=1
G4SYSTEM=Linux-g++
G4WORKDIR=/home/public/Desktop/TestPR
NeutronHPCrossSections=/home/public/Geant4/geant4.8.2.p01/data/G4NDL3.10
G4VIS_USE_OPENGLXM=1

Does anyone know of how I can overcome this compilation obstacle?

I am a bit of a Linux and Geant4 novice so a detailed procedure to fix
this issue would be much appreciated.  

Thanks,
Matthew Middione

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

1 None: Re: Geant4 Linking Error   (Makoto Asai - 23 Jun, 2007)
 Add Message Add Message
to: "Geant4 Linking 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 ]