GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » error in G4 novice example
error in G4 novice example [message #10733] Tue, 25 May 2010 09:10 Go to next message
rajududhat is currently offline  rajududhat
Messages: 17
Registered: May 2010
Location: Surat (India)
occasional visitor
From: *74.116.130.hathway.com
Dear friend,

I am new in PANDAROOT, I have been installed external package and pandaroot successfully. After environment setting When I do gmake in

.........fairsoft/transport/geant4/examples/novice/N02

there is some error occurs
//////////////////////////////////////////////////

[root@localhost N02]# gmake
Making dependency for file exampleN02.cc ...
Making dependency for file src/ExN02TrackerSD.cc ...
Making dependency for file src/ExN02TrackerHit.cc ...
Making dependency for file src/ExN02SteppingVerbose.cc ...
Making dependency for file src/ExN02SteppingAction.cc ...
Making dependency for file src/ExN02RunAction.cc ...
Making dependency for file src/ExN02PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN02PhysicsList.cc ...
Making dependency for file src/ExN02MagneticField.cc ...
Making dependency for file src/ExN02EventAction.cc ...
Making dependency for file src/ExN02DetectorMessenger.cc ...
Making dependency for file src/ExN02DetectorConstruction.cc ...
Making dependency for file src/ExN02ChamberParameterisation.cc ...
Compiling ExN02ChamberParameterisation.cc ...
Compiling ExN02DetectorConstruction.cc ...
Compiling ExN02DetectorMessenger.cc ...
Compiling ExN02EventAction.cc ...
Compiling ExN02MagneticField.cc ...
Compiling ExN02PhysicsList.cc ...
Compiling ExN02PrimaryGeneratorAction.cc ...
Compiling ExN02RunAction.cc ...
Compiling ExN02SteppingAction.cc ...
Compiling ExN02SteppingVerbose.cc ...
Compiling ExN02TrackerHit.cc ...
Compiling ExN02TrackerSD.cc ...
Creating shared library /home/rajududhat/pandaroot/fairsoft/transport/geant4/tmp/Linux-g++/examp leN02/libexampleN02.so ...
Compiling exampleN02.cc ...
Using granular libraries ...
Linking exampleN02 ...
/home/rajududhat/pandaroot/fairsoft/transport/geant4/tmp/Linux-g++/examp leN02/exe/exampleN02.o: In function `G4VisExecutive::Reg isterGraphicsSystems()':
/home/rajududhat/pandaroot/fairsoft/transport/geant4/include/G4VisExecut ive.icc:144: undefined reference to `G4VRML1::G4VRML1()'
/home/rajududhat/pandaroot/fairsoft/transport/geant4/include/G4VisExecut ive.icc:145: undefined reference to `G4VRML2::G4VRML2()'
collect2: ld returned 1 exit status
gmake: *** [/home/rajududhat/pandaroot/fairsoft/transport/geant4/bin/Linux-g++/exam pleN02] Error 1

//////////////////////////////////////////////////////////////////////// ///////////////////////////////

example N01 is done

Please help me to solve this error



Rajeshkumar G. Dudhat
SVNIT (INDIA)
Re: error in G4 novice example [message #10734 is a reply to message #10733] Tue, 25 May 2010 09:17 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
in PandaRoot we are not using native G4, but Virtual MonteCarlo (and G4 under Virtual Montecarlo). The PandaRoot macros are under pandaroot/macro, we are not taking care of the G4 macros. I think nobody has ever tried the macro you are using, probably you could have some support from the Geant4 team.
However, I would suggest to forget about those macros, and to check our pandaroot one, which are tested and conformal to our software environment.
Re: error in G4 novice example [message #10735 is a reply to message #10734] Tue, 25 May 2010 10:35 Go to previous message
rajududhat is currently offline  rajududhat
Messages: 17
Registered: May 2010
Location: Surat (India)
occasional visitor
From: 210.212.132*
Ok I try in Pandaroot

Rajeshkumar G. Dudhat
SVNIT (INDIA)
Previous Topic: Charge in LheTrack and Kalman
Next Topic: segmentation fault during digitization (wrong mapper?)
Goto Forum:
  


Current Time: Fri Nov 22 13:24:48 CET 2024

Total time taken to generate the page: 0.00624 seconds