Hi all. I've just came across GPB and I found it quite interesting.
I'm a newbie, so I went through the CPP tutorial they have given and
tried out the examples.
https://developers.google.com/protocol-buffers/docs/cpptutorial

The example basically consists of these files: addressbook.proto,
add_person.cc,  list_people.cc files which have obvious meanings
I'm able to generate addressbook.pb.cc and addressbook.pb.h files from
addressbook.proto using protoc.
But I'm unable to compile add_person.cpp. It gives many(nearly 63)
reference errors saying "unresolved external symbols".

Note: Initially it gave errors saying headers not found. I've copied
google folder which has all header files to source directory of my
compiler(Visual Studio) and those errors are solved

Hope I'll find some help here, stuck here from two days

Thanks in advance,
Neerad Kumar.G,
3rd year B.Tech,
Computer Science and Engineering,
IIT Madras.

-- 
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.

Reply via email to