SORRY.
In my last message "root[].L guitest.C" should be (of cause)
root[].L guitest.C++
Regards. Valeriy
----- Original Message -----
From: "Valeriy Onuchin" <Valeri.Onoutchine@cern.ch>
To: "Olivier Stezowski" <stezow@ipnl.in2p3.fr>
Cc: <roottalk@pcroot.cern.ch>
Sent: Thursday, June 10, 2004 11:34 AM
Subject: Re: [ROOT] ACliC and ROOT4.0
> Hi Olivier,
> I can confirm Ilka's statement - I see no problem with 4.06, gcc 2.96
> You can debug what is going wrong with ACliC by
> root[]gDebug = 5
> root[].L guitest.C
>
> HTH. Regards. Valeriy
>
> > Hi Olivier,
> >
> > I downloaded the version 4.06 and switch to the gcc version 2.96
> > 20000731 (Red Hat Linux 7.3 2.96-113).
> >
> > Following exactly the steps you have noticed I do not see a problem.
> > Below is the output of my test:
> >
> > ~/root406/root/bin > root.exe
> > *******************************************
> > * *
> > * W E L C O M E to R O O T *
> > * *
> > * Version 4.00/06 4 June 2004 *
> > * *
> > * You are welcome to visit our Web site *
> > * http://root.cern.ch *
> > * *
> > *******************************************
> >
> > FreeType Engine v2.1.3 used to render TrueType fonts.
> > Compiled for linux with thread support.
> >
> > CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
> > Type ? for help. Commands must be C++ statements.
> > Enclose multiple statements between { }.
> > root [0] .L ../tutorials/guitest.C+
> > Info in <TUnixSystem::ACLiC>: creating shared library
> > /localdisk2/antcheva/root406/root/bin/./../tutorials/guitest_C.so
> > In file included from
> > /localdisk2/antcheva/root406/root/tutorials/file5ZigBR.h:29,
> > from
> > /localdisk2/antcheva/root406/root/bin/./../tutorials/file5ZigBR.cxx:13:
> > /localdisk2/antcheva/root406/root/bin/./../tutorials/guitest.C: In
> > method `void TestSliders::DoText
> > (const char *)':
> > /localdisk2/antcheva/root406/root/bin/./../tutorials/guitest.C:1624:
> > warning: unused parameter `const
> > char *text'
> > root [1] guitest()
> > TGMainFrame: id=62914614 parent=57 x=0 y=0 w=444 h=297
> > TGMenuBar: id=62914623 parent=62914614 x=0 y=1 w=444 h=22
> > TGMenuTitle: id=62914624 parent=62914623 x=0 y=0 w=29 h=22
> > TGMenuTitle: id=62914625 parent=62914623 x=33 y=0 w=31 h=22
> > TGMenuTitle: id=62914626 parent=62914623 x=410 y=0 w=34 h=22
> > TGCanvas: id=62914627 parent=62914614 x=0 y=26 w=444 h=240
> > TGCompositeFrame: id=62914910 parent=62914614 x=0 y=269 w=444 h=28
> > TGTextButton: id=62914911 parent=62914910 x=3 y=3 w=83 h=22
> > TGTextEntry: id=62914914 parent=62914910 x=96 y=3 w=300 h=22
> > TGColorSelect: id=62914919 parent=62914910 x=400 y=3 w=43 h=21
> > TestMainFrame has been created. Welcome!
> > root [2] menu popped up
> > menu popped down
> >
> > [pcitapi38] ~/root406/root/bin > g++ -v
> > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> > gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
> >
> > Cheers, Ilka
> >
> > Olivier Stezowski wrote:
> >
> > >
> > > Hi Ilka,
> > > when I call the guitest function I have this message
> > > Error: Function guitest() is not defined in current scope
> > > FILE:(tmpfile) LINE:1
> > > It looks like rootcint doesn't know the function. Even after quiting
> > > root and load the library with
> > > gSystem->Load("guitest_C.so")
> > > it gives the same message even if the library looks correctly loaded
> > > (the command returns 0).
> > > With a library build without ACliC (ex Hello.so in test) I have no
> > > problems ...
> > >
> > > Olivier
> > >
> > > PS: my compiler is gcc2.96 ..
> > >
> > > Ilka Antcheva wrote:
> > >
> > >> Hi Olivier,
> > >>
> > >> I have seen these warnings before compiling guitest.C with ACLiC.
> > >> They do not cause a problem to run it after compilation.
> > >>
> > >> My environment is linux RH7.3 gcc 3.2.
> > >>
> > >> What did you get as message after the guitest() execution?
> > >>
> > >> Thank you, Ilka
> > >>
> > >==========================================================
> > > Olivier Stézowski
> > > Institut de Physique Nucléaire de Lyon
> > > Universite Claude Bernard - Lyon I
> > > 43, boulevard du 11 Novembre 1918
> > > F-69622 Villeurbanne Cedex
> > > FRANCE
> > >
> > > Téléphone : 04-72-43-10-58
> > > Fax : 04-72-43-14-52
> > >
> > > e-mail : stezow@ipnl.in2p3.fr
> > > web : http://lyoinfo.in2p3.fr/matnuc/accueil.html
> > >==========================================================
> > >
> > >
> > >
> >
> >
>
>
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET