I defined a message similar to the person.proto, using String variables with max size and included nanopb.proto
From that proto file I generated the C++ classes and the nanopb c and header files.
When I try to compile my C++ test program, it fails, because a header file named nanopb.pb.h was missing... So I generated the header and C++ Code from the nanopb.proto
It still doesnt work...
I'm asking myself if what I am doing is the right thing? Is it possible to communicate between the Google version and nanopb using max length? Do I need two .proto files - one describing my messages for Google version and one for nanopb?
Any hint for the right way to do this is appreciated :-)
Thanks! Tobias
cpp/nanopb.pb.cc:80:3: Fehler: »protobuf_AddDesc_descriptor_2eproto« ist kein Element von »google::protobuf«
protobuf_AddDesc_descriptor_2eproto« is not an element of »google::protobuf«
Hi,
> cpp/nanopb.pb.cc:80:3: Fehler: �protobuf_AddDesc_descriptor_2eproto� ist
> kein Element von �google::protobuf�
>
> protobuf_AddDesc_descriptor_2eproto� is not an element of �google::protobuf�