Conda/mingw on Windows isn’t a compiler/platform that we test or support, so I’m not sure I can provide much useful info, but here are some hints (and obviously further feedback, error reports are welcome):
- In the first post, it looks like you’re using Geant4 10.7, whereas in the last 11.0-beta. I’d strongly recommend sticking with 10.7.2 as 11.0-beta is a beta, and also requires C++17 features which the GCC seemingly supplied by Conda/mingw (v5.3.0) is not able to support.
- NMake is part of Visual Studio so will likely not be present if you don’t have that installed.
- Conda/Anaconda and CMake should be able to install/use the Ninja build tool, with
cmake -GNinja ...
to generate the build scripts,ninja
to build. - As Geant4’s only tested on Windows with Visual Studio, it’s possible further CMake checks/GCC compilation may fail due to assumptions the build scripts make about this combination, but, see how it goes.
- There’s a stronger caveat still on Geant4Py as this, to my knowledge, has never been compiled/tested on Windows so it may well build but simply not run, or run but fail.