ACLiC failing under windows with VC++6

From: Antonio Bulgheroni <antonio.bulgheroni_at_gmail.com>
Date: Tue, 24 Feb 2009 13:34:51 +0100


Dear ROOTers,

          I usually use ROOT under Linux or Mac, so this failure under windows maybe due to my ignorance. The problem is the following:

I have a macro that perfectly compiles (.L analysis.C+) under linux and mac and I would like to port to Windows as well. On the Win computer I have installed VC++6 with also the command line utilities. But when I type .L analysis.C+ I got the following error messages that I don't know how to fix:

root [0] .L analysis.C+
Info in <TWinNTSystem::ACLiC>: creating shared library C:\Documents and Settings
\Rapsodi\Desktop\GPAAuto\analysis_C.dll
22364125_cint.cxx
analysis_C_ACLiC_dict.cxx
C:\root/include\TObjArray.h(113) : error C2039: 'ptrdiff_t' : is not a member of
 'std'
C:\root/include\TObjArray.h(114) : error C2977: 'iterator' : too many template a
rguments

        C:\Program Files\Microsoft Visual Studio\VC98\include\utility(71) : see
declaration of 'iterator'
C:\root/include\TObjArray.h(114) : error C2504: 'iterator<struct std::bidirectio
nal_iterator_tag,class TObject *,int>' : base class undefined C:\root/include\TList.h(177) : error C2039: 'ptrdiff_t' : is not a member of 'st
d'
C:\root/include\TList.h(178) : error C2977: 'iterator' : too many template argum
ents

        C:\Program Files\Microsoft Visual Studio\VC98\include\utility(71) : see
declaration of 'iterator'
C:\root/include\TList.h(178) : error C2504: 'iterator<struct std::bidirectional_
iterator_tag,class TObject *,int>' : base class undefined C:\root/include\TDatime.h(101) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(101) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(103) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(103) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(105) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(105) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(107) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(107) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(109) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(109) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(111) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TDatime.h(111) : error C2248: 'fDatime' : cannot access protecte
d member declared in class 'TDatime'

        C:\root/include\TDatime.h(43) : see declaration of 'fDatime' C:\root/include\TH1.h(385) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
Error in <ACLiC>: Compilation failed!
root [1]

ROOT Version 5.22
Windows XP with the latest service pack
VC++6 just updated.

thanks for helping,

Antonio



Antonio Bulgheroni, PhD
http://unico-lab.blogspot.com

“There are 10 kinds of people. Those that understand binary and those that don’t.” Received on Tue Feb 24 2009 - 13:34:57 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 24 2009 - 17:50:01 CET