Hello,
I have been hung up on this for a couple days now. I have tried going 
through numerous tutorials to find myself back to the same issue. Bellow is 
the error I am running into and one of the resources I was looking at. I 
have ran into the same issue using it from source.

resource
https://grpc.io/docs/languages/cpp/quickstart/

CMake Error at 
<user_desktop>/testGRPC/grpc/examples/cpp/cmake/common.cmake:100 
(find_package):
  Could not find a package configuration file provided by "Protobuf" with 
any
  of the following names:

    ProtobufConfig.cmake
    protobuf-config.cmake

  Add the installation prefix of "Protobuf" to CMAKE_PREFIX_PATH or set
  "Protobuf_DIR" to a directory containing one of the above files.  If
  "Protobuf" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:24 (include).

After looking further into it and searching for "Protobuf_DIR" it looks 
like even with this set its in the directory of the "CMAKE_BINARY_DIR" due 
to this line. What am I missing or doing incorrectly?

add_examples_build(examples "-Dprotobuf_DIR:PATH=${CMAKE_BINARY_DIR}/${
CMAKE_INSTALL_CMAKEDIR}")

I really appreciate all the help.

Kindly,
Jarvis

-- 
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 visit 
https://groups.google.com/d/msgid/grpc-io/01f5068f-f9d3-44d6-aa31-21c96fad60b7n%40googlegroups.com.

Reply via email to