Issues setting up geant4_vmc for Monte Carlo Simulation with ROOT

_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.

VMC isn’t developed by Geant4, so it would be best to ask on VMC’s development site.

I did actually ask on the ROOT forum first, but was told it was an issue with the Geant4 configuration so it would be better to ask here.

Ah, o.k., I think the geant4_vmc project is on GitHub here:

so try raising an issue there. The error is coming from this line.

Oh ok sorry, I didn’t realise there was a separate resource for the vmc, thanks very much.