Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Incredibuild and cmake

I'm trying to build a cmake solution using Incredibuild 5.0 on windows and get PDB management errors in a couple of projects:

Fatal error:
    Failed to notify object at 0x06C150A0, class is TWaitObjectThread_Notify
    PDB Management: Internal Error: Cannot apply file changes while file is being closed: xxxxx.pdb

I thought it might have been the order of .cpp files in the cmakefilelist, but that's not made any difference.

like image 242
Damien Ryan Avatar asked Dec 19 '22 16:12

Damien Ryan


1 Answers

There are several things that can cause this. The most popular one is that you have two different projects that are trying to access the same PDB file. The reason you are only seeing this with IncrediBuild is because with IncrediBuild many of your projects are being executed in parallel (when in standalone the projects are executed sequentially). Detect the project that fail and verify whether you have another project that executes in parallel to this one and direct it's PDB to another PDB file. If this is not the case, let me know, there are other less common scenarios.

(Disclaimer: I'm an IncrediBuild employee)

like image 73
Dori Avatar answered Dec 26 '22 12:12

Dori