C++ compiler for ver 7.1

  • Thread starter Thread starter Hayato Iriumi
  • Start date Start date
H

Hayato Iriumi

I looked into CLR path, but couldn't find a compiler for C++ that comes with
VS .NET 2003... I mean, C#, J#, VB .NET and even JScript compilers are in
that folder. Why not C++?
 
Hayato said:
I looked into CLR path, but couldn't find a compiler for C++ that
comes with VS .NET 2003... I mean, C#, J#, VB .NET and even JScript
compilers are in that folder. Why not C++?

Because it's in a different path? Seriously - why do you care?

-cd
 
My way of asking question was wrong... Sorry about that.

I meant I couldn't find a compiler for C++. I really don't care where it's
located at, but I want to compile C++ file using a command line instead of
from VS .NET. Could you tell me how to do it?
 
Hayato Iriumi said:
My way of asking question was wrong... Sorry about that.

I meant I couldn't find a compiler for C++. I really don't care where it's
located at, but I want to compile C++ file using a command line instead of
from VS .NET. Could you tell me how to do it?


C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe




However you must set the environment variables through a batch file or
something first.






Ioannis Vranos
 
Yeah, that's what I thought... Well, I ran cl.exe /? from command line and I
got this error saying that it couldn't find mspdb71.dll. So I searched for
mspdb71.dll on my local drive and copied it to the directory where cl.exe is
located. It seems to work now... I never deleted mspdb71.dll before...
Weird, but anyway, it seems to be working. Thanks!

P.S.
Whenever I try to learn new language, I try to do command line tutorial. It
makes me understand the language better. ;-)
 
Hayato said:
Yeah, that's what I thought... Well, I ran cl.exe /? from command
line and I got this error saying that it couldn't find mspdb71.dll.

run vcvars32.bat before trying to call cl.exe : it puts all the necessary
environnement in place.

Arnaud
MVP - VC
 
In the start menu of windows,

under vs 2003 -> tools you'll find the 2003 command line.
this starts your cmd and automatically registers the environment variables.
this will help you with "missing files"
 
Back
Top