Install Geant4 with python on Windows 10

Dear there:
I want to install Geant4.10.7 with python option on windows 10. I did all of that approximately, but i faced two main problems related to this installation. The first one is related to the project called pyG4interfaces, where the problem is: ‘G4UItcsh’: undeclared identifier and ‘tcsh’: undeclared identifier in the file called pyG$UIterminal.cc

if (session == 0 ) {
G4UItcsh* tcsh= new
G4UItcsh(“e[40;01;33mg4pye[40;31m(%s)e[40;36m[%/]e[00;30m:”);

So, what would be done here?

Regards,

1 Like

At present, Geant4Py only supports build on Linux/macOS platforms. The above error looks to be down to making an assumption that this is the case (G4UItcsh is a Unix-only interface). We’ll look at this towards this year’s release, but note that other Python topics will take priority over Windows support.

Hi,
Is it still the case with Geant4 11 that Geant4Py is only support build on Linux and not on Windows?

Yes, I’m afraid this is still the case - this may be addressed this year, but is very dependent on available resource.