|geant4 compilation [message #5763]
||Wed, 30 January 2008 17:46
Xuan Chung Le
Registered: January 2008
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,