Error when runing an example

when I use cmake command I get the following message

How can we fix the problem,
Thank you

did you follow the user guide: Postinstall Setup — Geant4 Installation Guide 10.7 documentation
especially the " Required Environment Settings on UNIX"?

looks like you did not “source” the file in the current terminal!?

1 Like

i have used the command source, but still not working

alternatively I would recommend this guide: How to Make an Executable Program — Book For Application Developers 10.7 documentation

1 Like

its working now,
thank you so much