Skip to content

grpc-tools: Build Windows binaries in Release configuration - #3136

Merged
murgatroid99 merged 1 commit into
grpc:masterfrom
mardukbp:fix/protoc-debug-dlls
Dec 1, 2026
Merged

murgatroid99 merged 1 commit into
grpc:masterfrom
mardukbp:fix/protoc-debug-dlls

Conversation

@mardukbp

Copy link
Copy Markdown
Contributor

The Windows protoc.exe and grpc_node_plugin.exe are currently built in
the default Debug configuration and linked against the debug C++
runtime DLLs (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll,
ucrtbased.dll), which are only installed with Visual Studio. Thus the
binaries fail to start on Windows machines without Visual Studio.

Now the binaries are built with --config Release.

This PR fixes #2361. Claude analyzed the problem and wrote the fix. I executed the build workflow in my fork, downloaded the artifact and tested that the binaries can be executed without Visual Studio.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: mardukbp / name: Marduk Bolanos (691892a)

The Windows protoc.exe and grpc_node_plugin.exe are currently built in
the default Debug configuration and linked against the debug C++
runtime DLLs (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll,
ucrtbased.dll), which are only installed with Visual Studio. Thus the
binaries fail to start on Windows machines without Visual Studio.

Now the binaries are built with --config Release.

Fixes grpc#2361

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mardukbp
mardukbp force-pushed the fix/protoc-debug-dlls branch from 165c4bd to 691892a Compare November 27, 2026 09:41
@murgatroid99
murgatroid99 merged commit e2be5a3 into grpc:master Dec 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiled protoc.exe depends on debug DLL

2 participants