Hi ROOTERS,
I know that all the people are fond of classes, but I miss one C functionality, that is, the possibility of putting functions for the “main” in a separate file. Now I’m using a couple of classes created by other, and my code looks ugly with all the functions over the “main”.
When I try to create a SAA the ROOT claims in this way:
Generating Dictionary …
Error: link requested for unknown class Myfunctions FILE:G__auto16612LinkDef.h LINE:7
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing MyfunctionsDict.cpp MyfunctionsDict.h !!!
Error: rootcint: error loading headers…
make: *** [MyFunctionsDict.cpp] Error 1
If I add a REAL class to the rest of “class files”, I have no problem at all. But I dont need another class.
Maybe it’s a question of the makefile? Anyway, It’s only a curiosity, my program works fine but it could be more beautiful !
I’m using ROOT Version 4.03/02
Could somebody help me?