| ... | ... | @@ -10,7 +10,7 @@ Hire the instructions for native Geant4 installation with the Visual Studio C++ |
|
|
|
* Windows 10 or 11
|
|
|
|
* Microsoft Visual Studio C++ compiler
|
|
|
|
|
|
|
|
The installation tested with Windows 11 MSVC 2022 (v17.13.6) and Qt 5.12.2
|
|
|
|
The installation tested with Windows 11 MSVC 2022 (v17.14.25) and Qt 5.12.2
|
|
|
|
|
|
|
|
## Development Environment
|
|
|
|
|
| ... | ... | @@ -84,7 +84,7 @@ I use following commands: |
|
|
|
mkdir xerces-c-build
|
|
|
|
cd xerces-c-build
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=D:\Xerces-C ..\xerces-c-3.2.5
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=D:\Xerces-C ..\xerces-c-3.3.0
|
|
|
|
cmake --build . --config RelWithDebInfo --parallel
|
|
|
|
ctest -V -C RelWithDebInfo -j 4
|
|
|
|
cmake --build . --config RelWithDebInfo --parallel --target install
|
| ... | ... | @@ -98,12 +98,12 @@ The Xerces-C configuration summary like like this: |
|
|
|
-- Xerces-C++ configuration summary
|
|
|
|
-- --------------------------------
|
|
|
|
--
|
|
|
|
-- Version: 3.2.5
|
|
|
|
-- Library interface version: 3.2
|
|
|
|
-- Version: 3.3.0
|
|
|
|
-- Library interface version: 3.3
|
|
|
|
--
|
|
|
|
-- Installation directory: D:/Xerces-C
|
|
|
|
-- C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
|
|
|
|
-- C++ compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
|
|
|
|
-- C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
|
|
|
|
-- C++ compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
|
|
|
|
--
|
|
|
|
-- Build shared libraries: ON
|
|
|
|
-- Path delimiters: "/\"
|
| ... | ... | @@ -113,9 +113,9 @@ The Xerces-C configuration summary like like this: |
|
|
|
-- NetAccessor: winsock
|
|
|
|
-- Message Loader: inmemory
|
|
|
|
-- XMLCh type: char16_t
|
|
|
|
-- Configuring done (191.7s)
|
|
|
|
-- Generating done (1.5s)
|
|
|
|
-- Build files have been written to: D:/workspace/installg4/install/MSVC/xerces-c-build
|
|
|
|
-- Configuring done (260.5s)
|
|
|
|
-- Generating done (1.7s)
|
|
|
|
-- Build files have been written to: D:/workspace/GEANT4/installg4/install/MSVC/xerces-c-build
|
|
|
|
|
|
|
|
```
|
|
|
|
|
| ... | ... | @@ -138,7 +138,7 @@ TODO |
|
|
|
Download desired root version from http://root.cern.ch:
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -SLO https://root.cern/download/root_v6.34.06.win64.python311.vc17.relwithdebinfo.zip
|
|
|
|
curl -SLO https://root.cern/download/root_v6.38.00.win64.python311.vc17.relwithdebinfo.zip
|
|
|
|
```
|
|
|
|
|
|
|
|
i download zip, but you can use installer version.
|
| ... | ... | @@ -335,11 +335,11 @@ Start the ROOT interactive session: |
|
|
|
```
|
|
|
|
D:\workspace>root
|
|
|
|
------------------------------------------------------------------
|
|
|
|
| Welcome to ROOT 6.34.06 https://root.cern |
|
|
|
|
| (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
|
|
|
|
| Built for win64 on Mar 27 2025, 04:54:19 |
|
|
|
|
| From tags/v6-34-06@v6-34-06 |
|
|
|
|
| With MSVC 19.39.33521.0 |
|
|
|
|
| Welcome to ROOT 6.38.00 https://root.cern |
|
|
|
|
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
|
|
|
|
| Built for win64 on Nov 27 2025, 08:30:40 |
|
|
|
|
| From tags/v6-38-00@v6-38-00 |
|
|
|
|
| With MSVC 19.39.33521.0 std201703 |
|
|
|
|
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
| ... | ... | |