GzipInputStream is only compiled into the library if zlib is available, since it depends on zlib. On Unix you should be able to fix this by installing libz.so, on MSVC you may need to modify the project files a bit.
On Wed, May 18, 2011 at 12:18 AM, Shin <for.shin1...@gmail.com> wrote: > I'm learning how to use the gzip stream. > The error msg always bother me. > It saying: > > undefined reference to > > `google::protobuf::io::GzipInputStream::GzipInputStream(google::protobuf::io::ZeroCopyInputStream*, > google::protobuf::io::GzipInputStream::Format, int) > > It seems only found the header file but no dynamic lib. > Does it mean I didn't install the lib correctly? > I have installed the newest zlib version and re-installed the > protobuf, but the problem is still existing. > > Thanks for ur help. > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to protobuf@googlegroups.com. > To unsubscribe from this group, send email to > protobuf+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.