Hi all,

first off, apologies if this is not the right group for my query.
(Maybe someone can direct me to the proper group.)

I have a very puzzling problem with a large project I am building.
The
project builds fine in Visual Studio 8 and 9, but when I use vcbuild
at the command line, the linker complains about missing routines.
(I thought this was impossible.) This occurs in only one of the
projects.

I played with this for a week now, and I am getting nowhere. Now I
have an even more
perplexing problem. The project leader wants to use the command

vcbuild /u

This creates a problem in *every* project, with the linker
complaining

=FF_/
LIB : fatal error LNK1181: cannot open input file "=FF_/"

The input file is rendered as "~_/" when I open the log file
in wordpad and as "=FF=FE/" in buildLog.html. I am quite certain
that these characters do not appear in my environment variables,
or anywhere in the vcproj files. What is worse, these symptoms
only show up when I use vcbuild at the command prompt.
I can build the projects just fine inside of Visual Studio.

What am I missing? Is there anything else I could be trying?

Thanks a million.

gus gassmann

Re: vcbuild vs. Visual Studio by Hendrik

Hendrik
Tue Jul 22 09:54:04 CDT 2008

Horand.Gassmann@googlemail.com wrote:
> [...]
> The input file is rendered as "~_/" when I open the log file
> in wordpad and as "ÿþ/" in buildLog.html. I am quite certain
> that these characters do not appear in my environment variables,
> or anywhere in the vcproj files. What is worse, these symptoms
> only show up when I use vcbuild at the command prompt.
> I can build the projects just fine inside of Visual Studio.
>
> What am I missing? Is there anything else I could be trying?

I don't know what's wrong, but the above strongly smells
like you have UTF-8 somewhere where vcbuild doesn't expect
it. Have you had a look for this?

> Thanks a million.
>
> gus gassmann

HTH,

Schobi

Re: vcbuild vs. Visual Studio by Horand

Horand
Tue Jul 22 10:46:55 CDT 2008

On Jul 22, 11:54=A0am, Hendrik Schober <Spamt...@gmx.de> wrote:
> Horand.Gassm...@googlemail.com wrote:
> > [...]
> > The input file is rendered as "~_/" when I open the log file
> > in wordpad and as "=FF=FE/" in buildLog.html. I am quite certain
> > that these characters do not appear in my environment variables,
> > or anywhere in the vcproj files. What is worse, these symptoms
> > only show up when I use vcbuild at the command prompt.
> > I can build the projects just fine inside of Visual Studio.
>
> > What am I missing? Is there anything else I could be trying?
>
> =A0 I don't know what's wrong, but the above strongly smells
> =A0 like you have UTF-8 somewhere where vcbuild doesn't expect
> =A0 it. Have you had a look for this?

I looked, and I am sure that I can't find it. What exactly does the
switch /u do? I gather from the Microsoft web site that it is short
for /useenv, which somehow accesses the environment variables. Can I
infer from the fact that I have trouble with the /u switch that the
environment variables have garbage in them --- somewhere, or is that
not a valid inference?

Re: vcbuild vs. Visual Studio by Horand

Horand
Tue Jul 22 10:58:07 CDT 2008

On Jul 22, 12:46=A0pm, Horand.Gassm...@googlemail.com wrote:

> I looked, and I am sure that I can't find it. What exactly does the
> switch /u do? I gather from the Microsoft web site that it is short
> for /useenv, which somehow accesses the environment variables. Can I
> infer from the fact that I have trouble with the /u switch that the
> environment variables have garbage in them --- somewhere, or is that
> not a valid inference?

Here is a related question: I found the switch /logcommands, which
produces the command lines used by vcbuild. Unfortunately it seems
that all the switches, which I am really interested in, are kept in
temporary files such as RSP0000053424500.rsp. These files are deleted
before the program ends. Is there a way to keep the files around to
inspect them?