Problems with standalone gui example 2a

Hi,

I’m trying to run the standalone gui example featured in the ROOT users guide 4.08, example2a (which I have called MainFrame), but I’m getting the following errors:

/products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h: In function class TBuffer & operator >><TRootEmbeddedCanvas>(TBuffer &, TRootEmbeddedCanvas *&)': MainFrameDict.C:100: instantiated from here /products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h:267: taking typeid of incomplete typeTRootEmbeddedCanvas’
/products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h: In function class TBuffer & operator >><TGMainFrame>(TBuffer &, TGMainFrame *&)': MainFrameDict.C:101: instantiated from here /products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h:267: taking typeid of incomplete typeTGMainFrame’
/products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h: In function class TBuffer & operator <<<TRootEmbeddedCanvas>(TBuffer &, const TRootEmbeddedCanvas *)': MainFrameDict.C:106: instantiated from here /products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h:274: taking typeid of incomplete typeTRootEmbeddedCanvas’
/products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h: In function class TBuffer & operator <<<TGMainFrame>(TBuffer &, const TGMainFrame *)': MainFrameDict.C:107: instantiated from here /products/ROOT/3.10_03/gcc-2.95.3/root/include/TBuffer.h:274: taking typeid of incomplete typeTGMainFrame’
gmake: *** [MainFrameDict.o] Error 1

Any ideas why?

Thanks,

Lisa

Hi Lisa,

Please check your case with the attached sa_example.txt at root.cern.ch/phpBB2/viewtopic.php?t=1525

Thank you, Ilka