Issues running Example B1

Hello !

I’ve recently achieved to download and install on windows10 Geant4 10_05_p01 in RelWithDebInfo config, without errors.

So I’m trying to run example B1 as mentionnend in the installation guide but the following error occurs :

-------- WWWW ------- G4Exception-START -------- WWWW -------

*** ExceptionHandler is not defined ***
*** G4Exception : UI0002
issued by : G4UIExecutive::G4UIExecutive()
Specified session type is not build in your system,
or no session type is specified.
A fallback session type is used.
*** This is just a warning message. ***
-------- WWWW ------- G4Exception-END -------- WWWW -------

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70000
issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception *** core dump ***

I saw on the forum that *** core dump *** probleme could comes from environnement variables, so I followed the postinstall tutorial to add them to Path but it changed nothing (I’ve also reboot computer).

notes : Im on windows10, cmake 3.15.0, visual studio 2017 so everything should work properly right ? I’ve also chosen to activate Qt and OpenGL and install and build apparently worked

Thank you for reading me and for helping me !

You should set data directories from environmental variables, it will fix the data issue. The other point: qt interface is not completely compatible on windows. You can try another qt version or you can use Geant4 on windows without qt interface.

Thank you for your reply, but could you please tell me how to do it ?

you can do it as mentioned in installation guide,

http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/BackupVersions/V10.4/html/postinstall.html#required-environment-settings-on-windows

Thank you for your kind attention.

In fact, I just did not correctly followed the instructions on this page, but I finally understood them and now all works just fine.

Sorry for wasting your time!