RE: [ROOT] Problems with windows version 4.00/08

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Jul 15 2004 - 16:32:41 MEST


> Futhermore I noticed that having compiled the file under 3.10, and than 
> loading it under 4.00,

Code __compiled__ under 3.10 can not be loaded in 4.00.  The libraries
are incompatible (for example the signature of the TGenericClassInfo
construstor has changed).  When moving from 3.10 to 4.00, you have
to both regenerate the dictionary source file, recompile and re-link.

Cheers,
Philippe.

-----Original Message-----
From: Martijn Schellekens [mailto:Martijn.Schellekens@iota.u-psud.fr]
Sent: Thursday, July 15, 2004 9:11 AM
To: Philippe Canal; roottalk@cern.ch
Subject: RE: [ROOT] Problems with windows version 4.00/08


Hi Philippe,

I ckecked it again with both the gdk and the win32 version of 4.00/08. My 
include paths seem in order.
My operation of permutation between the 3.10 and the 4.00 version indeed 
simply consist of replacing the "root" file tree. Both installations are 
standard, so there should be no difference.
Futhermore I noticed that having compiled the file under 3.10, and than 
loading it under 4.00, i get this popup box tellling me root hang with a 
TGenericClassInfo bad reference problem.
gDebug=6 doesnt seem to give aditionnal usefull information (it returns the 
same under both versions).

Please tell me what I could do to get more usefull debugging information,

Thanks and cheers,

Martijn

PS: in both the gdk as the win32 version, "-I/home/brun/root[gdk or 
win32]/root/include" is by default appended to the include path. Is this on 
purpose?


At 10:54 13/07/2004 -0500, Philippe Canal wrote:
>Hi,
>
>I can not reproduce this problem.
>
>However it sounds like a version mismatch between the rootcint.exe available
>on the PATH and the header files.
>
>Cheers,
>Philippe.
>
>-----Original Message-----
>From: owner-roottalk@pcroot.cern.ch
>[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Martijn Schellekens
>Sent: Tuesday, July 13, 2004 7:22 AM
>To: roottalk@cern.ch
>Subject: [ROOT] Problems with windows version 4.00/08
>
>
>Dear Rooters,
>
>I just tried the new Root version 4.00/08
>the compilation of any such simple script as the following fails:
>
>file: Myclass.C
>--------------------------------------
>#include "TQObject.h"
>
>class Myclass {
>};
>--------------------------------------
>Sending the message:
>
>Info in <TWinNTSystem::ACLiC>: creating shared library
>c:\Root\macros\Myclass_C.dll
>s16o.1_cint.cxx
>s16o.3_cint.cxx
>s16o.5_cint.cxx
>s16o.7_cint.cxx
>s17o_1k.cxx
>c:\Root\macros\s17o_1k.cxx(49) : error C2661:
>'TGenericClassInfo::TGenericClassInfo' : no overloaded function take
>s 9 parameters
>Error in <ACLiC>: Compilation failed!
>
>Furthermore, always with the TClass generator, a little more complicated
>class returned the herefore (3.00/10) unseen message
>
>scg_9.cxx
>c:\Root\Msrc\scg_9.cxx(49) : error C2661:
>'TGenericClassInfo::TGenericClassInfo' : no overloaded function takes 9
>parameters
>c:\Root\Msrc\scg_9.cxx(205) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(208) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(213) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(215) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(217) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(219) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(221) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>c:\Root\Msrc\scg_9.cxx(223) : error C2039: 'SetStreamer' : is not a member
>of 'TClass'
>          C:\Program_Files\ROOT/include\TClass.h(51) : see declaration of
>'TClass'
>
>Similar compilations under the linux 4.00/06 had not shown such behaviors.
>WinNT version between 3.00/10 and 4.00/08 have not been tested.
>Windows used is 2000 with the VC6 compiler.
>
>Thanks a lot,
>
>Martijn Schellekens



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