Message: Medical_linac compilation problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Medical_linac compilation problem 

Forum: Medical Applications
Date: 09 Dec, 2010
From: Ix-Berenice Garcia Ferreira <Ix-Berenice Garcia Ferreira>

Dear Geant4 Experts,

I have tried to compile the medical_linac example without success. I have compile successfully other examples and I have no idea what the problem might be. Could you help me please?.

Thank you in advance for any ideas.

Cheers.

The output is the following:

<~/medical_linac [Ix & Sergio]>make clean
Cleaning up ...
<~/medical_linac [Ix & Sergio]>make
Making dependency for file ml2.cc ...
Making dependency for file src/ML2WorldConstruction.cc ...
Making dependency for file src/ML2TrackingAction.cc ...
Making dependency for file src/ML2SteppingAction.cc ...
Making dependency for file src/ML2StepMaxMessenger.cc ...
Making dependency for file src/ML2StepMax.cc ...
Making dependency for file src/ML2SDWithVoxels.cc ...
Making dependency for file src/ML2SDWithParticle.cc ...
Making dependency for file src/ML2ReadOutGeometry.cc ...
Making dependency for file src/ML2PrimaryGenerationActionMessenger.cc ...
Making dependency for file src/ML2PrimaryGenerationAction.cc ...
Making dependency for file src/ML2PhysicsListMessenger.cc ...
Making dependency for file src/ML2PhysicsList.cc ...
Making dependency for file src/ML2PhaseSpaces.cc ...
Making dependency for file src/ML2PhantomConstructionMessenger.cc ...
Making dependency for file src/ML2PhantomConstruction.cc ...
Making dependency for file src/ML2Ph_FullWater.cc ...
Making dependency for file src/ML2Ph_BoxInBoxMessenger.cc ...
Making dependency for file src/ML2Ph_BoxInBox.cc ...
Making dependency for file src/ML2MainMessenger.cc ...
Making dependency for file src/ML2ExpVoxels.cc ...
Making dependency for file src/ML2EventAction.cc ...
Making dependency for file src/ML2DummySD.cc ...
Making dependency for file src/ML2Convergence.cc ...
Making dependency for file src/ML2CInputData.cc ...
Making dependency for file src/ML2AcceleratorConstructionMessenger.cc ...
Making dependency for file src/ML2AcceleratorConstruction.cc ...
Making dependency for file src/ML2Acc1Messenger.cc ...
Making dependency for file src/ML2Acc1.cc ...
Compiling ML2Acc1.cc ...
Compiling ML2Acc1Messenger.cc ...
Compiling ML2AcceleratorConstruction.cc ...
Compiling ML2AcceleratorConstructionMessenger.cc ...
Compiling ML2CInputData.cc ...
include/ML2CInputData.hh: In member function 'void CML2CInputData::setMinNumberOfEvents(G4double)':
include/ML2CInputData.hh:67: warning: converting to 'G4int' from 'G4double'
Compiling ML2Convergence.cc ...
Compiling ML2DummySD.cc ...
src/ML2DummySD.cc:52: warning: unused parameter 'aStep'
src/ML2DummySD.cc:52: warning: unused parameter 'ROHist'
Compiling ML2EventAction.cc ...
Compiling ML2ExpVoxels.cc ...
Compiling ML2MainMessenger.cc ...
include/ML2CInputData.hh: In member function 'void CML2CInputData::setMinNumberOfEvents(G4double)':
include/ML2CInputData.hh:67: warning: converting to 'G4int' from 'G4double'
Compiling ML2Ph_BoxInBox.cc ...
src/ML2Ph_BoxInBox.cc: In member function 'bool CML2Ph_BoxInBox::Construct(G4VPhysicalVolume*, G4int, G4int, G4String, G4bool)':
src/ML2Ph_BoxInBox.cc:172: warning: taking address of temporary
Compiling ML2Ph_BoxInBoxMessenger.cc ...
Compiling ML2Ph_FullWater.cc ...
src/ML2Ph_FullWater.cc: In member function 'bool CML2Ph_FullWater::Construct(G4VPhysicalVolume*, G4int, G4int, G4String, G4bool)':
src/ML2Ph_FullWater.cc:85: warning: taking address of temporary
Compiling ML2PhantomConstruction.cc ...
Compiling ML2PhantomConstructionMessenger.cc ...
Compiling ML2PhaseSpaces.cc ...
Compiling ML2PhysicsList.cc ...
Compiling ML2PhysicsListMessenger.cc ...
Compiling ML2PrimaryGenerationAction.cc ...
Compiling ML2PrimaryGenerationActionMessenger.cc ...
Compiling ML2ReadOutGeometry.cc ...
Compiling ML2SDWithParticle.cc ...
src/ML2SDWithParticle.cc:123: warning: unused parameter 'ROHist'
Compiling ML2SDWithVoxels.cc ...
Compiling ML2StepMax.cc ...
Compiling ML2StepMaxMessenger.cc ...
Compiling ML2SteppingAction.cc ...
Compiling ML2TrackingAction.cc ...
Compiling ML2WorldConstruction.cc ...
Creating shared library /home/ix/rio/tmp/Linux-g++/ml2/libml2.so ...
Compiling ml2.cc ...
include/ML2CInputData.hh: In member function 'void CML2CInputData::setMinNumberOfEvents(G4double)':
include/ML2CInputData.hh:67: warning: converting to 'G4int' from 'G4double'
Using global libraries ...
Linking ml2
/home/ix/rio/tmp/Linux-g++/ml2/libml2.so: undefined reference to `CML2Ph_BoxInBoxMessenger::SetNewValue(G4UIcommand*, G4String)'
collect2: ld returned 1 exit status
make: *** [/home/ix/rio/bin/Linux-g++/ml2] Error 1
<~/medical_linac [Ix & Sergio]>

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

1 None: Re: Medical_linac compilation problem   (Claudio Andenna - 10 Dec, 2010)
(_ Ok: Re: Medical_linac compilation problem   (Ix-Berenice Garcia Ferreira - 10 Dec, 2010)
 Add Message Add Message
to: "Medical_linac compilation problem"

 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 ]