Boost C++ Libraries: Ticket #13267: b2 doesn't recognize ZLIB options other than ZLIB_SOURCE https://svn.boost.org/trac10/ticket/13267 <p> Building Boost 1.65.1 on Windows with msvc-12.0. </p> <p> b2 doesn't detect zlib with the command line below: </p> <pre class="wiki">b2 toolset=msvc-12.0 --with-iostreams -sZLIB_INCLUDE=D:/Libraries/zlib-1.2.11/stage/x86/include -sZLIB_LIBRARY_PATH=D:/Libraries/zlib-1.2.11/stage/x86/lib -sZLIB_NAME=zlib variant=debug link=shared --stagedir=stage/x86 stage </pre><p> and the following line is emitted: </p> <pre class="wiki"> - zlib : no (cached) </pre><p> b2 detects zlib only when ZLIB_SOURCE is specified. However, since I built zlib with CMake and INSTALLed on different directory, zconf.h doesn't exist on the directory under the source directory from which Boost is about to include the file from. A workaround is to copy zconf.h from the actual include directory into the source directory when I run b2 and delete it after building is finished. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13267 Trac 1.4.3 Shintaro Sakahara <shintaro-sakahara@…> Fri, 20 Oct 2017 13:16:49 GMT component changed; owner set https://svn.boost.org/trac10/ticket/13267#comment:1 https://svn.boost.org/trac10/ticket/13267#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jonathan Turkanis</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iostreams</span> </li> </ul> Ticket Shintaro Sakahara <shintaro-sakahara@…> Fri, 20 Oct 2017 13:18:01 GMT component changed https://svn.boost.org/trac10/ticket/13267#comment:2 https://svn.boost.org/trac10/ticket/13267#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">iostreams</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> Ticket Shintaro Sakahara <shintaro-sakahara@…> Fri, 20 Oct 2017 13:21:29 GMT <link>https://svn.boost.org/trac10/ticket/13267#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13267#comment:3</guid> <description> <p> Sorry for consecutive modifications. I forgot to put the component field first, and I couldn't find the appropriate component for this problem next. </p> </description> <category>Ticket</category> </item> </channel> </rss>