I'm not sure how mac frameworks work, but it looks like your compiler is not linking against the protobuf library.
On Thu, Oct 16, 2008 at 9:41 AM, Carlos Gamboa <[EMAIL PROTECTED]> wrote: > > Hello. I am trying to add the protocol buffer to my application (for > iphone) and i have been struggling for about 2 days to figure out how > to do it. I am new to XCode too by the way. I tried creating a > framework like Brian Olson suggested on this post: > > http://groups.google.com/group/protobuf/browse_thread/thread/65e781a5e8d6fc06# > , but i do not know all the things i need to include this framework. > Here are the steps im following. > 1. Compile the protobuf project > 2. On my project, right click on Frameworks and click 'add->existing > frameworks' and then locate the 'macosx/build/release/ > protobuf.framework' folder. The framework is located at the documents > folder (documents/macosx) > 3. I created my .pb.h and .pb.c with the 'protoc' program and added > them to my project. > 4. I try to compile, but the following 18 errors appear like this: > "google::protobuf::UnknownFieldSet::UnknownFieldSet()", referenced > from: > myNamespace::myProto::myProto() in myProto.pb.o > ... > > I really dont care if i add it as a framework or as direct code, but i > have not been able to include the protocol buffer as part of my > project. Can anyone please help me? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to firstname.lastname@example.org 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 -~----------~----~----~----~------~----~------~--~---