You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that I have successfully installed gRPC and its required dependencies. At least, while building gRPC from its source and then trying to install it (used cmake to make and install the packages) did not find any issues or errors.
$ git clone https://github.com/grpc/grpc/
$ cd grpc
$ git submodule update --init --recursive
$ cd cmake
$ mkdir build
$ cd build
$ cmake ../..
$ make -j`nproc`
$ sudo make install
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
worker/CMakeLists.txt:17 (ExternalProject_Add)
This warning is for project developers. Use -Wno-dev to suppress it.
Using protobuf 24.2.0
CMake Error at worker/serverless_gpu/CMakeLists.txt:16 (find_package):
Found package configuration file:
/usr/local/lib/cmake/grpc/gRPCConfig.cmake
but it set gRPC_FOUND to FALSE so package "gRPC" is considered to be NOT
FOUND. Reason given by package:
The following imported targets are referenced, but are missing:
absl::any_invocable
The contents of the file /usr/local/lib/cmake/grpc/gRPCConfig.cmake
@drfloob@carlocab, Please can you help me with this issue? I don't know whether it is a bug or a problem from my end in the setup or some missing configuration (like some missing statements) in the code base I am looking into.
I am not that experienced enough to figure out the issue myself. Like where things are going wrong.
Abhishekghosh1998
changed the title
The following imported targets are referenced, but are missing: absl::any_invocable while trying to use gRPC for a projectThe following imported targets are referenced, but are missing: absl::any_invocable while trying to use gRPC for a project
Sep 10, 2023
What version of gRPC and what language are you using?
I am using the latest version as of the 10th of September, 2023. I am using gRPC for C++ on linux.
I am trying to set up the code base of a project from Github. The code base uses gRPC and
cmake
to establish the dependencies.From the CMakeLists.txt:
I think that I have successfully installed gRPC and its required dependencies. At least, while building gRPC from its source and then trying to install it (used
cmake
to make and install the packages) did not find any issues or errors.But while trying to build the project which I am trying to setup (the corresponding CMakeLists.txt file), I get the following error:
The contents of the file
/usr/local/lib/cmake/grpc/gRPCConfig.cmake
I am new to building systems that too using
cmake
. I am not very experienced. Can anyone please guide me to fix this issue?I am using Ubuntu 18.04 with 5.4.0-150-generic kernel.
The text was updated successfully, but these errors were encountered: