I added the bin
directory of the VS2010 (not SP1) C++ compiler to my PATH
variable on Windows XP. When i try to run it, it tells me that a DLL was not found.
I added this line to my PATH
:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;
Update: it still fails when I cd
to the bin directory above, and then run the compiler
Can you help me out?
Run the VS command prompt shortcut or the batch file it points to, such as:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
to set up an appropriate environment including the path.
By the way, mspdb100.dll
lives in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
. But run the shortcut/batch file anyway - it does more than set up the correct path.