[ROOT] rootcint problem ?

From: Catalin Ristea (ristea@nbi.dk)
Date: Tue Jun 15 2004 - 16:13:58 MEST


   I'ld like to signal one problem that could be with the last cvs root
version, I mean 4.00/07. I have like:

c++ -DPACKAGE=\"brat\" -DVERSION=\"2.17.9\" -DONL_unix=1
-DHAVE_DLFCN_H=1 -I. -I. -I.
-I/home/hehi/ristea/i386_linux24/include/root -I../../data/abc
-I../../data/params -I../../util -I../../managers -I../../modules/abc
-I../../modules/util -I../../modules/util/detector -I../../data/raw
-I../../db/abc -I../../db/calib -I../../db/geometry -I../../db/main
-I../../db/params -I../../db/pass -I../../db/run -g -O2
-Wp,-MD,.deps/data_calib_Cint.pp -c data_calib_Cint.cxx   -fPIC -DPIC -o
data_calib_Cint.cxx:13:28: ata_calib_Cint.h: No such file or directory
In file included from data_calib_Cint.cxx:26:
/home/hehi/ristea/i386_linux24/include/root/RtypesImp.h:16:2: #error
RtypesImp.h should only be included by ROOT dictionaries.
data_calib_Cint.cxx:45: parse error before `*' token
data_calib_Cint.cxx: In function `ROOT::TGenericClassInfo*

and, it's continued this way for another thousands of lines. But I guess
you've catched the point.
   And, for consistency, I put also the beginning of the output file,
// File generated by rootcint at Tue Jun 15 15:50:37 2004.
// Do NOT change. Changes will be lost next time file is generated

#include "RConfig.h"
#if !defined(R__ACCESS_IN_SYMBOL)
//Break the privacy of classes -- Disabled for the moment
#define private public
#define protected public

#include "ata_abc_Cint.h"
#include "TClass.h"
#include "TBuffer.h"
#include "TMemberInspector.h"
#include "TError.h"

#ifndef G__ROOT
#define G__ROOT

// Since CINT ignores the std namespace, we need to do so in this file.
namespace std {} using namespace std;

#include "RtypesImp.h"

#include "TVectorProxy.h"

namespace ROOT {

   I mean, I could fix it by hand, but to do it hundreds of times...
   Please, help me.
   And many, many thanks.

Catalin Ristea.

Catalin Ristea -------------------------------------------o
|  Niels Bohr Institute      |  Home:                     |
|  Blegdamsvej 17, DK-2100  |  Petersborgvej, 4          |
|  Fax: +45 35 32 50 16      |  DK-2100 Copenhagen       |
|  Tel: +45 35 32 52 69      |  +45 35 26 02 33           |
|                  http://www.nbi.dk/~ristea              |
|                       ristea@nbi.dk                     |

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET