Message: CLHEP file include system bugged Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question CLHEP file include system bugged 

Forum: Installation and Configuration
Date: 13 Oct, 2011
From: Bruno Morgado <Bruno Morgado>

Hi all,
I'm trying to use CLHEP as standalone in some code.
But it fails event at the lowest level because there seems to be something wrong with including the files.

Just putting in my hh file something simple:
#include <ThreeVector.h>
or
#include <CLHEP/Vector/ThreeVector.h>
or
#include <Vector/ThreeVector.h>

and trying to link with:
g++ -ggdb -I$(clhep-config --include) -Iinclude -o libs/Functions.o  -c src/Functions.cc

Always fails with the message (or similar depending on the include syntax):
src/../include/NGRMTransferFunction.hh:1:2: error: ThreeVector.h: No such file or directory

It seems something so simple that it just shouldn't fail, and yet it does.

Any advice on how to solve the problem?

Regards,
Bruno

 Add Message Add Message
to: "CLHEP file include system bugged"

 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 ]