Hi Christian, remove the TROOT(...) line from MiniGui.cxx and it will work (tested it on my MacOS X 2.4.5). Note that the TROOT singleton will be automatically created as soon as the ROOT libCore is being loaded. Cheers, Fons. On Sat, 2003-05-10 at 00:01, cstrato wrote: > Dear MacRooters > > On MacOS X 10.2.4 I am unable to run a compiled GUI application, when > using ROOT 3.05/04, while everything works fine with version 3.05/02. > > Enclosed I have added the code for a very simple GUI application, both as > macro MiniGui1.C and as code for compilation. > > Four hours ago I have downloaded the newest version of ROOT from CVS, > using cvs -z3 checkout root (in order to prevent updating version > 3.05/02). > > First, I started root (CVS 3.05/04 from 9 May 2003, 8:15 pm), and have > run the macro both as MiniGui1.C and as MiniGui1.C+. Everything is ok! > Then I have compiled the program with make -f MakeFile4MiniGui. > The program compiles without problem, but when I try to start it, I get: > *** Break *** segmentation violation > (In a former mail I have already reported the identical problem with root > CVS from 2 May 2003.) > > Then, I started root (CVS 3.05/02 from 23 Feb 2003), and tested both, > the macro and the compilation. With this version everything is ok! > My Gui application runs without any problems. > > Does anybody have an idea, why I am unable to compile my GUI > with the current ROOT version but have no problems with an older > version? > > 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:11 MET