On 7/7/07, egoots
Meryl Silverburgh wrote:
On 7/6/07, egoots
wrote: Meryl Silverburgh wrote:
Thanks. I just tried your idea on ubuntu and I get the linker errors too:
Just checking... did you build boost with zlib support enabled?
See the "Installation" section which describes what is required: http://www.boost.org/libs/iostreams/doc/index.html
I install the boost iostream library from ubuntu repository. And I check with ubuntu forum, and i get a response saying it has zlib support.
did you include zlib.cpp (from iostreams) in your project? It explains that on the above mentioned install page too
But when i include zlib.cpp to my project, i cant' get zlib.cpp to compile: /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:178: undefined reference to `deflateInit2_' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:178: undefined reference to `inflateInit2_' ./src/zlib.o: In function `boost::iostreams::detail::zlib_base::reset(bool, bool)': /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `deflateReset' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `inflateReset' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `deflateEnd' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `inflateEnd'
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users