Re: [ROOT] Problem con #include

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 12 2002 - 16:15:26 MEST


Giuseppe,

define ROOTSYS=$HOME/root

then do
rootcint -f nameprojectdict.cxx -c -I$ROOTSYS/include nameproject.h

Rene Brun

On Fri, 12 Jul 2002, Giuseppe Foggi wrote:

> Hi,
>  I'm a new ROOT user and I don't know it very well.
> 
> So, my problem is:
> 
>     I installed ROOT in $HOME/root by precompiled binary.
> After created the directory $HOME/MyProject  for my project and I seted the enviroment variables ROOTSYS like $HOME/root, PATH and LD_LIBRARY_PATH.
> I wrote simple project with :  #include "TObject.h"
> when I write
>         rootcint -f nameprojectdict.cxx -c -I $HOME/root/include/nameproject.h
> I get:
>     Error: cannot open file "TROOT.h" FILE : LINE : 0
> Why?
> 
> TROOT.h is in $HOME/include
> 
> Thank you for your help !
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET