all groups > visual studio .net setup > october 2005 >
You're in the

visual studio .net setup

group:

Cannot compile any cpp programs


Re: Cannot compile any cpp programs Carl Daniel [VC++ MVP]
10/31/2005 7:42:55 PM
visual studio .net setup:
[quoted text, click to view]

It sounds like your VC 7.1 installation is corrupted - you might try doing a
repair or reinstall.

-cd

Cannot compile any cpp programs Nick Z.
10/31/2005 9:42:01 PM
Whenever I try to compile a VC++ program using VS .NET 2003 I get an
error saying mspdb71.dll not found.

How can I fix this error?
PS. I ran vsvars32.bat and it did not change a thing.

Thanks,
Re: Cannot compile any cpp programs Nick Z.
10/31/2005 11:20:06 PM
Thank you for the suggestion, unfortunately I already tried reinstalling
VS .NET. This is one bizarre problem.

I really REALLY do not want to wipe the system.

Thanks,
Nick Z.

[quoted text, click to view]
Re: Cannot compile any cpp programs Takeshi SHIGIHARA
11/1/2005 12:00:00 AM
vsvars32.bat
Re: Cannot compile any cpp programs Nick Z.
11/1/2005 12:00:00 AM
Ran both, didn't work.
As far as I know the environmental variables are set successfully by
these two.

Thanks,
Nick Z.

[quoted text, click to view]
Re: Cannot compile any cpp programs Nick Z.
11/1/2005 12:00:00 AM
I should note that copying all contents of
....\Microsoft Visual Studio .NET 2003\Common7\IDE
to
....\Microsoft Visual Studio .NET 2003\Vc7\bin

"solves" the problem, I am able to compile etc.
However, this approach is not really elegant and might be causing
another problem just waiting to happen.

Thanks,
Nick Z.


[quoted text, click to view]
Re: Cannot compile any cpp programs Tom Serface
11/1/2005 7:56:59 AM
Nick,

You may have tried this as well, but you could try totally uninstalling the
program, deleting the left over folder, then reinstall from scratch. Could
be something in memory was keeping something from installing or something
like that (although I've never had a bad install so this is mostly
speculation).

Tom

[quoted text, click to view]

Re: Cannot compile any cpp programs pacemkr NO[at]SPAM gmail.com
11/1/2005 8:01:53 AM
I set the variable to ...\Microsoft Visual Studio .NET 2003\Common7\IDE
typing the following in command prompt:

set path=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE

Next I run VS .NET and the problem is still there.

Now here is something strange.
After I restart the system I check the environmental variables by
typing "set[enter]" in the command prompt and I see that the path
variable is C:\Windows\system32.

So my guess is something is wrong with how environmental variables are
treated on my system? Also, do I need to restart the computer for the
setting of variables to take effect.

Thanks,
Nick Z.

[quoted text, click to view]
Re: Cannot compile any cpp programs Willy Denoyette [MVP]
11/1/2005 12:23:42 PM
That would mean that - ...\Microsoft Visual Studio .NET 2003\Common7\IDE
is not in your "path" environment variable.

Willy.


[quoted text, click to view]

Re: Cannot compile any cpp programs Willy Denoyette [MVP]
11/1/2005 10:45:44 PM
Not sure why you mentioned vsvars32.bat, the environment set-up by this
batch file isn't used by VS.NET, you'll have to check your Executable files
settings in VS itself (Select Tools/Options and go to Projects and
Solutions - VC++ Directories - Executable files) .

Willy.


[quoted text, click to view]

Re: Cannot compile any cpp programs Nick Z.
11/2/2005 12:54:08 AM
Wow. I feel very stupid now (and I should).
I cannot believe I missed that whole settings page.
I added ...\Microsoft Visual Studio .NET 2003\Common7\IDE and of course
everything works now. Still don't know how it got deleted, but thats
another question.

As for vsvars32.bat, I googled, and apparently that solved it for people
who were having the same problem. Weird.

Thank you so much,
Nick Z.

[quoted text, click to view]
AddThis Social Bookmark Button