Compilation fail with MSVC2010
well, tried to compile Qt 4.7.2 from sources with jom and got this error after some time:
How do I fix it?
Looks like it’s linked to pdb file being locked, which sometimes happen with more than one instance of Visual trying to access the same pdb file.
=> running with -j1 will most probably solve the issue (or better, try to understand synchronisation point in your makefile, which can happen to be tricky)
Have you tried it without jom?
// i have built 4.7.2 two times and it didn’t failed, and previous versions many times without any fails
// for me default options on configure are enough, and then i use nmake sub-scr (builds the framework) then nmake sub-tools (builds Creator and rest of the tools) and then nmake clean (reduces the folder size for ~4.5 GB to ~1.5)
//of course every command is launched from the VS cmd ;)
I don’t know what jom does, but on my system nmake uses both cores, and on top of that the processor is not the determinant factor in building large frameworks, but the HDD.