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

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/AcHuNhBnkzgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to