Re: [ROOT] Problem compiling GUI application

From: cstrato (cstrato@aon.at)
Date: Tue Feb 18 2003 - 22:08:58 MET


Dear Rene

Thank you for your explanation.
It seems that I have to rebuild my system, which is currently bad news.

Best regards
Christian

Rene Brun wrote:

> Hi Christian,
> 
> This problem seems to be MacOS specific. Your test works correctly
> under Linux (by the way replace linuxegcs by linux in your Makefile).
> 
> The Warnings that you see are generated when several dictionaries 
> are loaded and initializing the same class(es)
> 
> Rene Brun
> 
> On 
> Tue, 
> 18 Feb 2003, cstrato wrote:
> 
> 
>>Dear Rooters
>>
>>Enclosed is a very primitive GUI application. As long as it
>>includes a TRootEmbeddedCanvas class, everything is ok.
>>(Uncomment MyGuiA.h line 21 and MyGuiA.cxx lines 55,56,76.)
>>
>>However, if I compile it without fCanvas, I am still able to
>>compile it, but I get the following runtime error:
>>
>>[localhost:~/ROOT/rootcode/test] cc% ./MyGuiA
>>Warning in <TClassTable::Add>: class TGHorizontal3DLine allready in 
>>TClassTable
>>Warning in <TClassTable::Add>: class TGVertical3DLine allready in 
>>TClassTable
>>Warning in <TClassTable::Add>: class TGApplication allready in TClassTable
>>etc.....
>>etc....
>>Warning in <TClassTable::Add>: class TGCheckButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGSearchType allready in TClassTable
>>Warning in <TClassTable::Add>: class TGFileInfo allready in TClassTable
>>
>>  *** Break *** bus error
>>Abort
>>
>>I have the following questions:
>>1, Can someone explain why I cannot run my application?
>>2, What do these warning messages mean?
>>3, When does ROOT usually give these warning messages?
>>
>>(I am running root 3.05/02 on MacOS X 10.1.2)
>>
>>Thank you in advance for your help.
>>
>>Best regards
>>Christian
>>_._._._._._._._._._._._._._._._
>>C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
>>V.i.e.n.n.a       A.u.s.t.r.i.a
>>_._._._._._._._._._._._._._._._
>>
>>
> 
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET