Dear devs,
I want to make a dictionary file for a class TBBQManager. In the header file I’ve included some third party libraries. That is where things go wrong. I executed rootcint with (many dots = some obscured path)
rootcint -f BBQDict.cxx -c -w -g -I/afs/........./include -I/afs/.........../include -I/afs/............/include -p TBBQManager.h Linkdef.h
with the class TBBQManager having some pointers to classes defined in the third party libs and where Linkdef.h is
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ nestedclasses;
#pragma link C++ class TBBQManager+;
#endif
It returns the error
Internal error: global function template arg type /afs/......../Vector3D.h:27:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing BBQDict.cxx BBQDict.h !!!
Error: rootcint: error loading headers...
make: *** [BBQDict.cxx] Error 1
with the code snippet from Vector3D.h
00017 class Vector3D{
...
00026 template <class T>
00027 Vector3D( double x,double y, double z , T(&)() ) ;
...
00195 } ;
The questions are:
[ul]
- Straightforward one: how to fix it.
- If I want to make a dict for my own class only, why does it care about the other classes?
[/ul]
With regards,
Bon