********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.9.5 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd C:\HepMCEx01\build C:\HepMCEx01\build>cmake -DGeant4_DIR="C:\Program Files\geant4_10_07_p01_install\lib\Geant4-10.7.1" -DHEPMC_DIR="C:\HepMC-install" "C:\HepMCEx01" -- Building for: Visual Studio 16 2019 -- 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:/HepMCEx01/build C:\HepMCEx01\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:/HepMCEx01/CMakeLists.txt HepMCEx01.cc ExN04CalorimeterHit.cc ExN04CalorimeterParametrisation.cc ExN04CalorimeterROGeometry.cc ExN04CalorimeterSD.cc ExN04DetectorConstruction.cc ExN04EventAction.cc ExN04Field.cc ExN04MuonHit.cc ExN04MuonSD.cc ExN04PrimaryGeneratorAction.cc ExN04PrimaryGeneratorMessenger.cc ExN04RunAction.cc ExN04StackingAction.cc ExN04StackingActionMessenger.cc ExN04SteppingAction.cc ExN04SteppingVerbose.cc ExN04TrackerHit.cc ExN04TrackerParametrisation.cc ExN04TrackerSD.cc ExN04TrackingAction.cc HEPEvtcom.cc HepMCG4AsciiReader.cc HepMCG4AsciiReaderMessenger.cc HepMCG4Interface.cc HepMCG4PythiaInterface.cc HepMCG4PythiaMessenger.cc LINK : warning LNK4044: opzione '/LC:/HepMC-install/lib -lHepMCfio' non riconosciuta; verrà ignorata [C:\HepMCEx01\buil d\HepMCEx01.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightC ontainer(class std::vector > 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@@QEAAPEAVGenEvent@2@XZ) [C:\HepMCEx01\build\HepMCEx01.vcx proj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::WeightContainer::WeightContainer(class st d::vector > const &)" (??0WeightContainer@HepMC@@QEAA@AEBV?$vector@NV?$allocator@N@ std@@@std@@@Z) non risolto [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Un its::default_length_unit(void)" (?default_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto nella funzione " public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseClass@HepM C@@QEAAPEAVGenEvent@2@XZ) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::LengthUnit __cdecl HepMC::Units::default_leng th_unit(void)" (?default_length_unit@Units@HepMC@@YA?AW4LengthUnit@12@XZ) non risolto [C:\HepMCEx01\build\HepMCEx01.vcx proj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC:: Units::default_momentum_unit(void)" (?default_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto nella fu nzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseCl ass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "enum HepMC::Units::MomentumUnit __cdecl HepMC::Units::default_mo mentum_unit(void)" (?default_momentum_unit@Units@HepMC@@YA?AW4MomentumUnit@12@XZ) non risolto [C:\HepMCEx01\build\HepMC Ex01.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,i nt,class HepMC::GenVertex *,class HepMC::WeightContainer const &,class std::vector > co nst &,enum HepMC::Units::MomentumUnit,enum HepMC::Units::LengthUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWe ightContainer@1@AEBV?$vector@JV?$allocator@J@std@@@std@@W4MomentumUnit@Units@1@W4LengthUnit@71@@Z) non risolto nella fu nzione "public: class HepMC::GenEvent * __cdecl HepMC::IO_BaseClass::read_next_event(void)" (?read_next_event@IO_BaseCl ass@HepMC@@QEAAPEAVGenEvent@2@XZ) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2001: simbolo esterno "public: __cdecl HepMC::GenEvent::GenEvent(int,int,class HepMC::G enVertex *,class HepMC::WeightContainer const &,class std::vector > const &,enum HepMC: :Units::MomentumUnit,enum HepMC::Units::LengthUnit)" (??0GenEvent@HepMC@@QEAA@HHPEAVGenVertex@1@AEBVWeightContainer@1@A EBV?$vector@JV?$allocator@J@std@@@std@@W4MomentumUnit@Units@1@W4LengthUnit@71@@Z) non risolto [C:\HepMCEx01\build\HepMC Ex01.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: void __cdecl HepMC::GenEvent::print(cla ss std::basic_ostream > &)const " (?print@GenEvent@HepMC@@QEBAXAEAV?$basic_ostream@D U?$char_traits@D@std@@@std@@@Z) non risolto nella funzione "protected: virtual class HepMC::GenEvent * __cdecl HepMCG4A sciiReader::GenerateHepMCEvent(void)" (?GenerateHepMCEvent@HepMCG4AsciiReader@@MEAAPEAVGenEvent@HepMC@@XZ) [C:\HepMCEx0 1\build\HepMCEx01.vcxproj] HepMCG4AsciiReader.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::IO_GenEvent::IO_GenEvent (class std::basic_string,class std::allocator > const &,int)" (??0IO_GenEvent@ HepMC@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) non risolto nella funzione "public: _ _cdecl HepMCG4AsciiReader::HepMCG4AsciiReader(void)" (??0HepMCG4AsciiReader@@QEAA@XZ) [C:\HepMCEx01\build\HepMCEx01.vcx proj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterat or::particle_iterator(void)" (??0particle_iterator@GenVertex@HepMC@@QEAA@XZ) non risolto nella funzione "protected: voi d __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAX PEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: __cdecl HepMC::GenVertex::particle_iterat or::particle_iterator(class HepMC::GenVertex &,enum HepMC::IteratorRange)" (??0particle_iterator@GenVertex@HepMC@@QEAA@ AEAV12@W4IteratorRange@2@@Z) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC ::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\HepMCEx 01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: virtual __cdecl HepMC::GenVertex::particl e_iterator::~particle_iterator(void)" (??1particle_iterator@GenVertex@HepMC@@UEAA@XZ) non risolto nella funzione "prote cted: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Event *)" (?HepMC2G4@HepMCG4Interfa ce@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenParticle * __cdecl HepMC: :GenVertex::particle_iterator::operator*(void)const " (??Dparticle_iterator@GenVertex@HepMC@@QEBAPEAVGenParticle@2@XZ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4Ev ent *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\HepMCEx01\build\HepMCEx01.vcxproj] HepMCG4Interface.obj : error LNK2019: riferimento al simbolo esterno "public: class HepMC::GenVertex::particle_iterator & __cdecl HepMC::GenVertex::particle_iterator::operator++(void)" (??Eparticle_iterator@GenVertex@HepMC@@QEAAAEAV012@XZ ) non risolto nella funzione "protected: void __cdecl HepMCG4Interface::HepMC2G4(class HepMC::GenEvent const *,class G4 Event *)" (?HepMC2G4@HepMCG4Interface@@IEAAXPEBVGenEvent@HepMC@@PEAVG4Event@@@Z) [C:\HepMCEx01\build\HepMCEx01.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:\HepMCEx01\build\HepMCEx01.vcxproj] C:\HepMCEx01\build\Release\HepMCEx01.exe : fatal error LNK1120: 11 esterni non risolti [C:\HepMCEx01\build\HepMCEx01.vc xproj] C:\HepMCEx01\build>