Message: Problem to compile GDML example: g4gogdml using Geant4.9.1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem to compile GDML example: g4gogdml using Geant4.9.1 

Keywords: GDML problem compiling g4gogdml
Forum: Installation and Configuration
Date: 21 Feb, 2008
From: Marc <m.labiche@dl.ac.uk>

Hello !

I am trying to use GDML with GEANT4 but I have trouble to compile the GDML example: g4gogdml.

I use the GDMLsetup to install GDML-2.10, but the installation fails when it compiles g4gogdml.

Here is the message I get:

Building shared application binary /usr/local/src/GDML/CPPGDML/build/Linux-g++/bin/g4gogdml

g++ -o /usr/local/src/GDML/CPPGDML/build/Linux-g++/bin/g4gogdml /usr/local/src/GDML/CPPGDML/build/Linux-g++/Examples/g4gogdml/g4gogdml.o ......-L/usr/local/clhep-2.0.3.1/lib -lC LHEP -L/usr/local/geant4/XercesC/lib -lxerces-c

/usr/local/geant4/v9.1/geant4.9.1/lib/Linux-g++/libG4run.so: undefined reference to `G4ScoringManager::Accumulate(G4VHitsCollection*)'

/usr/local/geant4/v9.1/geant4.9.1/lib/Linux-g++/libG4run.so: undefined reference to `G4ParallelWorldScoringProcess::SetParallelWorld(G4String)'

/usr/local/geant4/v9.1/geant4.9.1/lib/Linux-g++/libG4run.so: undefined reference to `G4ScoringManager::GetScoringManagerIfExist()'

/usr/local/geant4/v9.1/geant4.9.1/lib/Linux-g++/libG4run.so: undefined reference to `G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(G4String const &, G4ProcessType)'

collect2: ld returned 1 exit status
make[1]: *** [/usr/local/src/GDML/CPPGDML/build/Linux-g++/bin/g4gogdml] Error 1 make[1]: Leaving directory `/usr/local/src/GDML/CPPGDML/Examples/g4gogdml'
make: *** [build_gdml_examples] Error 2

Could you please help me on this ?

Regards,

Marc

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

 Add Message Add Message
to: "Problem to compile GDML example: g4gogdml using Geant4.9.1"

 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 ]