Error when runing an example

hello,
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 geant4.sh file in the current terminal!?

1 Like

i have used the command source geant4.sh, 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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.