Commit 198ae53
Ship the debug protobuf DLLs the Windows build actually imports
The published Windows zip cannot start. Its exe imports libprotobufd.dll and the debug
abseil_dll.dll - objdump on the shipped binary says so - and the folder contains
libprotobuf.dll and the release abseil instead. The loader fails before main(), so there
is no window and no log: STATUS_DLL_NOT_FOUND and nothing else.
The build is `nmake debug` and defaults.pri picks the debug half of vcpkg to match the
CRT, which puts those DLLs in vcpkg's debug\bin. Deploy copied only bin. The step
immediately above it, which runs the tests, has known about debug\bin since it was
written - its comment even names the 0xC0000135 this produces - and the knowledge never
made it eight lines down.
Both halves are copied now, debug last so it wins abseil_dll.dll, the one name they
share. The release copies are dead weight rather than a hazard: nothing imports them.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent a1fcd5c commit 198ae53
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
673 | 679 | | |
| 680 | + | |
674 | 681 | | |
675 | 682 | | |
676 | 683 | | |
| |||
0 commit comments