<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Mojka<b class="" style="background-color: rgb(255, 255, 255);">,</b><br class="">Could you please to explain what I have to do for using Geant4.<div class="">I have installed Geant4.10.6 by</div><div class=""> <code id="install" class="lead text-dark" style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; word-break: break-word; text-align: center; background-color: rgb(248, 249, 250); color: rgb(52, 58, 64) !important;">sudo port install geant4</code><span class="" style="caret-color: rgb(33, 37, 41); color: rgb(33, 37, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; text-align: center; background-color: rgb(248, 249, 250);"> </span></div><div class=""><span class="" style="text-align: center; background-color: rgb(248, 249, 250);"><font color="#212529" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" class=""><span class="">And </span></font></span><font color="#212529" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" class="">seems everything is ok.</font></div><div class=""><font color="#212529" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" class="">Then I run geant4.sh in the </font><span class="" style="font-family: "Helvetica Neue";">/opt/local/libexec/Geant4/geant4.10.6/</span></div><div class=""><span class="" style="font-family: "Helvetica Neue";">But when I tried to </span><font face="Helvetica Neue" class="">make .. I got the</font></div><div class=""><font color="#212529" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" class=""><span class="" style="font-size: 17.600000381469727px;"><br class=""></span></font></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">CMake Error at CMakeLists.txt:24 (find_package):</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  By not providing "FindGeant4.cmake" in CMAKE_MODULE_PATH this project has</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  asked CMake to find a package configuration file provided by "Geant4", but</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  CMake did not find one.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  Could not find a package configuration file provided by "Geant4" with any</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  of the following names:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">    Geant4Config.cmake</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">    geant4-config.cmake</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  Add the installation prefix of "Geant4" to CMAKE_PREFIX_PATH or set</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  "Geant4_DIR" to a directory containing one of the above files.  If "Geant4"</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  provides a separate development package or SDK, be sure it has been</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;">  installed.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(180, 36, 25);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">And the second question is - can I work with the Geant4 in python?</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">If yes what I have to do?</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">It seems to me that in any case I need to add something in PATHS.</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">I work on Mac OS BIG SUR with M1.</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">Thank you very much,</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">Mikhail</div></div></body></html>