[Rd] How do I set a compile flag _WIN32_WINNT=0x600 in Makevars.Win

Witold E Wolski wewol@ki @ending from gm@il@com
Tue Oct 2 23:01:31 CEST 2018

Sorry for bothering you

I am trying to build the R grpc package on windows:

against an MSYS2 build of grpc.

when running devtools::install() I am getting the following error:

error: #error "Please compile grpc with _WIN32_WINNT of at least 0x600
(aka Windows Vista)"
 #error \

Which, if I am correct asks me to set _WIN32_WINNT=0x600

My Makevars.Win looks as follows:

PKG_LIBS=-LC:/msys64/mingw64/lib -lgrpc

What should I do?

Have a great day
best regards

Witold Eryk Wolski

More information about the R-devel mailing list