[Solved] fatal error: cannot open program database



  • When I try to build Qt 4.7.1 for Windows x86 platforms, I regularly encouter the following build error:

    @animation\qpauseanimation.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qparallelanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qsequentialanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qvariantanimation.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    NMAKE : fatal error U1077: 'X:\Tools\i686-pc-windows-msvc2008\bin\cl.EXE': return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'X:\Tools\i686-pc-windows-msvc2008\bin\nmake.exe' : return code '0x2'
    Stop.@

    For some reason, this only happens with builds for Windows x86 platforms: builds for Windows x64 platforms do not encounter this error. I have almost exausted all possible causes for the problem. Any suggestions?



  • Note, a build of Qt 4.7.0 in the same build environment with the same configuration options does not encounter this error. Something changed in Qt 4.7.1 that causes this.



  • Some time ago I faced the same problem in the custom application (not during Qt build). Manual cleaning of all projects (removing of all temporary files and vc90.pdb) helped me.

    What is drive x:? Is it network drive or just "subst"? Try to compile on local drive.

    Also Google says that it may be locale problem. Try to set "en" on you computer just for compilation.



  • [quote author="blex" date="1291184053"]Some time ago I faced the same problem in the custom application (not during Qt build). Manual cleaning of all projects (removing of all temporary files and vc90.pdb) helped me. What is drive x:? Is it network drive or just "subst"? Try to compile on local drive. Also Google says that it may be locale problem. Try to set "en" on you computer just for compilation. [/quote]

    The Qt build directory was cleaned of all non-essential and intermediate build products. The drive is a local drive but it is shared and mapped. I'll try building on an unshared, unmapped drive. I'm not sure how you would set the locale for a Qt build on Windows platforms.



  • Well blex, you were not right but you led me to the answer. It wasn't the drive letter but the VS2008 install. I have been using a non-standard install of VS2008 to compile Qt but it no longer builds Qt 4.7.1 for x86 targets. A standard VS2008 install works fine.


Log in to reply
 

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