what does "building static library" mean when installing gRPC?

33 views
Skip to first unread message

Stéphane Charette

unread,
Nov 27, 2019, 4:11:12 PM11/27/19
to grpc.io
(Windows 10, Visual Studio 2019.)

When installing gRPC via vcpkg.exe, I see the following message:

vcpkg.exe install grpc:x64-windows
...
Starting package 6/6: grpc:x64-windows
Building package grpc[core]:x64-windows...
-- Note: grpc only supports static library linkage. Building static library.

Does this mean that gRPC is always built with the static /MT flag?  If not, what exactly does this message mean so I can have a better understanding of the implications.

I'm seeing segfaults and memory corruption in my app as soon as I try to make gRPC calls, so I'm chasing down a bunch of ideas.  The other libs and the rest of the application is built with /MD, so I cannot link to a library built with /MT.

Stéphane Charette

Jan Tattermusch

unread,
Dec 5, 2019, 3:48:20 AM12/5/19
to grpc.io
Reply all
Reply to author
Forward
0 new messages