[protobuf] Re: Issue 658 in protobuf: use cmake for builds
Comment #6 on issue 658 by mjkl...@gmail.com: use cmake for builds http://code.google.com/p/protobuf/issues/detail?id=658 That's a good news! I think the main pain with CMake is learning exactly how to generate non-trivial projects, but as soon as you get it (and it's getting easier with each CMake version) it will certainly help a lot with faster iterations indeed. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 658 in protobuf: use cmake for builds
Updates: Status: Accepted Owner: xiaof...@google.com Comment #5 on issue 658 by xiaof...@google.com: use cmake for builds http://code.google.com/p/protobuf/issues/detail?id=658 Hi paleozogt & mjklaim, thanks for your comments. I think you are right that cmake is a better alternative than the vc files we have and it's especially useful for build automation. We'll consider adding cmake support after we finish the current release (2.6.0) we are working on. In the future we'll make new releases more frequently so cmake may also be useful to automate our cross-platform test process. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Announcing: protoc-gen-doc - Documentation generator plugin for protoc
Hi all, Just like the topic says, I've written a plugin for protoc that generates Markdown / HTML / DocBook from comments in your .proto files. The plugin is available here: https://github.com/estan/protoc-gen-doc The plugin makes use of Mustache templates to generate its output, which means that in addition to the built-in formats, you can write your own quite easily. Apart from that, the functionality is quite simple, but good enough for my needs. The plugin respects /** */ and /// documentation comments for messages, fields, enums and enum values. See the GitHub repo for an example of what the output looks like. So please, start documenting your .proto files and send me some feedback / bug reports / patches! :) Best regards, Elvis Stansvik PS. I know about protoc-gen-docbook, but it's a) Linux-unfriendly and b) DocBook only, while I was primarily looking for Markdown. DS. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Errors when linking C++ tutorial example (Read/Write Message) in MinGwDeveloperStudio on Windows7
Did you figure this problem out? I'm having the same issue using Android Studio and trying to compile the protobuf stuff for my project. Regards, Mike On Wednesday, August 22, 2012 5:12:52 AM UTC-7, mjetuljcek wrote: > > Hi, everyone! > > I'm strugling for a cuple of days with compiling and linkig C++ tutorial > example (Read/Write Message) and getting this errors: > > Configuration: add_person - Debug > Linking... > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `main': > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:57: undefined > reference to `google::protobuf::internal::VerifyVersion(int, int, char > const*)' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:64: undefined > reference to `tutorial::AddressBook::AddressBook()' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:71: undefined > reference to `google::protobuf::Message::ParseFromIstream(std::istream*)' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:83: undefined > reference to `google::protobuf::Message::SerializeToOstream(std::ostream*) > const' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:90: undefined > reference to `google::protobuf::ShutdownProtobufLibrary()' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:64: undefined > reference to `tutorial::AddressBook::~AddressBook()' > C:\MinGWStudio\Exercises\PB_add_person\add_person.cc:64: undefined > reference to `tutorial::AddressBook::~AddressBook()' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN8tutorial18Person_PhoneNumber10set_numberERKSs': > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:418: undefined > reference to `google::protobuf::internal::kEmptyString' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN8tutorial18Person_PhoneNumber8set_typeENS_16Person_PhoneTypeE': > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to `tutorial::Person_PhoneType_IsValid(int)' > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to > `google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, > > char const*, int)' > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to `google::protobuf::internal::LogMessage::operator<<(char > const*)' > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to > `google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to `google::protobuf::internal::LogMessage::~LogMessage()' > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:473: undefined > reference to `google::protobuf::internal::LogMessage::~LogMessage()' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN8tutorial6Person12mutable_nameEv': > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:524: undefined > reference to `google::protobuf::internal::kEmptyString' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN8tutorial6Person9set_emailERKSs': > C:\MinGWStudio\Exercises\PB_add_person\Lib\addressbook.pb.h:583: undefined > reference to `google::protobuf::internal::kEmptyString' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN6google8protobuf8internal20RepeatedPtrFieldBase3AddINS0_16RepeatedPtrFieldIN8tutorial18Person_PhoneNumberEE11TypeHandlerEEEPNT_4TypeEv': > c:\mingwstudio\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\google\protobuf\repeated_field.h:675: > > undefined reference to > `google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN6google8protobuf8internal20RepeatedPtrFieldBase3AddINS0_16RepeatedPtrFieldIN8tutorial6PersonEE11TypeHandlerEEEPNT_4TypeEv': > c:\mingwstudio\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\google\protobuf\repeated_field.h:675: > > undefined reference to > `google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN6google8protobuf8internal18GenericTypeHandlerIN8tutorial18Person_PhoneNumberEE3NewEv': > c:\mingwstudio\mingw\bin\..\lib\gcc\mingw32\4.6.2\..\..\..\..\include\google\protobuf\repeated_field.h:276: > > undefined reference to `tutorial::Person_PhoneNumber::Person_PhoneNumber()' > C:\MinGWStudio\Exercises\PB_add_person\Debug\add_person.o: In function > `ZN6google8protobuf8internal18GenericTypeHandlerIN8tutorial6PersonEE3NewEv': > ()' > collect2: ld returned 1 exit status > add_person.exe - 19 error(s), 0 warning(s) > > - > I'm using MinGwDeveloperStudio 2.05, MinGw C++ compiler 4.6.2,
[protobuf] Visual Studio 2012 C++, Compiler 'fatal error C1060: compiler is out of heap space'
Hi, I generated the .h and .cc with the protoc.exe tool, when I included the pb.h in my solution it failed to compile test.pb.h(17): fatal error C1060: compiler is out of heap space I added the /Zm option (I attempted with all factors i.e /Zm2000, /Zm200, /Zm1000 etc... but the error still comes up ... Any ideas please? as I am kinda stuck, Thanks! space -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 658 in protobuf: use cmake for builds
Comment #4 on issue 658 by mjkl...@gmail.com: use cmake for builds http://code.google.com/p/protobuf/issues/detail?id=658 To complete my argument: I'm using mainly VS and it does not help to have such backward projects because each time I want to re-generate from scratch my build (for whatever reason it happen every few days or week depending on what I'm working on), I have to manually convert teh project files first. It's almost impossible to automate. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 658 in protobuf: use cmake for builds
Comment #3 on issue 658 by mjkl...@gmail.com: use cmake for builds http://code.google.com/p/protobuf/issues/detail?id=658 Dear Protobuf developers, Integrating protobuf vsprojects into a CMake based project, is a big major PITA. I have been maintaining code for years doing that and it's one of the reason I'm looking at alternatives. Not only maintenance and pull-requests will be easier to manage if there is only one source defining the targets, but it also help most C++ developers which either already use CMake or will have no trouble just generating the projects for protobuf with cmake, then focus on their specific project files. You might be seeing the issue in the wrong way: adding a very simple to use tool to generate any project file is not at all a burden for the user, except if your cmake file don't do their job. It's a very minor addition of tool for a major improvement in long-term maintainability and dependency management. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.