helloworld - cycle in dependency graph

292 views
Skip to first unread message

Andy

unread,
Aug 31, 2017, 4:38:02 AM8/31/17
to grpc.io
When I try compile example:
andrzej@andrzej-VirtualBox ~/code/grpc/examples $ bazel build helloworld
ERROR: /home/andrzej/.cache/bazel/_bazel_andrzej/0c0b4de746394df50e30cb311f1cb923/external/com_google_protobuf/BUILD.bazel:367:1: in cc_binary rule @com_google_protobuf//:protoc: cycle in dependency graph:

Andy

unread,
Aug 31, 2017, 8:54:48 AM8/31/17
to grpc.io
Is file grpc/tools/cmake/gRPCConfig.cmake.in but no file gRPCConfig.cmake in any directory after installation:
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make
$ sudo make install
$ sudo ldconfig

cmake . in helloworld folder give me:
Make Error at CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "gRPC" with any of
  the following names:

    gRPCConfig.cmake
    grpc-config.cmake

  Add the installation prefix of "gRPC" to CMAKE_PREFIX_PATH or set
  "gRPC_DIR" to a directory containing one of the above files.  If "gRPC"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/home/andrzej/code/grpc/examples/cpp/helloworld/CMakeFiles/CMakeOutput.log".

In log I can't see nothing about error.
Reply all
Reply to author
Forward
0 new messages