********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.9.2 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd C:/setup/build C:\setup\build>cmake -DGeant4_DIR="C:\Program Files\geant4_10_07_p01_install\lib\Geant4-10.7.1" -DCMAKE_PREFIX_PATH="C:/Program Files/HepMC3-install" "C:\setup" -- Building for: Visual Studio 16 2019 CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. -- The C compiler identification is MSVC 19.28.29913.0 -- The CXX compiler identification is MSVC 19.28.29913.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found XercesC: C:/Program Files/xerces-c-3.2.3-install/lib/xerces-c_3.lib (found suitable version "3.2.3", minimum required is "3.2.3") -- Found OpenGL: opengl32 -- Configuring done -- Generating done -- Build files have been written to: C:/setup/build C:\setup\build>cmake --build . --config Release Microsoft (R) Build Engine versione 16.9.0+57a23d249 per .NET Framework Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati. Checking Build System Building Custom Rule C:/setup/CMakeLists.txt mainMCMC.cc G4Channeling.cc G4ChannelingECHARM.cc G4ChannelingMaterialData.cc G4ChannelingOptrChangeCrossSection.cc G4ChannelingOptrMultiParticleChangeCrossSection.cc G4ChannelingPhysics.cc G4ChannelingTrackData.cc B1ActionInitialization.cc B1DetectorConstruction.cc B1DetectorConstructionAug.cc B1EventAction.cc B1PrimaryGeneratorAction.cc B1Run.cc B1RunAction.cc C:\setup\mainMCMC.cc(225,14): warning C4244: 'inizializzazione': conversione da 'time_t' a 'G4long'. Possibile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] B1RunAction2018.cc B1StackingAction.cc C:\setup\include\HepMCG4Interface.hh(36,10): fatal error C1083: Non è possibile aprire il file inclusione: 'HepMC3/GenE vent.h': No such file or directory (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setu p\build\mainMCMC.vcxproj] B1SteppingAction.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1EventAction.cc) [C:\setup\build\mainMCMC.vcxproj] B1SteppingAction2018.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1RunAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1RunAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1RunAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1RunAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1EventAction.cc(358,34): warning C4267: '=': conversione da 'size_t' a 'G4int'. Possibile perdita di dati . [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1RunAction.cc(394,86): warning C4244: 'argomento': conversione da 'unsigned __int64' a 'G4double'. Possib ile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1RunAction.cc(394,88): warning C4267: 'argomento': conversione da 'size_t' a 'G4int'. Possibile perdita d i dati. [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1StackingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1RunAction2018.cc(393,86): warning C4244: 'argomento': conversione da 'unsigned __int64' a 'G4double'. Po ssibile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1RunAction2018.cc(393,88): warning C4267: 'argomento': conversione da 'size_t' a 'G4int'. Possibile perdi ta di dati. [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1SteppingAction.cc(693,55): warning C4267: 'inizializzazione': conversione da 'size_t' a 'int'. Possibile perdita di dati. [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX na me for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write. See online help for details. (c ompilazione del file di origine C:\setup\src\B1SteppingAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (co mpilazione del file di origine C:\setup\src\B1SteppingAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(482,17): warning C4996: 'unlink': The POSIX n ame for this item is deprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\src\B1SteppingAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(495,15): warning C4996: 'open': The POSIX nam e for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (com pilazione del file di origine C:\setup\src\B1SteppingAction2018.cc) [C:\setup\build\mainMCMC.vcxproj] GEMDigitizer.cc HepMCG4AsciiReader.cc HepMCG4Interface.cc C:\setup\include\HepMCG4Interface.hh(36,10): fatal error C1083: Non è possibile aprire il file inclusione: 'HepMC3/GenE vent.h': No such file or directory (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\buil d\mainMCMC.vcxproj] PhysicsList.cc C:\setup\src\GEMDigitizer.cc(29,14): warning C4244: 'inizializzazione': conversione da 'double' a 'int'. Possibile perd ita di dati. [C:\setup\build\mainMCMC.vcxproj] PhysicsListMessenger.cc C:\setup\include\HepMCG4Interface.hh(36,10): fatal error C1083: Non è possibile aprire il file inclusione: 'HepMC3/GenE vent.h': No such file or directory (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\ mainMCMC.vcxproj] PurgMagTabulatedField3D.cc SiDigitizer.cc TBDetectorConstruction.cc C:\setup\build>