catkin_grpc icon indicating copy to clipboard operation
catkin_grpc copied to clipboard

Error when using generate_proto

Open fouad1995 opened this issue 2 years ago • 1 comments

When using GRPC flag in generate proto function I faced cmake error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIBGRPCPP_CRONET And after some debugging I found that generate_proto.cmake can't find LIBGRPC_CRONET grpc_cronet library which force the flag not to set.

And this is from console log. LIBGRPC_CRONET-NOTFOUND;LIBGRPCPP_CRONET-NOTFOUND

Thanks in advance.

fouad1995 avatar Apr 05 '22 12:04 fouad1995

I had the same issue and removing the library search should to the trick. (#47)

rockenbf avatar Apr 28 '22 09:04 rockenbf

I had the same issue and removing the library search should to the trick. (#47)

you are right, thx

ShiauweiZhao avatar Mar 14 '23 03:03 ShiauweiZhao

Seems to be fixed by #47

BillWSY avatar Aug 30 '23 09:08 BillWSY