Message: HepMC examples and 4.10.03 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question HepMC examples and 4.10.03 

Forum: Installation and Configuration
Date: 07 Feb, 2017
From: Bryan Wright <Bryan Wright>

Hi folks,

I'm trying to compile the HepMC examples (HepMCEx01 and 02) under geant 4.10.03 but I
find that it fails with an error about HepMC::IO_GenEvent::IO_GenEvent.  The specific
compile command and error message are appended below.  Any idea what's going on here?

Thanks in advance for any advice.

Bryan

Compile command and output:
/share/apps/gcc/5.4.0/bin/g++    -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -DG4USE_STD11 -std=c++11 -O3 -DNDEBUG -fno-trapping-math -ftree-vectorize -fno-math-errno   CMakeFiles/HepMCEx01.dir/HepMCEx01.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04CalorimeterHit.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04CalorimeterParametrisation.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04CalorimeterROGeometry.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04CalorimeterSD.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04DetectorConstruction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04EventAction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04Field.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04MuonHit.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04MuonSD.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04PrimaryGeneratorAction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04PrimaryGeneratorMessenger.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04RunAction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04StackingAction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04StackingActionMessenger.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04SteppingAction.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04SteppingVerbose.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04TrackerHit.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04TrackerParametrisation.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04TrackerSD.cc.o CMakeFiles/HepMCEx01.dir/src/ExN04TrackingAction.cc.o CMakeFiles/HepMCEx01.dir/src/HEPEvtcom.cc.o CMakeFiles/HepMCEx01.dir/src/HepMCG4AsciiReader.cc.o CMakeFiles/HepMCEx01.dir/src/HepMCG4AsciiReaderMessenger.cc.o CMakeFiles/HepMCEx01.dir/src/HepMCG4Interface.cc.o CMakeFiles/HepMCEx01.dir/src/HepMCG4PythiaInterface.cc.o CMakeFiles/HepMCEx01.dir/src/HepMCG4PythiaMessenger.cc.o  -o ../../../../../BuildProducts/bin/HepMCEx01 -rdynamic ../../../../../BuildProducts/lib64/libG4Tree.so ../../../../../BuildProducts/lib64/libG4GMocren.so ../../../../../BuildProducts/lib64/libG4visHepRep.so ../../../../../BuildProducts/lib64/libG4RayTracer.so ../../../../../BuildProducts/lib64/libG4VRML.so ../../../../../BuildProducts/lib64/libG4OpenGL.so ../../../../../BuildProducts/lib64/libG4gl2ps.so ../../../../../BuildProducts/lib64/libG4interfaces.so ../../../../../BuildProducts/lib64/libG4persistency.so ../../../../../BuildProducts/lib64/libG4analysis.so ../../../../../BuildProducts/lib64/libG4error_propagation.so ../../../../../BuildProducts/lib64/libG4readout.so ../../../../../BuildProducts/lib64/libG4physicslists.so ../../../../../BuildProducts/lib64/libG4parmodels.so -lHepMC -L/nv/blue/bkw1a/apps/hepmc-2.06.09/lib -lHepMCfio /nv/blue/bkw1a/apps/pythia6-4.16.f/libPythia6.so -lgfortran ../../../../../BuildProducts/lib64/libG4FR.so ../../../../../BuildProducts/lib64/libG4vis_management.so ../../../../../BuildProducts/lib64/libG4modeling.so -lXm -lSM -lICE -lX11 -lXext -lXt -lXmu -lGLU -lGL -lQtOpenGL -lQtGui -lQtGui_debug -lQtCore -lQtCore_debug -lxerces-c ../../../../../BuildProducts/lib64/libG4run.so ../../../../../BuildProducts/lib64/libG4event.so ../../../../../BuildProducts/lib64/libG4tracking.so ../../../../../BuildProducts/lib64/libG4processes.so ../../../../../BuildProducts/lib64/libG4zlib.so -lexpat ../../../../../BuildProducts/lib64/libG4digits_hits.so ../../../../../BuildProducts/lib64/libG4track.so ../../../../../BuildProducts/lib64/libG4particles.so ../../../../../BuildProducts/lib64/libG4geometry.so ../../../../../BuildProducts/lib64/libG4materials.so ../../../../../BuildProducts/lib64/libG4graphics_reps.so ../../../../../BuildProducts/lib64/libG4intercoms.so ../../../../../BuildProducts/lib64/libG4global.so /share/apps/clhep/2.3.4.3/lib/libCLHEP.so -Wl,-rpath,/scratch/bkw1a/geant4.10.03-build/BuildProducts/lib64:/nv/blue/bkw1a/apps/pythia6-4.16.f: 
CMakeFiles/HepMCEx01.dir/src/HepMCG4AsciiReader.cc.o: In function `HepMCG4AsciiReader::HepMCG4AsciiReader()':
HepMCG4AsciiReader.cc:(.text+0x146): undefined reference to `HepMC::IO_GenEvent::IO_GenEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)'
CMakeFiles/HepMCEx01.dir/src/HepMCG4AsciiReader.cc.o: In function `HepMCG4AsciiReader::Initialize()':
HepMCG4AsciiReader.cc:(.text+0x2c4): undefined reference to `HepMC::IO_GenEvent::IO_GenEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)'
collect2: error: ld returned 1 exit status
make[2]: *** [BuildProducts/bin/HepMCEx01] Error 1
make[2]: Leaving directory `/sfs/lustre/scratch/bkw1a/geant4.10.03-build'
make[1]: *** [examples/extended/eventgenerator/HepMC/HepMCEx01/CMakeFiles/HepMCEx01.dir/all] Error 2
make[1]: Leaving directory `/sfs/lustre/scratch/bkw1a/geant4.10.03-build'
make: *** [all] Error 2

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: HepMC examples and 4.10.03   (Ben Morgan - 07 Feb, 2017)
(_ Feedback: Re: HepMC examples and 4.10.03   (Bryan Wright - 07 Feb, 2017)
(_ None: Re: HepMC examples and 4.10.03   (Witek Pokorski - 10 Apr, 2017)
 Add Message Add Message
to: "HepMC examples and 4.10.03"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]