MS C++ 2010 and mspdb100.dll

前端 未结 8 598
庸人自扰
庸人自扰 2020-12-13 01:31

Microsoft\'s C++ compiler and linker seem to have an odd relationship with mspdb100.dll. When run from the IDE, of course, the compiler and linker work fine. Wh

8条回答
  •  鱼传尺愫
    2020-12-13 02:10

    try running path\to\VC\bin\vcvars32.bat from within your current shell first. This should ensure your command-line setup will match the IDE-setup.

    This is not a permanent fix -- you need to do it every time you launch a new shell.

    You could probably also find some way to add everything that's in that .bat permanently to the environment variables, but.... like you asked, why the heck doesn't the MS install do that already?

提交回复
热议问题