Boost C++ Libraries: Ticket #11156: Missing boost library "libboost_zlib-vc120-mt-gd-1_57.lib" https://svn.boost.org/trac10/ticket/11156 <p> Hello! </p> <p> Libraries are built under VC++ 12.0<br /> Proven methods of build: </p> <ol><li>bjam toolset=msvc variant=debug,release link=static runtime-link=static </li><li>bjam toolset=msvc link=static threading=multi release stage bjam toolset=msvc link=static threading=multi debug stage </li><li>like this: <a class="ext-link" href="http://stackoverflow.com/questions/7282645/how-to-build-boost-iostreams-with-gzip-and-bzip2-support-on-windows"><span class="icon">​</span>http://stackoverflow.com/questions/7282645/how-to-build-boost-iostreams-with-gzip-and-bzip2-support-on-windows</a> </li></ol><p> The project had been prescribed library paths. No one method helped get the library "libboost_zlib-vc120-mt-gd-1_57.lib" and in the folder "boost/stage/lib" this file does not exist. </p> <p> Documentation: <a href="http://www.boost.org/doc/libs/1_40_0/libs/iostreams/doc/classes/gzip.html">http://www.boost.org/doc/libs/1_40_0/libs/iostreams/doc/classes/gzip.html</a> </p> <p> The program, which would like to compile: </p> <pre class="wiki">#define _SCL_SECURE_NO_WARNINGS #include &lt;string&gt; #include &lt;iostream&gt; #include &lt;fstream&gt; #include &lt;boost/iostreams/filtering_stream.hpp&gt; #include &lt;boost/iostreams/filter/zlib.hpp&gt; #include &lt;boost/iostreams/filter/gzip.hpp&gt; #include &lt;boost/iostreams/device/file.hpp&gt; #include &lt;boost/iostreams/copy.hpp&gt; int main(void) { boost::iostreams::filtering_ostreambuf out; out.push(boost::iostreams::gzip_compressor()); out.push(boost::iostreams::file_sink("data.txt", std::ios::binary)); boost::iostreams::copy(boost::iostreams::file_source("data.gz", std::ios::binary), out); return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11156 Trac 1.4.3 anonymous Tue, 31 Mar 2015 00:51:10 GMT <link>https://svn.boost.org/trac10/ticket/11156#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11156#comment:1</guid> <description> <p> The same goes for libraries: </p> <ol><li>libboost_zlib-vc120-mt-sgd-1_57.lib </li><li>libboost_zlib-vc120-mt-1_57.lib </li><li>libboost_zlib-vc120-mt-s-1_57.lib </li><li>libboost_zlib-vc120-sgd-1_57.lib </li><li>libboost_zlib-vc120-s-1_57.lib </li></ol> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 31 Mar 2015 01:04:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11156#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11156#comment:2</guid> <description> <p> Replying to <a class="new ticket" href="https://svn.boost.org/trac10/ticket/11156" title="#11156: Bugs: Missing boost library &#34;libboost_zlib-vc120-mt-gd-1_57.lib&#34; (new)">Vit.link420@…</a>: </p> <blockquote class="citation"> <ol start="3"><li>like this: <a class="ext-link" href="http://stackoverflow.com/questions/7282645/how-to-build-boost-iostreams-with-gzip-and-bzip2-support-on-windows"><span class="icon">​</span>http://stackoverflow.com/questions/7282645/how-to-build-boost-iostreams-with-gzip-and-bzip2-support-on-windows</a> </li></ol></blockquote> <p> libboost_zlib is only built with -SZLIB_SOURCE=.... Is this the method that you used. or did you use ZLIB_INCLUDE/ZLIB_LIBRARY_PATH. </p> <p> Also, look at the output of b2 [options] --debug-configuration. This should show what's going on with zlib. </p> </description> <category>Ticket</category> </item> </channel> </rss>