Solution to upgrade vc90.pdb file not found during compilation
Problem description:
1> E:/vcomhw.net/vcomh/vcomhw.net2.0 1.0.25 Av/Video/videoproc. CPP: Error c2471: cannot update program database 'e:/vcomhsf-net/vcomhsf-net2.0 1.0.25 2008/vcomhsf-net2.0 1.0.25 Av/debug/vc90.pdb'
1> E:/vcomhw.net/vcomh/vcomhw.net2.0 1.0.25 Av/Video/videoproc. CPP: Fatal error c1083: cannot open program database file: 'e:/vcomhsf-net/vcomhsf-net2.0 1.0.25 2008/vcomhsf-net2.0 1.0.25 Av/debug/vc90.pdb': no such file or directory
After converting a vc6 project to a vs2008 project, the compilation always fails to be found and the vc90.pdb file cannot be upgraded. It cannot be re-compiled.
Directly jump from vc6 to vs2008
This is a famous bug in vs2008. For more information, see https://connect.microsoft.com/Vi... X? Feedbackid = 309462
The official solution is as follows:
I have found an alternate way for the time beging to avoid c2471 error but it works only in the case of successful release build.
For this click build menu than Configuration Manager than create a new setting from release settings. Change following things in your project settings:
C/C ++ | General | debug information format | C7 compatible (/z7)
C/C ++ | code generation | enable string pooling | Yes (/GF)
Linker | General debug info | Yes (/debug)
After these settings. Rebuild your application. I'm sure you will be able to resolve the PDB updation issue if it is really not hampering your other settings. Hope it will be helpful to you.