RE: [ROOT] qtRoot on Mac OSX

From: Valeri Fine (fine@bnl.gov)
Date: Fri Jul 16 2004 - 19:07:10 MEST


Hi Anselmo,

> 
> Hi Anselmo,
> 
>   this will be addressed later ones we have the Qt version in the ROOT
> cvs. 

Good news: 
        I have succeeded to compile ROOT with Qt layer for 
        MAC with non-X11 version of Qt.
        I applied
        ./confgiure  macosx --build=debug --enable-qt

Bad news: 
         However I failed to create a ROOT executable yet.

  
I stuck with

g++ -g -O -bind_at_load -flat_namespace -o bin/root.exe main/src/rmain.o
-u _G__cpp_setupG__Hist -u _G__cpp_setupG__Graf1
 -u _G__cpp_setupG__G3D -u _G__cpp_setupG__GPad -u _G__cpp_setupG__Tree
-u _G__cpp_setupG__Matrix \
           -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree
-lMatrix -lRint -lm    -lpthread -ldl
ld: warning can't open dynamic library: /lib/libfreetype.dylib (checking
for undefined symbols may be affected) (No such f
ile or directory, errno = 2)
ld: Undefined symbols:
_FT_Done_Face


Since I have zero Mac expertise and lack of the permanent access to Mac
I can not go further at the moment.

Anyway if you have any advice that clarifies how things should be built
for Mac I can take it in account and correct my documentation (see:
http://root.bnl.gov )


  Thank you.

                     Valeri
> 
> Cheers, Fons.
> 
> 
> 
> On Wed, 2004-06-30 at 09:05, Anselmo Meregaglia wrote:
> > Hi,
> > I'm trying to have qtroot running on my Mac (qith native Mac OSX qt)
> > but I had several problems compiling. I have been keeping in touch
with
> > Valeri Fine who made some changes at qtroot but at the moment I'm
stuck
> > and he said you're the right ones to write to.
> > When I compile I get the following error:
> >
> > > qt/src/TGQt.cxx:66:29: TMacSystem.h: No such file or directory
> >
> > and he wrote to me :
> >
> > "I think you should ask roottalk@root.cern.ch whether
> > TMacSystem class is usable?
> >
> > It sounds like the $ROOTSYS/mac is a dead directory. It doesn't
contain
> > any "Module.mk" to build the staff.
> >
> > This means it can not be included in any ROOT build by ROOT
configure."
> >
> > Hope you can help me.
> > Thank you very much
> >
> > Bbest Regards
> >
> > 	Anselmo
> --
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET