Message: Cannot compile either of the HepMC examples Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Cannot compile either of the HepMC examples 

Forum: Documentation and Examples
Date: 03 Aug, 2012
From: Jonathan Porter <Jonathan Porter>

I've installed the latest version of HepMC and set the HEPMC_DIR variable to point to the directory where HepMC is installed.

When I type "make", I get the following error:

c:\g4work\hepmc\mctruth\include\MCTruthManager.hh(45) : fatal error C1083: Cannot open include file: 'HepMC/GenEvent.h' : No such file or directory

There is no folder in the program directory called "HepMC" and no file called "GenEvent.h" that I can find, but it looks like there used to be a CLHEP/HepMC/HepMC/GenEvent.h file in some of the older versions of CLHEP. I tried downloading version and just copying over the HepMC folder/files, but it didn't work.

Any ideas?



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

1 None: Re: Cannot compile either of the HepMC examples   (Ivana Hrivnacova - 18 Oct, 2012)
 Add Message Add Message
to: "Cannot compile either of the HepMC examples"

 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 ]