C:\setup\build>cmake -DGeant4_DIR="C:\Program Files\geant4_10_07_p01_install\lib\Geant4-10.7.1" -DHEPMC_DIR="C:\HepMC-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.29915.0 -- The CXX compiler identification is MSVC 19.28.29915.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:/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 -- Found HepMC: C:/HepMC-install/include -- 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+5e4b48a27 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 B1EventAction.cc B1PrimaryGeneratorAction.cc B1Run.cc B1RunAction.cc B1StackingAction.cc B1SteppingAction.cc GEMDigitizer.cc HepMCG4AsciiReader.cc C:\setup\src\GEMDigitizer.cc(29,14): warning C4244: 'inizializzazione': conversione da 'double' a 'int'. Possibile perdita di dati. [C:\setup \build\mainMCMC.vcxproj] HepMCG4Interface.cc C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprec ated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iter ator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_t ype, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _ SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this w arning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprec ated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iter ator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_t ype, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _ SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this w arning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4AsciiReader.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\B1PrimaryGeneratorAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(195,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(264,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprec ated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iter ator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_t ype, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _ SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this w arning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(340,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std ::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, v alue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can de fine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(455,30): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenVertex.h(459,31): warning C4267: 'return': conversione da 'size_t' a 'int'. Possibile perdita di dati. (com pilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/Flow.h(174,34): warning C4267: '=': conversione da 'size_t' a 'int'. Possibile perdita di dati. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(337,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(394,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is depreca ted in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::itera tor. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_ty pe, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _S ILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this wa rning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(467,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\include\HepMC/GenEvent.h(523,16): warning C4996: 'std::iterator': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is d eprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std: :iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, va lue_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can def ine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received t his warning. (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xutility(6114,54): message : vedere la dichia razione di 'std::iterator' (compilazione del file di origine C:\setup\src\HepMCG4Interface.cc) [C:\setup\build\mainMCMC.vcxproj] PhysicsList.cc PhysicsListMessenger.cc PurgMagTabulatedField3D.cc SiDigitizer.cc C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(106,21): warning C4996: 'write': The POSIX name for this item is de precated. Instead, use the ISO C and C++ conformant name: _write. 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(106,21): warning C4996: 'write': The POSIX name for this item is de precated. Instead, use the ISO C and C++ conformant name: _write. 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(106,21): warning C4996: 'write': The POSIX name for this item is de precated. Instead, use the ISO C and C++ conformant name: _write. 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(106,21): warning C4996: 'write': The POSIX name for this item is de precated. Instead, use the ISO C and C++ conformant name: _write. 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(393,7): warning C4996: 'close': The POSIX name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _close. See online help for details. (compilazione del file di origine C:\setup\src\ B1RunAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\mainMCMC.cc(223,14): warning C4244: 'inizializzazione': conversione da 'time_t' a 'G4long'. Possibile perdita di dati. [C:\setup\bui ld\mainMCMC.vcxproj] C:\Program Files\geant4_10_07_p01_install\include\Geant4\tools\wroot\file(393,7): warning C4996: 'close': The POSIX name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _close. 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(393,7): warning C4996: 'close': The POSIX name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _close. 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(482,17): warning C4996: 'unlink': The POSIX name for this item is d eprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\s rc\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 name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _close. 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 name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (compilazione del file di origine C:\setup\src\B 1RunAction.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 name for this item is d eprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\s rc\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 name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (compilazione del file di origine C:\setup\src\B 1StackingAction.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 name for this item is d eprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\s rc\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 name for this item is d eprecated. Instead, use the ISO C and C++ conformant name: _unlink. See online help for details. (compilazione del file di origine C:\setup\s rc\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 name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (compilazione del file di origine C:\setup\src\B 1EventAction.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 name for this item is dep recated. Instead, use the ISO C and C++ conformant name: _open. See online help for details. (compilazione del file di origine C:\setup\src\B 1SteppingAction.cc) [C:\setup\build\mainMCMC.vcxproj] C:\setup\src\B1EventAction.cc(357,34): warning C4267: '=': conversione da 'size_t' a 'G4int'. Possibile perdita di dati. [C:\setup\build\main MCMC.vcxproj] C:\setup\src\B1SteppingAction.cc(777,55): warning C4267: 'inizializzazione': conversione da 'size_t' a 'int'. Possibile perdita di dati. [C:\ setup\build\mainMCMC.vcxproj] TBDetectorConstruction.cc LINK : warning LNK4044: opzione '/LC:/HepMC-install/lib -lHepMCfio' non riconosciuta; verrà ignorata [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightContainer(class std::ve ctor > const &)" (??0WeightContainer@HepMC@@QEAA@AEBV?$vector@NV?$allocator@N@std@@@std@@@Z) non risolto nella funzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseClass@HepMC@@QEA APEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightContainer(class std::vector > const &)" (??0WeightContainer@HepMC@@QEAA@AEBV?$vector@NV?$allocator@N@std@@@std@@@Z) non risolto [C:\setup\build\m ainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Units::default_length_un it(void)" (?default_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto nella funzione "public: class HepMC::GenEvent * __cdecl HepM C::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseClass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Units::default_length_unit(void)" (?defau lt_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC::Units::default_momentu m_unit(void)" (?default_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto nella funzione "public: class HepMC::GenEvent * __cd ecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseClass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj ] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC::Units::default_momentum_unit(void)" (?d efault_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,int,class HepMC::GenVer tex *,class HepMC::WeightContainer const &,class std::vector > const &,enum HepMC::Units::MomentumUnit,enum H epMC::Units::LengthUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWeightContainer@1@AEBV?$vector@JV?$allocator@J@std@@@std@@W4Momentum Unit@Units@1@W4LengthUnit@71@@Z) non risolto nella funzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(voi d)" (?read_next_event@IO_BaseClass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,int,class HepMC::GenVertex *,class HepMC ::WeightContainer const &,class std::vector > const &,enum HepMC::Units::MomentumUnit,enum HepMC::Units::Leng thUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWeightContainer@1@AEBV?$vector@JV?$allocator@J@std@@@std@@W4MomentumUnit@Units@1@W4Le ngthUnit@71@@Z) non risolto [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: void __cdecl HepMC::GenEvent::print(class std::basic_ostream< char,struct std::char_traits > &)const " (?print@GenEvent@HepMC@@QEBAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) non risolto nella funzione "protected: virtual class HepMC::GenEvent * __cdecl HepMCG4AsciiReader::GenerateHepMCEvent(void)" (?GenerateHepMCEvent@HepMCG4 AsciiReader@@MEAAPEAVGenEvent@HepMC@@XZ) [C:\setup\build\mainMCMC.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::IO_GenEvent::IO_GenEvent(class std::basic_stri ng,class std::allocator > const &,int)" (??0IO_GenEvent@HepMC@@QEAA@AEBV?$basic_string@DU?$char_trai ts@D@std@@V?$allocator@D@2@@std@@H@Z) non risolto nella funzione "public: __cdecl HepMCG4AsciiReader::HepMCG4AsciiReader(class G4String)" (?? 0HepMCG4AsciiReader@@QEAA@VG4String@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterator::particle_iterator( void)" (??0particle_iterator@GenVertex@HepMC@@QEAA@XZ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class H epMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxp roj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterator::particle_iterator( class HepMC::GenVertex &,enum HepMC::IteratorRange)" (??0particle_iterator@GenVertex@HepMC@@QEAA@AEAV12@W4IteratorRange@2@@Z) non risolto nel la funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@ IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: virtual __cdecl HepMC::GenVertex::particle_iterator::~particle_ iterator(void)" (??1particle_iterator@GenVertex@HepMC@@UEAA@XZ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G 4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\setup\build\main MCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenParticle * __cdecl HepMC::GenVertex::particle_i terator::operator*(void)const " (??Dparticle_iterator@GenVertex@HepMC@@QEBAPEAVGenParticle@2@XZ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAV G4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenVertex::particle_iterator & __cdecl HepMC::GenV ertex::particle_iterator::operator++(void)" (??Eparticle_iterator@GenVertex@HepMC@@QEAAAEAV012@XZ) non risolto nella funzione "protected: voi d __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PE AVG4Event@@@Z) [C:\setup\build\mainMCMC.vcxproj] C:\HepMC-install\lib\HepMC.lib : warning LNK4272: il tipo 'x86' del computer della libreria è in conflitto con il tipo 'x64' del computer di destinazione [C:\setup\build\mainMCMC.vcxproj] C:\setup\build\Release\mainMCMC.exe : fatal error LNK1120: 11 esterni non risolti [C:\setup\build\mainMCMC.vcxproj] C:\setup\build>