I am using the latest version as of the 10th of September, 2023. I am using 
gRPC for C++ on linux.
PACKAGE VERSION 1.59.0-dev CORE VERSION 35.0.0 

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:
find_package(gRPC CONFIG REQUIRED) message(STATUS "Using gRPC 
${gRPC_VERSION}") 

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 

But while trying to build the project which I am trying to setup (the 
corresponding CMakeLists.txt file 
<https://github.com/utcs-scea/DGSF-AvA/blob/d986b63b1a9356830a25b934dbe95bb59c7e4b86/worker/serverless_gpu/CMakeLists.txt#L16>),
 
I get the following error:
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 

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.
​

-- 
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 on the web visit 
https://groups.google.com/d/msgid/grpc-io/b85c3850-a25b-4492-9f5b-9ec534b44d20n%40googlegroups.com.

Reply via email to