TBRIK inheritance

From: William J. Deninger (deninger@uiuc.edu)
Date: Thu Nov 20 1997 - 02:02:00 MET


Hello again.

I'm having difficulty with the following class which inherits TBRIK on my
WinNT (x86) workstation:

class Brick: public TBRIK
{
    protected:
  Float_t fx;
  Float_t fy;
  Float_t fz;
    public:
        Brick();
        Brick(Text_t *name, Text_t *title, Text_t *material, Float_t dx,
Float_t dy, Float_t dz, Float_t x, Float_t y, Float_t z);
        ~Brick();
        virtual void    Paint(Option_t *option);
        virtual void    SetPoints(Float_t *buff);
  void MakeSegments(Int_t *segs, Int_t c);
  void MakePolygons(Int_t *polys, Int_t c);
        ClassDef(Brick,1)  //TBrickshape
};

I build the dictionary using rootcint and all compiles error and warning
free.  But during the link stage, I get the following:

LINK : warning LNK4103: import of deleting destructor "public: virtual void
* __thiscall TAttLine::`vector deleting destructor'(unsigned int)"; image
may not run correctly
LINK : warning LNK4103: import of deleting destructor "public: virtual void
* __thiscall TAttFill::`vector deleting destructor'(unsigned int)"; image
may not run correctly
LINK : warning LNK4103: import of deleting destructor "public: virtual void
* __thiscall TBRIK::`vector deleting destructor'(unsigned int)"; image may
not run correctly
LINK : warning LNK4103: import of deleting destructor "public: virtual void
* __thiscall TShape::`vector deleting destructor'(unsigned int)"; image may
not run correctly
Brick.obj : error LNK2001: unresolved external symbol _gSize3D
Brick.obj : error LNK2001: unresolved external symbol "class TNode *  gNode"
(?gNode@@3PAVTNode@@A)
Brick.obj : error LNK2001: unresolved external symbol "class TVirtualPad *
gPad" (?gPad@@3PAVTVirtualPad@@A)

Should I worry about the warnings?  And if not, how to I deal with the
unresolved external references? As always, I'm really grateful for all the
help that the ROOT team and supporters have given me.  Have a beer on me. :)

William J. Deninger
deninger@uiuc.edu



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET