I used VS2019 and cmake 3.16.4 to install the Geant4 on my Win10, and supposedly, it is installed correctly, since I have not seen any errors during the process.
I was able to build exampleB1.exe by VS2019, however when I try to run the built *.exe (under Debug folder) as administrator, I get the attached error (fig. run as administrator.jpg).
When I use “exampleB1.exe …\run1.mac” in cmd to run the example, I get the attached error (fig. cmd.jpg).
What am I missing?
Any help is greatly appreciated.