You can find a complete set of instructions for building gRPC and running the Hello World app in the C++ Quick Start.
mkdir -p cmake/build
pushd cmake/build
cmake -DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR ../..
make -j 4Run the example from the build directory (cmake/build):
Run the server:
./greeter_server
Server listening on 0.0.0.0:50051From a different terminal, run the client and see the client output:
./greeter_client
Greeter received: Hello world