Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

gRPC C++ Hello World Example

You can find a complete set of instructions for building gRPC and running the Hello World app in the C++ Quick Start.

Build Instructions

mkdir -p cmake/build
pushd cmake/build
cmake -DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR ../..
make -j 4

Try it!

Run the example from the build directory (cmake/build):

Run the server:

./greeter_server
Server listening on 0.0.0.0:50051

From a different terminal, run the client and see the client output:

./greeter_client
Greeter received: Hello world