error C2859 the precompiled header

 

 error C2859: XXX/debug/vc90.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.

 

error C2859:  XXX/debug/vc90.idb is not the idb file that was used when this precompiled header was created, recreate the precompiled header.

 

 

解决办法:

大概意思就是预编译头问题. 尝试着改名等,都不能完全解决, 干脆在Configuration Properties | C/C++  | Output Files里的Program Database File Name改为$(IntDir)/$(ProjectName).pdb, 也就是让 静态库pdb不是默认的vc90.pdb,而是跟随项目名称,瞬间, 问题解决,不会反复出现重编译问题.

http://www.cppblog.com/sunicdavy/archive/2010/05/21/116037.aspx?opt=admin

你可能感兴趣的:(error C2859 the precompiled header)