Boost C++ Libraries: Ticket #12724: forward1.hpp:47:37: fatal error: boost/utility/detail/result_of_iterate.hpp: No such file or directory https://svn.boost.org/trac10/ticket/12724 <p> When building Boost from master, I'm getting errors of the kind <code></code>` /boost/preprocessor/iteration/detail/iter/forward1.hpp:47:37: fatal error: boost/utility/detail/result_of_iterate.hpp: No such file or directory </p> <blockquote> <p> # include BOOST_PP_FILENAME_1 </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> <code></code>` (see <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>). </p> <p> This appears to have come up before <a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>, but without conclusive fix. </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> <a class="ext-link" href="https://launchpadlibrarian.net/301233079/buildlog_ubuntu-yakkety-amd64.boost1.63_1.63.0~20170104224508-03db8ee4-1yakkety1_BUILDING.txt.gz"><span class="icon">​</span>https://launchpadlibrarian.net/301233079/buildlog_ubuntu-yakkety-amd64.boost1.63_1.63.0~20170104224508-03db8ee4-1yakkety1_BUILDING.txt.gz</a> <a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a> <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11377"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11377</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12724 Trac 1.4.3 Andrey Semashev Thu, 05 Jan 2017 02:11:09 GMT cc, status, component changed; resolution set https://svn.boost.org/trac10/ticket/12724#comment:1 https://svn.boost.org/trac10/ticket/12724#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">Andrey.Semashev@…</span> added </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>component</strong> <span class="trac-field-old">preprocessor</span> → <span class="trac-field-new">utility</span> </li> </ul> <p> The error says <code>boost/utility/detail/result_of_iterate.hpp</code> file is missing. I can see the file is present in the current master (in <code>libs/utility/include/boost/utility/detail</code>), as well as in the 1.63 archive. It is not clear how the source package (in particular, the <code>boost1.63_1.63.0~20170104224508-03db8ee4.orig.tar.gz</code> archive) was built, but if it was obtained as a recursive clone from git, you should run "<code>b2 headers</code>" in Boost root before building Boost. That command will reconstruct the <code>boost</code> include tree, which is already present in the official Boost archives. </p> <p> Without that command <code>b2</code> tries to reconstruct the include tree based on dependency scanning, which does not always work. In particular, it breaks when the header names are not immediately visible in the <code>#include</code> directives, like when Boost.PP iteration is used. In general, that mechanism should not be relied upon, and "<code>b2 headers</code>" should be used instead. </p> Ticket nico.schloemer@… Thu, 05 Jan 2017 13:09:11 GMT <link>https://svn.boost.org/trac10/ticket/12724#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12724#comment:2</guid> <description> <p> Thanks, that did the trick. </p> </description> <category>Ticket</category> </item> </channel> </rss>