Comment #6 on issue 357 by [email protected]: error messages while
compiling a c++ program that uses .proto file.
http://code.google.com/p/protobuf/issues/detail?id=357
Hi,
Thanks a lot for your help. I was trying out a very simple example in which
I am trying to set and retrieve a variable in a message.
I get the following error.
$ g++ simpleprog.cpp
/tmp/cc7ulNxs.o: In function `main':
simpleprog.cpp:(.text+0x1d): undefined reference to `num::num()'
collect2: ld returned 1 exit status
I am attaching my files.
Maybe something is wrong with my c++ coding. I apologize for these
clarifications that might seem basic. Can you please help me out.
Attachments:
simpleprog.proto 44 bytes
simpleprog.pb.h 4.3 KB
simpleprog.pb.cc.txt 8.6 KB
simpleprog.cpp 223 bytes
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
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.