装VS2008 2010 使用cl命令遇到这个问题,下面是solution
哈哈 这些个环境问题我能轻松搞定 想当初刚工作那会类似的这些问题会把人折磨疯,并且会让丧失对it工作的热情并厌恶之
导师老师的重要性啊!!!!
Hi there,
You most likely already figured this out, but environment variables can be set by right-clicking on "my computer", then choose "properies". Select the "advanced" tab and at the bottom there will be a button for "environment variables". You will see these are divided up into "user variables" and "system variables", and in the list one should be "PATH". If you highlight that one and click edit, then you can add
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
Don't forget the semi-colon at the end if you put it first, or you can scroll through all the others and insert it at the end.
That should fix the problem.
根本解决方法是 path里面添加路径 C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE 在这里面有mspdb80.dll
上面的solution只是说明他的vs版本是8 而我安装的2008是9版本了。,