Hi,
I have newly installed visual c++ 2010 express edition.I am trying to compile C++ program from command prompt using cl.But it is showing that "This program can't start because mspdb100.dll is not installed".
Thanks,
Arka
Hi,
I have newly installed visual c++ 2010 express edition.I am trying to compile C++ program from command prompt using cl.But it is showing that "This program can't start because mspdb100.dll is not installed".
Thanks,
Arka
You probably don't have that dll in the path.
The easiest solution is to run vsvars32.bat (or possibly vcvars32.bat, can't remember what it's called in Express) and it sets up the shell environment for you.
I don't have 2010 installed, but if it's the same as 2008 you'll need to use:
Start->All Programs->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio 2010 Command Prompt
You can't just cd to the directory containing the compiler and try to run it because the required environment variables aren't setup. You can copy that shortcut to your desktop so you don't have to keep going through the start menu, or manually create a shortcut with a target of:
%comspec% /k "C:\Path\To\Microsoft Visual Studio 10\VC\vcvarsall.bat" x86