<div dir="ltr">The program database manager is a separate process VS uses to compile debug info into a PDB. The error happens when it's trying to update a PDB that was created (or last modified) by a newer version of the PDB manager.<div><br></div><div><a href="https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1902?view=msvc-160">https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1902?view=msvc-160</a><br></div><div><br></div><div>I suspect you have more than one version of VS installed.</div><div><br></div><div>I would close all instances of Visual Studio, check your environment to ensure that your build is set up to use the specific version you're expecting, and make sure there are no lingering processes running mspdbsrv.exe, and then try again. If the problem recurs after that, I'd repeat but also delete the PDB files in question and force the compiler to rebuild them from scratch.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 8, 2020 at 10:13 AM Paul C. Anagnostopoulos via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I tried my first build after switching to origin main. I did the switch by renaming my master branch and then pointing it at origin main.<br>
<br>
I just tried to build llvm-tblgen. It fails building RandomNumberGenerator.cpp.obj with "C1902: Program database manager mismatch; please check your installation" Then it hangs; Ctrl+C does nothing.<br>
<br>
I killed the window and started it up again. This time I tried a full build. It hangs building DebugCounter.cpp.obj.<br>
<br>
I'm running Visual Studio 2019 on Windows 7. Has anyone else seen this?<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>