[protobuf] Re: Issue 468 in protobuf: could not compiled this in the MAC os

2013-02-28 Thread protobuf
Comment #5 on issue 468 by zf5984...@gmail.com: could not compiled this in the MAC os http://code.google.com/p/protobuf/issues/detail?id=468 OS is 10.8.2 and Xcode 4.6. in this version, OS is no longer supporting gcc, while only supporting llvm compiler - - I think I need to install gcc by my

[protobuf] Re: Issue 468 in protobuf: could not compiled this in the MAC os

2013-02-28 Thread protobuf
Comment #4 on issue 468 by xiaof...@google.com: could not compiled this in the MAC os http://code.google.com/p/protobuf/issues/detail?id=468 What's your OS version and Xcode version? I am afraid that protobuf doesn't officially support compilers other than gcc. However, if it's easy enough

[protobuf] Re: Issue 468 in protobuf: could not compiled this in the MAC os

2013-02-28 Thread protobuf
Comment #3 on issue 468 by zf5984...@gmail.com: could not compiled this in the MAC os http://code.google.com/p/protobuf/issues/detail?id=468 The newest Xcode in MAC does not use gcc anymore, so if i want to build protbuf ok, I must install the gcc complier and something which are not pre-inst

[protobuf] Re: Issue 469 in protobuf: how to write/read more than one piece of message to/from a text file in c++

2013-02-28 Thread protobuf
Updates: Status: Invalid Owner: xiaof...@google.com Comment #3 on issue 469 by xiaof...@google.com: how to write/read more than one piece of message to/from a text file in c++ http://code.google.com/p/protobuf/issues/detail?id=469 You must delimiter your messages by some other

[protobuf] Re: Issue 469 in protobuf: how to write/read more than one piece of message to/from a text file in c++

2013-02-28 Thread protobuf
Comment #2 on issue 469 by wuy...@gmail.com: how to write/read more than one piece of message to/from a text file in c++ http://code.google.com/p/protobuf/issues/detail?id=469 Noting this,https://developers.google.com/protocol-buffers/docs/cpptutorial?hl=zh-CN gives a example of read/writ

[protobuf] Re: Issue 469 in protobuf: how to write/read more than one piece of message to/from a text file in c++

2013-02-28 Thread protobuf
Comment #1 on issue 469 by wuy...@gmail.com: how to write/read more than one piece of message to/from a text file in c++ http://code.google.com/p/protobuf/issues/detail?id=469 (No comment was entered for this change.) Attachments: mail.cpp 1.2 KB -- You received this message becaus

[protobuf] Issue 469 in protobuf: how to write/read more than one piece of message to/from a text file in c++

2013-02-28 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 469 by wuy...@gmail.com: how to write/read more than one piece of message to/from a text file in c++ http://code.google.com/p/protobuf/issues/detail?id=469 What steps will reproduce the problem? 1.fullfill a m

RE: [protobuf] Linker error

2013-02-28 Thread Mohammad Husain
I added that but nothing changed :( > Date: Thu, 28 Feb 2013 17:13:57 -0500 > Subject: Re: [protobuf] Linker error > From: imir...@alum.mit.edu > To: farhan1...@hotmail.com > CC: protobuf@googlegroups.com > > There's a -c missing... the line should be like > > $(CXX) $(CXXFLAGS) `pkg-config --cf

Re: [protobuf] Linker error

2013-02-28 Thread Ilia Mirkin
There's a -c missing... the line should be like $(CXX) $(CXXFLAGS) `pkg-config --cflags protobuf` -c -o $@ $^ On Thu, Feb 28, 2013 at 5:08 PM, Mohammad Husain wrote: > I tried that but unfortunately no luck yet: http://pastebin.com/Ln4AC7fH. > >> Date: Thu, 28 Feb 2013 17:00:21 -0500 > >> Subjec

RE: [protobuf] Linker error

2013-02-28 Thread Mohammad Husain
I tried that but unfortunately no luck yet: http://pastebin.com/Ln4AC7fH. > Date: Thu, 28 Feb 2013 17:00:21 -0500 > Subject: Re: [protobuf] Linker error > From: imir...@alum.mit.edu > To: farhan1...@hotmail.com > CC: protobuf@googlegroups.com > > Hmmm... I must have misremembered how Makefile stu

Re: [protobuf] Linker error

2013-02-28 Thread Ilia Mirkin
Hmmm... I must have misremembered how Makefile stuff works, my bad. Instead of $(pkg-config --cflags protobuf) try `pkg-config --cflags protobuf`. (There's some way to evaluate stuff in the Makefile directly, but apparently $() isn't it -- that's the sh way...) On Thu, Feb 28, 2013 at 4:57 PM, Moh

RE: [protobuf] Linker error

2013-02-28 Thread Mohammad Husain
I just tried your suggestion (copied the Makefile below). The errors are still there :(. I have pasted the output here: http://pastebin.com/S8K9WzK0 all: hello_protobuf # CC = g++ DEBUG = -g LIBS = `pkg-config --cflags --libs protobuf` LFLAGS = -Wall $(DEBUG) $(LIBS) protoc_middleman: user.pr

Re: [protobuf] Linker error

2013-02-28 Thread Ilia Mirkin
There are a million ways to do things with makefiles... did you try my suggestion? The example you pasted builds the binary all in one step (compile and link) and includes the protobuf cflags and ldflags as arguments to the compiler. So it works. Your makefile does not include the protobuf cflags w

RE: [protobuf] Linker error

2013-02-28 Thread Mohammad Husain
I actually had the rule but after comparing my Makefile with the one in the examples directory I removed it hoping that would fix the issue. Date: Thu, 28 Feb 2013 15:46:55 +0800 Subject: Re: [protobuf] Linker error From: xiaof...@google.com To: farhan1...@hotmail.com CC: protobuf@googlegroups.co

RE: [protobuf] Linker error

2013-02-28 Thread Mohammad Husain
Hi Ilia, Though I have CFLAGS defined in my makefile I don't think that is being used. The Makefile in the example directory (copied below) does not have either the %.o:%.cc rule or any CFLAGS or CXXFLAGS but still it can build the executable successfully using the default ones. # See README.

[protobuf] Re: Issue 468 in protobuf: could not compiled this in the MAC os

2013-02-28 Thread protobuf
Comment #1 on issue 468 by henner.z...@gmail.com: could not compiled this in the MAC os http://code.google.com/p/protobuf/issues/detail?id=468 Uhm, the error messages give it away: you don't have any version of awk installed; and no compiler. -- You received this message because this proj

[protobuf] Issue 468 in protobuf: could not compiled this in the MAC os

2013-02-28 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 468 by zf5984...@gmail.com: could not compiled this in the MAC os http://code.google.com/p/protobuf/issues/detail?id=468 hi, when I was compiling protobuf in my MAC, i found lots of errs. From the followings, I

[protobuf] How can a protofile be stored as a metadata in registries?

2013-02-28 Thread Dhivya Swaminathan
Hi, I want to know under which type of metadata(default - wsdl,xsd,endpoint,xml etc) will the proto file be stored in all the registries and repositories. Is there any metadata type specified or any alternative provided by google for this.Need a help asap. Thanks. -- You received this messag

[protobuf] How can I store the proto file in any registry/repository?

2013-02-28 Thread withGoogle
Hi, I wanted to know under which type of metadata(default - wsdl,xsd,xml,endpoint, etc..)will the protofile will be stored in any standalone governanace tool(registry/repository)? Is there any alternative provided by the Google to store such a metadata or any parsers available? Need the infor

[protobuf] Issue 467 in protobuf: options passing as argument for the protoc command

2013-02-28 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 467 by giri.gun...@gmail.com: options passing as argument for the protoc command http://code.google.com/p/protobuf/issues/detail?id=467 What steps will reproduce the problem? new ehnancment request What is th