Did you follow the quickstart guide to build and install gRPC and protocol buffers using cmake? https://grpc.io/docs/languages/cpp/quickstart/
Best, -aj On Monday, March 25, 2024 at 11:09:41 PM UTC-7 Suraj Kottayi wrote: > How do i generate code using cmake, during configuration.?? > The issue with cmake command execute_process() is that the argument > "--plugin=protoc-gen-grpc=/usr/local/grpc_cpp_plugin" > has to be absolute, trying to change it into a variable is throwing => > > : program not found or is not executable > Please specify a program using absolute path or make sure the program is > available in your PATH system variable > --grpc_out: protoc-gen-grpc: Plugin failed with status code 1 > -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/c19fd22c-5a8f-4742-9907-2ed59b704dc7n%40googlegroups.com.