Re: [ROOT] Unable to compile GUI application!

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sun Feb 16 2003 - 14:52:39 MET


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
> _._._._._._._._._._._._._._._._

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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