Issues Setting Up geant4_vmc for Monte Carlo Simulations


Please read tips for efficient and successful posting and posting code

_ROOT Version: 6.18.04
_Platform: Windows 10
_Compiler: Visual Studio 2019


I’m trying to setup geant4_vmc following the installation instructions provided. There seems to be some issue finding ROOT when I run Cmake as follows:

cmake -DCMAKE_INSTALL_PREFIX="%HOMEPATH%\geant4_vmc\geant4_vmc_install" “%HOMEPATH%\geant4_vmc\geant4_vmc.4.0.p1” -DROOT_DIR=“C:\Users\Stephen\ROOT\root_v6.18.04” -DGeant4_DIR=“C:\Users\Stephen\Geant4\geant4_10_06_p01”

and I get the error

errorgeant4_vmc-findDirectory2

If anyone had a fix for this issue I would really appreciate it.

This is a problem, you should ask on Geant4 forum (it is not a problem of ROOT but Geant4 configuration). Good luck!

Will do, thanks for the reply