Boost C++ Libraries: Ticket #10932: Boost.Python Missing Include Placeholders https://svn.boost.org/trac10/ticket/10932 <p> Hi, </p> <p> I am compiling Boost.Python with <strong>nvcc/6.5</strong>, <strong>gcc/4.6.2</strong>, <strong>python/2.7.8</strong> and <strong>cmake/3.0.1</strong> right now. </p> <p> As a side note, I modified the standard <em><a class="missing wiki">FindPythonLibs</a>.cmake</em> a bit to match the <em>cuda_add_library</em> calls. </p> <p> During compile, get an error </p> <pre class="wiki">boost/python/exception_translator.hpp(22): error: identifier "_1" is undefined boost/python/exception_translator.hpp(22): error: identifier "_2" is undefined </pre><p> due to a missing include: </p> <pre class="wiki">#include &lt;boost/bind/placeholders.hpp&gt; </pre><p> The attached patch and <a class="missing wiki">GitHub</a> pull request no. 13 fix the issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10932 Trac 1.4.3 a.huebl@… Wed, 14 Jan 2015 15:10:45 GMT attachment set https://svn.boost.org/trac10/ticket/10932 https://svn.boost.org/trac10/ticket/10932 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patchIncludePython.txt</span> </li> </ul> <p> Patch: Add missing include (bind placeholders) </p> Ticket Stefan Seefeld Thu, 26 Mar 2015 13:16:48 GMT owner changed https://svn.boost.org/trac10/ticket/10932#comment:1 https://svn.boost.org/trac10/ticket/10932#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Ralf W. Grosse-Kunstleve</span> to <span class="trac-author">Stefan Seefeld</span> </li> </ul> Ticket Stefan Seefeld Thu, 26 Mar 2015 13:17:08 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10932#comment:2 https://svn.boost.org/trac10/ticket/10932#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket a.huebl@… Thu, 16 Feb 2017 08:49:12 GMT <link>https://svn.boost.org/trac10/ticket/10932#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10932#comment:3</guid> <description> <p> just for reference, the issue was triggered as soon as <code>BOOST_BIND_NO_PLACEHOLDERS</code> was defined in user code. </p> </description> <category>Ticket</category> </item> </channel> </rss>