Re: ACLiC failing under windows with VC++6

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 25 Feb 2009 17:13:36 +0100


Hi,

the screen shot is missing the most important parts :-/

It looks like you use a release build of ROOT. Can you make sure that there is no msvcrtd.dll in the dependencies (i.e. in the upper left panel) of analysis_c.dll?

And can you send the output of
root [] gDebug=7
root [] .L Analysis.C+

Cheers, Axel.

Antonio Bulgheroni wrote:
> Dear Axel,
>
> it's my first time with dependecywalker! I'm attaching the output of
> this program as a text file but it was 61 MB, so not the case to send it
> all around. The print screen is for sure lighter!
>
> ROOT is the recommended installation so I don't think it is with debug
> symbol...
>
> Should I try with a debug version?
>
> cheers,
> toto
>
> --------------------------------------
> Antonio Bulgheroni, PhD
> http://unico-lab.blogspot.com
>
> “There are 10 kinds of people. Those that understand binary and those
> that don’t.”
> Sent from: Como Co Italy.
>
> On Wed, Feb 25, 2009 at 4:53 PM, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:
>
> Hi,
>
> is that a debug build of ROOT? What does the program from
> dependencywalker.com <http://dependencywalker.com> show when you let
> it loose on your ACLiC-built
> library - which libraries does it depend on (screenshot or just list
> them please)?
>
>
> Cheers, Axel.
>
> Antonio Bulgheroni wrote:
> > Dear Axel,
> >
> > sorry for bother you again, but I'm still in trouble. I've
> installed
> > the express version (latest release) and the building with ACLiC is
> > working but when ROOT is loading the just built library to the
> memory a
> > message window pops up saying:
> >
> > *Runtime Error!
> >
> > Program C:\root\bin\root.exe
> >
> > R6034
> > An application has made an attempt to load the C runtime library
> > incorrectly.
> > Please contact the application's support team for more information. *
> >
> >
> > So here am I.
> >
> > 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.”
> >
> >
> > On Tue, Feb 24, 2009 at 1:55 PM, Axel Naumann
> <Axel.Naumann_at_cern.ch> wrote:
> >
> > Hi Antonio,
> >
> > yes, it's a bit misleading, but it says that ROOT is _running_
> with
> > MSVC6. Only you can't _compile_ anything. But I agree, it's
> probably
> > time to remove MSVC6 from future download pages.
> >
> >
> > Cheers, Axel
> >
> >
> > Antonio Bulgheroni wrote:
> > > Thanks Axel, I was fooled by the ROOT download page where it is
> > written
> > > that it works with VC++6, VC++8 and VC++7.1!
> > >
> > > cheers and thanks again,
> > >
> > > toto
> > >
> > > --------------------------------------
> > > Antonio Bulgheroni, PhD
> > > http://unico-lab.blogspot.com
> > >
> > > “There are 10 kinds of people. Those that understand binary
> and those
> > > that don’t.”
> > > Sent from: Como Co Italy.
> > >
> > > On Tue, Feb 24, 2009 at 1:45 PM, Axel Naumann
> > <Axel.Naumann_at_cern.ch> wrote:
> > >
> > > Hi Antonio,
> > >
> > > we do not support the very buggy VC6 anymore (since years),
> > and not even
> > > 7.0. You will need to get at least 7.1 - or simply the
> current
> > version.
> > > The 0$ Express version is good enough.
> > >
> > > Cheers, Axel
> > >
> > >
> > >
> > > Antonio Bulgheroni wrote:
> > > > 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 Wed Feb 25 2009 - 17:14:23 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 25 2009 - 23:50:01 CET