Hello all,
I’m having some issues with installation of Geant4 using Windows VS 2019’s Developer Prompt. I greatly appreciate your help in solving this, as I’ve tried to install Geant4 every which way, conda environment, on a Linux to Windows terminal etc.
I feel as I’m following the instructions to the T, but here’s what I’m doing and what results:
-
After extraction of geant4 zip folder to a folder I create C:…\Documents\GEANT4, I create C:…\Documents\GEANT4\geant4.10.05-build.
-
To configure the build I’m asked to cd C:…\Documents\GEANT4\geant4.10.05-build, and use cmake -DCMAKE_INSTALL_PREFIX =“C:…\Documents\GEANT4\GEANT4_10_05-install” “C:…\Documents\GEANT4”
-
I execute this, with no errors, and the build folder is populated. In this procedure two questions arise and you will see why, (a) Are these instructions assuming that I have a folder created C:…\Documents\GEANT4\GEANT4_10_05-install previously to executing the cmake prefix command? or (b) is the act of using the cmake prefix command creating the folder that is required to place the install after executing:
cmake --build . --config Release --target install
I’m asking this, because I do get some errors after running this cmake … --target install line during installation but primarily with regards to files located in GEANT4\geant4_source\source\visualization\management\
- Either way, at no point in the processes does my C:…\Documents\GEANT4\GEANT4_10_05-install folder populate with C:…\Documents\GEANT4\geant4_10_05-install/share files etc, but only in side build products within the build folder I first created.
I understand these folders must be created independently from each other so for reference, here is the file tree I’m working with where bulleted items are folders within GEANT4:
C:\Users…Documents\GEANT4
-
geant4.10.05-build
- BuildProducts - CMakeFiles - InstallTreeFiles - Modules - Source - x64 - ALL_BUILD.vcxproj - cmake_install.cmake ...
-
geant4_install
EMPTY POST INSTALL -
geant4_source
- cmake
- config
- environments
- …
Hopefully this isn’t too much of a pain to read, and the info I wrote helps in troubleshooting.
Thanks again and have a nice day,
Paul