I'm trying to set up the Hg-Git Mercurial Extension, which recommends using the C compiler for Microsoft Visual C++ 2008. I've installed Visual C++ 2008, but I can't figure out where the C compiler is located so that I can add it to my path.
Windows 7 / Vista:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\cl.exe
Windows XP:
C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.exe
Currently accepted answer is incorrect in case when Program Files
directory has been moved away (i.e. is now on another drive, H:\Program Files
or H:\Program Files (x86)
), which means it is no longer available in default path (C
drive).
Visual Studio 2008
Windows XP 32-bit (x86):
%ProgramFiles%\Microsoft Visual Studio 9.0\VC\bin\cl.exe
Windows Vista 32-bit and later Windows operating systems (x86):
%ProgramFiles%\Microsoft Visual Studio 9.0\VC\bin\cl.exe
Windows XP 64-bit (x64):
%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\bin\cl.exe
Windows Vista 64-bit and later Windows operating systems (x64):
%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\bin\cl.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With