Re: [ROOT] Unable to compile GUI application!

From: cstrato (cstrato@aon.at)
Date: Sun Feb 16 2003 - 15:29:17 MET


Dear Fons

Thank you for your reply.
This is exactly, what I am doing. I have another simple gui test,
which I could compile and run.

Maybe, you could tell me what "Warning in <TClassTable::Add>:..."
means, and under which circumstances root does give these warnings.
This could help me to understand what might be wrong.

P.S.: The GUI app that  I am trying to comile is the same as the
macro, which I have sent with my other mail, where I have problems
with the constructor.

Best regards
Christian



Fons Rademakers wrote:

> Hi Christrian,
> 
>  use the same compile and link commands as are used in the test/Makefile
> or test/RootShower/Makefile.
> 
> Cheers, Fons.
> 
> 
> On Sat, Feb 15, 2003 at 11:22:26PM +0100, cstrato wrote:
> 
>>Dear Rooters
>>
>>I am trying to compile my GUI test application.
>>Compilation is ok without errors, but when I run the
>>application I get always:
>>
>>[localhost:~/ROOT/rootcode/xgui] cc% make -f Makefile4MyApp
>>c++ -O -pipe -Wall -I/Users/cc/ROOT/root/include -c MyGui.cxx
>>Generating dictionary MyGuiDict.cxx...
>>c++ -O -pipe -Wall -I/Users/cc/ROOT/root/include -c MyGuiDict.cxx
>>c++ -O -Xlinker -bind_at_load -flat_namespace -o MyApp MyGui.o 
>>MyGuiDict.o -L. -L/Users/cc/ROOT/root/lib -lCore -lCint -lHist -lGraf 
>>-lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm 
>>-L/sw/lib -ldl
>>MyApp done
>>[localhost:~/ROOT/rootcode/xgui] cc% ./MyApp
>>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
>>Warning in <TClassTable::Add>: class TGButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGTextButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGPictureButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGCheckButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGRadioButton allready in TClassTable
>>Warning in <TClassTable::Add>: class TGButtonGroup allready in TClassTable
>>Warning in <TClassTable::Add>: class TGHButtonGroup allready in TClassTable
>>Warning in <TClassTable::Add>: class TGVButtonGroup allready in TClassTable
>>etc......
>>etc......
>>Warning in <TClassTable::Add>: class TGSearchType allready in TClassTable
>>Warning in <TClassTable::Add>: class TGFileInfo allready in TClassTable
>>
>>  *** Break *** bus error
>>Abort
>>[localhost:~/ROOT/rootcode/xgui] cc%
>>
>>Do you know what could be the reason for this error?
>>
>>I am using root 3.05/02 on MacOS X 10.1.2
>>
>>Thank you in advance.
>>
>>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