error c1033: cannot open program database pdb
This error can be caused by disk error.
Are you sure your IDE has access to the place where it is trying to put the PDB file? I think in VC++ you may be able to disable it, though I have never been able to successfully disable generation of completely useless files myself.