msvc for 11.4.0 authored by Igor Semeniouk's avatar Igor Semeniouk
......@@ -80,7 +80,7 @@ Visual Studio.
I use following commands:
```
7z x xerces-c-3.2.5.zip
7z x xerces-c-3.3.0.zip
mkdir xerces-c-build
cd xerces-c-build
......@@ -159,9 +159,9 @@ Visit http://root.cern.ch for more information about ROOT.
### Installing Geant4
You can download geant v11.3.2 installer ( or .zip file ) for Windows 10 , 64 bit compiled using Visual Studio 2022 from geant4 download page:
You can download geant v11.4.0 installer ( or .zip file ) for Windows 10 , 64 bit compiled using Visual Studio 2022 from geant4 download page:
https://geant4.web.cern.ch/download/11.3.2.html
https://geant4.web.cern.ch/download/11.4.0.html
### Build Geant4 locally
......@@ -178,15 +178,16 @@ You can use script *setup_env.bat* from `setup\MSVC` to setup compiler and qt in
```
git clone ssh://git@gitlab.cern.ch:7999/geant4/geant4.git
cd geant4
git checkout v11.3.2
git checkout v11.4.0
mkdir g11.3.2-build
cd ..\g11.3.2-build
mkdir g11.4.0-build
cd ..\g11.4.0-build
cmake -DCMAKE_PREFIX_PATH=D:\Xerces-C ^
-DCMAKE_INSTALL_PREFIX=D:\Geant4\11.3.2 ^
-DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_WIN32=ON ^
-DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON ..\geant4
-DCMAKE_INSTALL_PREFIX=D:\Geant4\11.4.0 ^
-DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON ^
-DGEANT4_USE_QT=ON -DGEANT4_USE_QT_QT5=ON ^
-DGEANT4_USE_OPENGL_WIN32=ON ^ ..\geant4
cmake --build . --config RelWithDebInfo --target install --parallel 8
```
......@@ -212,7 +213,7 @@ setup for compiler and Qt5 in dos prompt, usage:
Setup Geant4 environment:
```
call d:\Geant4\11.3.2\bin\geant4.bat
call d:\Geant4\11.4.0\bin\geant4.bat
```
cmake search path for Xerces-C must set or give to cmake as -D parameter
......@@ -226,7 +227,7 @@ Try to compile B1 example
```
mkdir B1-Build
cd B1-Build
cmake d:\Geant4\11.3.2\share\Geant4\examples\basic\B1
cmake d:\Geant4\11.4.0\share\Geant4\examples\basic\B1
```
You will see the output like this:
......
......