Missing mspdb100.dll

This is a discussion on Missing mspdb100.dll within the C++ Programming forums, part of the General Programming Boards category; Hi, I have newly installed visual c++ 2010 express edition.I am trying to compile C++ program from command prompt using ...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    23

    Missing mspdb100.dll

    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

  2. #2
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    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.

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    612
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Something I'm Missing...
    By Dukefrukem in forum C Programming
    Replies: 2
    Last Post: 07-09-2008, 02:47 PM
  2. I am missing something in regards to min?
    By BSmith4740 in forum C Programming
    Replies: 5
    Last Post: 06-14-2008, 12:26 PM
  3. Am i missing something?
    By Chaplin27 in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-08-2005, 03:27 AM
  4. What am I missing?
    By eden in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2005, 01:07 PM
  5. Someone tell me what I'm missing here?
    By Furious_George in forum C++ Programming
    Replies: 7
    Last Post: 10-06-2003, 01:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21