ERROR C1189 #error: <mutex> is not supported when compiling with /clr or /clr:pure

21 views
Skip to first unread message

kimsur...@gmail.com

unread,
Apr 17, 2020, 4:52:16 AM4/17/20
to grpc.io
cpp

Using the / clr compile option results in an error.
ERROR C1189 #error:  <mutex> is not supported when compiling with /clr or /clr:pure

Christopher Warrington - MSFT

unread,
Apr 17, 2020, 8:28:01 PM4/17/20
to grpc.io
On Friday, April 17, 2020 at 1:52:16 AM UTC-7, kimsur...@gmail.com wrote:

> Using the / clr compile option results in an error.
>
> ERROR C1189 #error: <mutex> is not supported when compiling with /clr or /clr:pure

Have you looked at using the C# packages (Grpc.Core &c.) [1] from managed
C++? That may be easier to get working that getting gRPC++ building with the
/clr switch.

[1]: https://grpc.io/docs/quickstart/csharp/

--
Christopher Warrington
Microsoft Corp.
Reply all
Reply to author
Forward
0 new messages