Message: geant4.9.2.b01 and error in HepMCEx01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question geant4.9.2.b01 and error in HepMCEx01 

Forum: Documentation and Examples
Date: 20 Jul, 2008
From: dusan <dusan>

Hello,

I am using geant4.9.2.b01 and for HepMCEx01 I have compilation error:

Compiling HepMCG4Interface.cc ...
src/HepMCG4Interface.cc: In member function ‘void HepMCG4Interface::HepMC2G4(const HepMC::GenEvent*, G4Event*)’:
src/HepMCG4Interface.cc:93: error: conversion from ‘HepMC::FourVector’ to non-scalar type ‘CLHEP::HepLorentzVector’ requested
src/HepMCG4Interface.cc:108: error: conversion from ‘HepMC::FourVector’ to non-scalar type ‘CLHEP::HepLorentzVector’ requested
make: *** [/kosice/geant4/releases/specific/slc5_ia32_gcc411/geant4.9.2.b01/tmp/Linux-g++/hepmcEx01/HepMCG4Interface.o] Error 1
==========================

I am using:  HepMC-2.03.02

gcc -v

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

uname -r
2.6.18-92.1.6.el5

Cheers,     Dusan

 Add Message Add Message
to: "geant4.9.2.b01 and error in HepMCEx01"

 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 ]