Hello, I should compile and run a Geant4 11 simulation on my windows local machine that correctly works on laboratory machine (linux).
- I tried to compile the simulation, but I got the error:
fatal error C1083: Non è possibile aprire il file inclusione: 'G4UItcsh.hh':
i.e. it couldn’t open the G4UItcsh.hh'
file.
- To avoid the error due to missing
G4UItcsh.hh'
., I downloaded the header from laboratory machine
G4UItcsh.hh (5.3 KB)
and I copied it in the directory
GEANT4 instaldir\include\Geant4
even if I don’t understand the reason because of the G4UItcsh.hh'
was missing.
- I tried to compile again the simulation , but I got the error
error C2061: errore di sintassi: identificatore 'G4UItcsh'
i.e. syntax error of identificator G4UItcsh'
in the main file in the lines:
else
//start interactive session
{
G4UIsession* session = new G4UIterminal(new G4UItcsh);
session->SessionStart();
delete session;
}
SimLuna.cc (3.3 KB)
- Even if I need the interactive session to temporanely try to compile the simulation I commented the lines of point 3, but now I get the errors and the warnings reported in the attached error log:
error log.txt (8.3 KB)
@bmorgan maybe, you know how to make working the simulation on windows?