Solution to upgrade vc90.pdb file not found during compilation

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.