This is a time to use VS to do a project. In the use of the process, today encountered a problem, that is, the topic said:
Error C2471: The program database could not be updated. After a search on the Internet, two solutions were obtained, and the two schemes were as follows:(i)Error C2471: Could not update program database "C:\Documents and Settings\.......\debug\vc90.pdb"
Fatal error C1083: Could not open program database file: "C:\Documents and Settings\........\debug\vc90.pdb": No such file or directory ....
Workaround:
Modify the settings to resolve the C2471:
c\c++ | General | Debug Information Format | C7 Compatible (/z7)
c\c++ | Code Generation | Enable String Pooling | Yes (/GF)
Linker | General Debug Info | Yes (/debug)
or delete the. pdb file under the Debug folder, F5.
Original address: http://hi.baidu.com/andywangcn/blog/item/9e46b2302cc45112eac4af40.html
Two
The solution is simple: in the menu's option "Build", select: Rebuild the solution!
Original address: http://lannywyp.blog.163.com/blog/static/42503281200910394837738/
In the above two scenarios, the first I did not experiment successfully, so-called to delete the. pdb file, this should not apply to all, because in the Debug folder there is no such file, and the second method is simple and easy, as long as the regeneration of a bit, so it is recommended to use the second method. If the second method is not successful, you can try the first method.
Error C2471: Could not update program database