GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Scientific Computing » Geant4 Simulation » geant4 compilation
geant4 compilation [message #5763] Wed, 30 January 2008 17:46 Go to next message
Xuan Chung Le is currently offline  Xuan Chung Le
Messages: 1
Registered: January 2008
Location: Darstadt
occasional visitor

From: *gsi.de
Hi,
I have just successfully installed geant4.9.0. Then i tried to run example 1 from novice example (A01). I did every thing as instruction and ok. Finally, i typed "make", it shew an error at the end:
..
Compiling A01PrimaryGeneratorMessenger.cc ...
Compiling A01Trajectory.cc ...
Creating/replacing object files in /home/xle/GEANT4/g4work/tmp/Linux-g++/A01app/libA01app.a ...
ar: creating /home/xle/GEANT4/g4work/tmp/Linux-g++/A01app/libA01app.a
Compiling A01app.cc ...
Using granular libraries ...
Linking A01app ...
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make: *** [/home/xle/GEANT4/g4work/bin/Linux-g++/A01app] Error 1

Could somebody solve this problem?
Thanks a lot,
Chungxl.


Chungxl
Re: geant4 compilation [message #5807 is a reply to message #5763] Mon, 04 February 2008 21:46 Go to previous message
Anar Manafov is currently offline  Anar Manafov
Messages: 81
Registered: August 2004
Location: Germany, Darmstadt
continuous participant

From: *ibz.tu-darmstadt.de
you are probably missing something like "-L/usr/X11R6/lib/" in your make file.

1 horsepower = 745.699872 Watts
Previous Topic: removing old G4 installations
Next Topic: extra patch for geant4.8.1 & LECS package
Goto Forum:
  


Current Time: Mon Dec 02 22:15:36 CET 2024

Total time taken to generate the page: 0.00714 seconds