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 .
加载中,请稍候......