Make a .so file from the client.cpp file
Opened this issue · 0 comments
iameijaz commented
I am getting this error when trying to make a shared library file from that cpp file
This is the command I am trying:
g++ -fPIC -shared -o libmylib.so main.cpp
main.cpp:1:10: fatal error: myproto/stream.grpc.pb.h: No such file or directory
1 | #include <myproto/stream.grpc.pb.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~