... | @@ -210,22 +210,25 @@ setup for compiler and Qt5 in dos prompt, usage: |
... | @@ -210,22 +210,25 @@ setup for compiler and Qt5 in dos prompt, usage: |
|
### 3. Test Geant4 installation
|
|
### 3. Test Geant4 installation
|
|
|
|
|
|
Setup Geant4 environment:
|
|
Setup Geant4 environment:
|
|
|
|
|
|
```
|
|
```
|
|
call d:\Geant4\dev\bin\geant4.bat
|
|
call d:\Geant4\11.3.1\bin\geant4.bat
|
|
```
|
|
```
|
|
|
|
|
|
cmake search path for Xerces-C must set or give to cmake as -D parameter
|
|
cmake search path for Xerces-C must set or give to cmake as -D parameter
|
|
|
|
|
|
```
|
|
```
|
|
set CMAKE_PREFIX_PATH=D:\Xerces-C
|
|
set CMAKE_PREFIX_PATH=D:\Xerces-C
|
|
``
|
|
```
|
|
|
|
|
|
Try to compile B1 example
|
|
Try to compile B1 example
|
|
|
|
|
|
```
|
|
```
|
|
mkdir B1-Build
|
|
mkdir B1-Build
|
|
cd B1-Build
|
|
cd B1-Build
|
|
cmake d:\Geant4\11.3.1\share\Geant4\examples\basic\B1
|
|
cmake d:\Geant4\11.3.1\share\Geant4\examples\basic\B1
|
|
```
|
|
```
|
|
|
|
|
|
You will see the output like this:
|
|
You will see the output like this:
|
|
|
|
|
|
```
|
|
```
|
... | | ... | |