[ROOT] CINT and Dictionaries...

From: Olivier Meplan (meplan@isn.in2p3.fr)
Date: Fri Aug 04 2000 - 14:22:56 MEST


Hello Rooters!!
Up to now I have used CINT to generate dictionary files with CINT. I did
not understand exactly what I was doing but every things were working.
But now, it don't work and I want to know what to do and when....
So, here is my pb:
I have 2 classes A, B and 4 files (2 .h and 2 .C) to define and describe
these classes.
Class A has a pointer on a class B element.
When I compile, every things is ok but when the linker is called I have
this error
ld:
BDict.o compressed: __T_1B: multiply defined
BDict.o compressed: __vtbl_1B: multiply defined
BDict.o compressed: ShowMembers__1BXR16TMemberInspectorPc: multiply
defined
BDict.o compressed: Streamer__1BXR7TBuffer: multiply defined
BDict.o compressed: __rs__XR7TBufferRP1B: multiply defined
BDict.o compressed: Class_Name__1BXv: multiply defined

I understand that if I suppress the BDict generation, there are, of
course, no pbs.

So when I must make a dictionary and when I must not?
Thanks
Olivier Meplan



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET