Dear Rooters Merry Christmas and a Happy New Year! Maybe this is a simple question and I missed something: I would like to add my own classes without the need to compile it first as shared library, but I would like to use ACLiC. Since I always get the message “Streamer() not declared” and “ShowMembers() not declared”, I tried your examples: ABCClass.C ABCWriteClass.C As you can see below, I get the same messages.Does this only mean that I have not created a custom streamer? Is the standard streamer created? I have also tried to make a file "ABCClass_CLinkDef.h", however, this did not help since this file should only be needed for compilation with gmake? Moreover, when I added the statement “tree->Print()”, the entries are always displayed with: “Size = 0 bytes” and no compression (see below). What is the reason for this? Thank you in advance for your help. Christian Stratowa Vienna, Austria System: PowerBook with LinuxPPC ******************************************* * * * W E L C O M E to R O O T * * * * Version 3.00/00 19 December 2000 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* CINT/ROOT C/C++ Interpreter version 5.14.65, Dec 6 2000 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] .x ABCWriteClass.C Creating shared library ABCClass_C.so Class ABC::R__Init: Streamer() not declared Class ABC::R__Init: ShowMembers() not declared ****************************************************************************** *Tree :T : A ROOT tree * *Entries : 220 : Total = 4352 bytes File Size = 4352 * * : : Tree compression factor = 1.00 * ****************************************************************************** *Branch :abcBranch : abcBranch * *Entries : 220 : BranchObject (see below) * *............................................................................* *Branch :a : a *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* *Branch :b : b *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* *Branch :c : c *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* *Branch :p : p *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* *Branch :fUniqueID : fUniqueID * *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* *Branch :fBits : fBits * *Entries : 220 : Total Size= 0 bytes File Size = 0 * *Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 * *............................................................................* // file "ABCClass_CLinkDef.h" #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class ABC+; #endif
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:40 MET