Hello,

However, I don't see any protoc generated in bin folder for protobuf. No 
protoc exe built in vcpkg folder. libprotobuf, libprotoc and other 
libraries are generated but not the exe.

Thanks,
Smita

On Monday, August 7, 2023 at 10:21:36 AM UTC-4 smita deshpande wrote:

> Hello again, 
>
> I used vcpkg and i was able to resolve this error. 
>
> Thanks,
> Smita
>
> On Friday, August 4, 2023 at 5:34:37 PM UTC-4 smita deshpande wrote:
>
>> I am getting below error if I do 
>>  cmake ./.. -DgRPC_INSTALL=ON -DCMAKE_BUILD_TYPE=Release 
>> -DgRPC_ABSL_PROVIDER=package -DgRPC_CARES_PROVIDER=package 
>> -DgRPC_RE2_PROVIDER=package -DgRPC_SSL_PROVIDER=package 
>> -DgRPC_ZLIB_PROVIDER=package[image: Picture1.png]
>>
>> Can someone help on building and running C++ on windows? 
>>
>> Thanks,
>> Smita
>>
>> On Friday, August 4, 2023 at 5:04:36 PM UTC-4 smita deshpande wrote:
>>
>>> Hi, 
>>> I am trying to write a sample C++ grpc example on Windows. 
>>> I was able to build grpc.sln in visual studio as given 
>>> https://github.com/grpc/grpc/blob/master/BUILDING.md. I can see the 
>>> grpc.lib and grpc++.lib being generated too. I can see the protoc.exe and 
>>> libprotobuf which probably I need to link too. 
>>> But I am not sure how to go about it for next step as in generate pb.cc 
>>> and pb.h files using protoc. I am following some of the links below, I have 
>>> only found people using vcpkg to generate it. I was wondering if I can 
>>> write a simple CMakelists.txt to set the paths for the variables. Below 
>>> links:
>>> https://github.com/Microsoft/vcpkg
>>> https://github.com/plasticbox/grpc-windows/tree/master
>>> https://sanoj.in/2020/05/07/working-with-grpc-in-windows.html
>>>
>>>  e.g._PROTOBUF_LIBPROTOBUF, _GRPC_CPP_PLUGIN_EXECUTABLE, _GRPC_GRPCPP. 
>>> I have not been able to carry out 
>>> cmake .. -Dgrpc_INSTALL=ON step and make install. Getting error for 
>>> nothing to make. I tried make clean and then make again and I got following 
>>> error. Where does grpc and required libraries get installed on doing make 
>>> install?
>>> [image: Picture1.png]
>>>
>>

-- 
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/5ab87ffd-751e-4127-a059-c05bf599cfb9n%40googlegroups.com.

Reply via email to