I successfully followed this tutorial on Linux: https://grpc.io/docs/quickstart/cpp/
( gRPC version: v1.28.1 )
Then I changed the helloworld.proto file and regenerated the grpc.pb.cc, pb.cc, grpc.pb.h, pb.h files.
Then I copied those files to a Windows 10 machine with Visual Studio 2017.
I used vcpkg to install grpc. (Holy cow, this step took 45 minutes... )
I started a new console project and added the helloworld example code.
The project magically seems to find the grpc include files.
But the IDE has 175 errors when I try to compile the project with the majority being E0145.
For example:
E0145 Member "google::protobuf::Any::kIndexInFileMessages" may not be initialized.
I tried turning off precompiled headers. But to no avail.
Does anyone have an idea how I can get this running ?