ZendarInc / ZendarSDK

MIT License
12 stars 6 forks source link

Cpp compilation issue #43

Open soyebn opened 2 years ago

soyebn commented 2 years ago

I am following instruction as specified at https://github.com/ZendarInc/ZendarSDK/tree/main/cpp. But I am getting the following error while executing sudo make all

I made the following change to make further progress as dpkg commands are installing proto and header files in different paths. ZENDAR_PROTO_PATH=/usr/lib/zendar #/usr/include/zendar ZENDAR_HEADER_PATH=/usr/lib/ #/usr/include/zendar

Also changed in example-simple.cc zen_proto::data::Image image; #zpb::data::Image image;

After that I got the following error, /usr/bin/ld: cannot find -lshared_protobuf Looks like shared_protobuf is not available. Should the following have installed shared_protobuf?

"dpkg -i zendar-core_0.1.2105261814~fef5729e5921c299d3788993ae699df34fdee9df_amd64.deb" "dpkg -i zendar-zenapi_0.1.2105261814~fef5729e5921c299d3788993ae699df34fdee9df_amd64.deb"

Any suggestions on how do I go about it? Appreciate any help you can provide on this.

Thanks