Yes, it was answered.

On Wednesday, September 13, 2023 at 11:23:34 PM UTC+5:30 AJ Heller wrote:

> I believe this was answered in https://github.com/grpc/grpc/issues/34299
>
> On Monday, September 11, 2023 at 2:29:30 AM UTC-7 Abhishek Ghosh wrote:
>
>> The contents of the file /usr/local/lib/cmake/grpc/gRPCConfig.cmake
>> # Module path list(APPEND CMAKE_MODULE_PATH 
>> ${CMAKE_CURRENT_LIST_DIR}/modules) 
>> # Depend packages if(NOT TARGET absl::strings) find_package(absl CONFIG) 
>> endif() # Targets include(${CMAKE_CURRENT_LIST_DIR}/gRPCTargets.cmake) 
>> if(NOT 
>> CMAKE_CROSSCOMPILING) 
>> include(${CMAKE_CURRENT_LIST_DIR}/gRPCPluginTargets.cmake) 
>> endif() 
>> ​
>> On Monday, September 11, 2023 at 2:53:30 PM UTC+5:30 Abhishek Ghosh wrote:
>>
>>> 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/5caf580e-4890-40dd-9d3d-58da9bd73c1bn%40googlegroups.com.

Reply via email to