Building gRPC with emcc is not officially supported at this time. If this is important to you, we welcome your contributions to gRPC.
On Thursday, June 13, 2024 at 3:50:22 AM UTC-7 revathi anbumalar wrote: > Getting few errors like below for the sample when compiling using emcc > > 453 | #error "Could not auto-detect platform" > 543 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, > GPR_WINDOWS_ATOMIC > 547 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 > 553 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, > GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM > 81 | #error could not determine platform for atm > codegen/atm.h:91:53: error: unknown type name 'gpr_atm' > 91 | gpr_atm min, gpr_atm max); > > > > On Wednesday, June 12, 2024 at 3:07:30 AM UTC+5:30 Eugene Ostroukhov wrote: > >> Please provide the error message. I am not sure if this was attempted >> before (or what you are trying to achieve)... >> >> On Monday, June 10, 2024 at 8:25:27 PM UTC-7 revathi anbumalar wrote: >> >>> I have a sample c++ grpc server application which works fine. Now I am >>> trying to compile it using Wasi (emcc) I am getting compilation error in >>> protobuf. Can any one help on this? >> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3689eb04-1048-499e-a245-b885e35bc2bbn%40googlegroups.com.
