rootcint, include headers from another directory

Dirk Meier (Dirk.Meier@cern.ch)
Fri, 17 Apr 1998 02:51:07 +0200 (METDST)


Hi,

I am using rootcint and tried the -I option to look for headers
in another directory.
rootcint tries to generate a dictionary, which then
gives the following error:

atlas05: ~/dmd/root/tracking/DT > make
Generating dictionary ...
Error: source file "DSetup.h" cannot open FILE: LINE:0
aCC -g -w +Z
-I/afs/cern.ch/na49/library/local/ROOT/hpux10aCC/root/include
-I/afs/cern.ch/user/d/dirme/dmd/root/tracking/DT/include -c dict.cxx
Error 20: "dict.cxx", line 21680 # '}' expected before '<end of file>'.
*** Error exit code 2

Stop.

My Makefile contains this call to rootcint:

VPATH = include:source:lib

dict.cxx: DSetup.h DReader.h DSession.h \
DAcq.h DAcqModule.h DInp.h DTracker.h DPlane.h \
DStrip.h DHit.h DTrack.h DLine.h DR3.h DCut.h DAlign.h \
DEvent.h DParticle.h DGlobalTools.h DTimeDigitCounter.h
DModule.h
@echo "Generating dictionary ..."
@rootcint -f dict.cxx \
-I ./include \
-c DSetup.h \
DReader.h \
DSession.h \
DAcq.h \
DAcqModule.h \
DInp.h \
DTracker.h \
DPlane.h \
DStrip.h \
DHit.h \
DTrack.h \
DLine.h \
DR3.h \
DCut.h \
DAlign.h \
DEvent.h \
DParticle.h \
DGlobalTools.h \
DTimeDigitCounter.h \
DModule.h \
LinkDef.h

all headerfile are located in ./include seen from the
directory where I call `make' (and rootcint).

It seems that rootcint does not find the headerfiles.
If I put the headerfile in the calling directory and remove
-I ./include rootcint works fine.

The webpage
http://root.cern.ch/root/RootCintMan.html
proposes different syntax which I tried as well
with the same result.

What could I do that rootcint finds the headers?

Dirk