1. I like to compile some sources from the command prompt, so I added to the PATH environment variable - "C:/Program Files/Microsoft Visual Studio 9/VC/bin/ ". After that I had to copy some files from "C:/Program Files/Microsoft Visual Studio 9/Common7/IDE/ " to get cl.exe working (one of files was mspdb80.dll).
2. Some time later I tryed to compile a project from MSDev and got C1902 error.
3. With MSDN search I got to this place to see Jonathan Caves 's helpful message about mspdbsrv.exe.
4. I just copied that EXE to /VC/bin/ and everithing becomes Ok.
5. U need a mspdbcore.dll too,and you have to delete mspdb.dll,if you have one.
6. Now I can compile anything from both MSDev and C:/ :).
PS. If you want use cmake , you have to copy mspdb.dll to the "C:/Program Files/Microsoft Visual Studio 9/VC/bin/ "