加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

VS2010出现fatal error C1902: 程序数据库管理器不匹配;请检查安装

(2014-03-06 10:07:11)

VS2010出现fatal error C1902: 程序数据库管理器不匹配;请检查安装

在VS2010上配置Pcl环境,跳过CMAKE步骤,直接手动在工程中添加包含目录,库目录,链接库目录,完成后运行程序,报如题错误。

根据网上大神所述,最终将C:Program Files\Microsoft Visual Studio 10\Common7\IDE 下的mspdb100.dll和mspdbsrv.exe

拷贝到C:\Program Files\Microsoft Visual Studio 10.0\VC\bin下即可。也有说将mspdb100.dll从VC\bin下删除的,但我原本VC\bin下并没有这个dll,而不放进去它只放那个exe还是会报错,把两个都放进去就解决了。求高手详解~


后又在网上看到此解法:

Here are steps how I got it and solve:
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 8\VC\Bin". After that I had to copy some files from "C:Program Files\Microsoft Visual Studio 8\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. Now I can compile anything .

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有