MSVC 2008: LNK 4099 - qtmaind.lib (qtmain_win.obj): PDB ‘vc_ib_1.pdb’ was not found...



  • I've got problem with this error:
    @qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB ‘vc_ib_1.pdb’ was not found with ‘c:\QtSDK\Desktop\Qt\4.7.4\msvc2008\lib\qtmaind.lib’ or at ‘C:\Projects\BlahBlah\bin\debug\all\vc_ib_1.pdb’; linking object as if no debug info@

    Could you explain me, what's going on?



  • As far as I know the MSVC build does not come with the pdbs (most probably because they are humongous). If you need them you will have to compile your own; if not, just ignore the warning.



  • I don't need them...so just supress that warning as Microsoft says on MSDN ?... I hope, it'll work...

    Well, MSDN says: You could also compile with /Z7, so the pdb doesn't need to be used, or remove the /DEBUG linker option if you do not have .pdb files for the objects you are linking.
    @http://msdn.microsoft.com/en-us/library/b7whw3f3(VS.80).aspx@

    It means that I have to add /Z7 option or remove /DEBUG parameter...

    But 4.7.3 don't do that...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.