Visual Studio C ++编译器 [英] Visual studio C++ compiler

查看:97
本文介绍了Visual Studio C ++编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过命令调用Visual Studio C ++编译器

line?

欢迎任何建议。

解决方案

-----原帖-----
Arnd Boettcher写道:

怎么能我通过
命令行调用Visual Studio C ++编译器?


但是你必须设置环境

\Programme \ Microsoft Visual Studio .NET(2003)\ Vc7



\bin\vcvars32.bat
-
问候
Jochen
您是否需要内存泄漏查找器?
http://www.codeproject.com/useritems/leakfinder.asp



非常感谢。

不幸的是,没有这样的bat文件

C:\Programme \ Microsoft Visual Studio .NET 2003 \Vc7 \bin ....

我现在能做什么?我要重新安装框架和sdk吗?

干杯

Arnd


查看C:\Program Files \ Microsoft Visual Studio .NET

2003 \Common7 \ Thools文件夹中名为vsvars32.bat的文件


-

问候,

Nish [VC ++ MVP]


" Arnd Boettcher" <再****** @ hotmail.com>在留言中写道

news:07 **************************** @ phx.gbl ... < blockquote class =post_quotes>

-----原始消息-----
Arnd Boettcher写道:

我怎么能通过命令行调用Visual Studio C ++编译器?




但是你需要设置环境

\ Programme\Microsoft Visual Studio .NET(2003)\ Vc7


\bin\vcvars32.bat


-
问候< jochen

你需要一个内存泄漏查找器吗?
http://www.codeproject.com/useritems/leakfinder.asp


非常感谢。
不幸的是,在C中没有这样的蝙蝠文件:\ Programme \ Microsoft Visual Studio .NET 2003 \Vc7 \ bin ....
我现在能做什么?我要重新安装框架和sdk吗?
干杯
Arnd



-----原始消息-----

-----原始消息-----
查看C:\Program Files \ MicrosoftMicrosoft Visual


Studio .NET

2003 \Common7 \Tools文件夹中名为vsvars32.bat的文件

-
问候,


谢谢。这很奇怪,但确实如此:在整个硬盘上都没有vcvars32.bat和vsvars32.bat。我已经重新安装了框架和sdk,但这并没有改变什么。采用完整路径C:\Programme \ Microsoft
Visual Studio.NET \Vc7 \bin\cl.exe"导致错误
消息,文件mspdb71.dll无法找到,但此
文件存在..
干杯
Arnd



在此期间,我已将mspdb71.dll的副本添加到

文件夹中C:\Programme \ Microsoft \\
>
Visual Studio.NET \ Vc7 \ bin和这解决了上面描述的问题

。主要问题仍未解决,

然而。

Arnd


How can I invoke the Visual studio C++ compiler by command
line?
Any advices are welcome.

解决方案

-----Original Message-----
Arnd Boettcher wrote:

How can I invoke the Visual studio C++ compiler by command line?
cl

But you have to set up the environment with

\Programme\Microsoft Visual Studio .NET (2003)\Vc7


\bin\vcvars32.bat
--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/useritems/leakfinder.asp
.


Thank you very much.
Unfortunately, there''s no such bat-file in
C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin....
What can I do now? Shall I reinstall the framework and sdk?
Cheers
Arnd


Look inside the C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools folder for a file called vsvars32.bat

--
Regards,
Nish [VC++ MVP]

"Arnd Boettcher" <re******@hotmail.com> wrote in message
news:07****************************@phx.gbl...

-----Original Message-----
Arnd Boettcher wrote:

How can I invoke the Visual studio C++ compiler by command line?



cl

But you have to set up the environment with

\Programme\Microsoft Visual Studio .NET (2003)\Vc7


\bin\vcvars32.bat


--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/useritems/leakfinder.asp
.


Thank you very much.
Unfortunately, there''s no such bat-file in
C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin....
What can I do now? Shall I reinstall the framework and sdk?
Cheers
Arnd



-----Original Message-----

-----Original Message-----
Look inside the C:\Program Files\Microsoft Visual


Studio .NET

2003\Common7\Tools folder for a file called vsvars32.bat

--
Regards,
Nish [VC++ MVP]


Thank you. It''s strange, but true: On the whole HDD there
are neither vcvars32.bat nor vsvars32.bat. I have
reinstalled framework and sdk but this did not change
anything. Taking the full path "C:\Programme\Microsoft
Visual Studio.NET\Vc7\bin\cl.exe" results in an error
message that the file mspdb71.dll cannot be find but this
file exists..
Cheers
Arnd


In the meantime I''ve added a copy of mspdb71.dll to the
folder C:\Programme\Microsoft
Visual Studio.NET\Vc7\bin and this resolved the issue
described above. The main problem is still unsolved,
however.
Arnd


这篇关于Visual Studio C ++编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆