Dan
unread,May 25, 2012, 2:41:08 PM5/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prot...@googlegroups.com
Perhaps I am just missing something, however I am getting a compiler error that appears to be an issue with descriptor.pb.h.
The error is this: "protobuf_AddDesc_descriptor_2eproto is not a member of google::protobuf", called from "void MyPackageName::protobuf_AddDesc_MyMessage_2eproto()".
Basically, MyMessage looks like this:
package MyPackageName;
import "descriptor.proto";
option optimize_for = SPEED;
message MyMessage
{
optional google.protobuf.FileDescriptorSet proto_set = 1;
}
Looking at the effect of other "import" statements I have made, it looks like the method should have been defined in descriptor.pb.h. It is not, and it does not appear that I should try to compile descriptor.proto myself.
I am using version 2.4.1 of the protobuf library, and as you've probably guessed, trying to compile C++.
Any ideas on how to fix this?
thanks in advance,
Dan