Re: installing root from source using visual C++

From: George Locke <georgelocke.roottalk_at_gmail.com>
Date: Tue, 7 Nov 2006 10:51:11 -0500


well,

cl.exe was couldn't find a DLL (mspdb80.dll) ; i put the path to it into PATH environmental variable and now cygwin outputs some msg with the version number, copyright info etc...

the command unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{ if (NR==1) print $8 }'
now outputs the version number of cl.exe, 14.000.5......

so this certainly was gumming up the works in a major way! thanks very much for helping to uncover this, admittedly basic, problem. hopefully next time i'll know what kinds of things to look fro and be able to fix this kind of thing on my own.

there was a missing header file which i'm adding. i'll certainly come running back if i find something else i can't fix on my own.

THANKS AGAIN!!! regards,
george

On 11/7/06, George Locke <georgelocke.roottalk_at_gmail.com> wrote:
> ---------- Forwarded message ----------
> From: George Locke <georgelocke.roottalk_at_gmail.com>
> Date: Nov 7, 2006 10:14 AM
> Subject: Re: [ROOT] installing root from source using visual C++
> To: Axel Naumann <Axel.Naumann_at_cern.ch>
>
>
> no output following "cl.exe" :( as i said which cl.exe returns the
> correct address
>
> no response to "unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{ if
> (NR==1) print $8 }'"
>
> which cut returns /usr/bin/cut
> which awk returns /usr/bin/awk
>
> i am investigating whether awk is working at all, when i
> confirm/disconfirm that a hello world program works i'll let you know.
>
> once again, thanks a lot for you help.
>
> - george
>
>
> On 11/7/06, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:
> > Hi George,
> >
> > George Locke wrote:
> > > "Also, please don't mix the
> > >> cygwin and the dos shell builds - you should probably always use the
> > >> cygwin shell for now, as it's better understood."
> > > I hope i understand you to mean that i should 'make' in cygwin not
> > > DOS, but i'll be creating a program that runs natively in windows and
> > > will make nice with msvc.
> >
> > That's correct, the aim is to call MSVC from within cygwin, to build a
> > native windows program.
> >
> > > rather then messing with making clean or distclean, i'm deleting the
> > > entire directory between builds, just to be extra sure that things are
> > > raelly clean.
> >
> > Fine.
> >
> > > typing in the command,
> > > "
> > > ( unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | \
> > > awk '{ if (NR==1) print $8 }' | \
> > > cut -d'.' -f1 )
> > > "
> > > i get no response.
> >
> > That's bad, abnd probably the reason why your build is failing. What
> > does "cl.exe" print?
> > What does "which awk" print?
> > What does
> > unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{ if (NR==1) print $8 }'
> > print?
> > And finally "which cut"?
> >
> > Cheers, Axel.
> >
>
Received on Tue Nov 07 2006 - 16:51:19 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET