Boost C++ Libraries: Ticket #13021: Odeint: Eigen upgrade to v 3.3.3 breaks compatibility https://svn.boost.org/trac10/ticket/13021 <p> In order to combine odeint with the Eigen library I use, among other things, #include "boost/numeric/odeint/external/eigen/eigen.hpp" </p> <p> This used to work perfectly with Eigen version 3.2 , but fails after an upgrade of the Eigen libraries to version 3.3.3. The code does not compile, generating a large amount of error messages, beginning with: </p> <pre class="wiki">In file included from /usr/include/boost/numeric/odeint/external/eigen/eigen.hpp:22:0, from minimal.cpp:3: /usr/include/boost/numeric/odeint/external/eigen/eigen_algebra.hpp:35:37: error: ‘scalar_add_op’ in namespace ‘Eigen::internal’ does not name a template type (...) </pre><p> A minimal reproducible example is: </p> <pre class="wiki">#include &lt;Eigen/Dense&gt; #include &lt;boost/numeric/odeint.hpp&gt; #include "boost/numeric/odeint/external/eigen/eigen.hpp" int main() {} </pre><p> This code does not compile with Eigen 3.3.3. The only functioning workaround I found was downgrading to Eigen 3.3.2. </p> <p> I noticed the problem while using Boost version 1.58.0, ubuntu 16.04, g++ version 5.4.0. Upgraded to Boost version 1.64.0; to no avail. The error messages differ after the Boost upgrade but the problem persists. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13021 Trac 1.4.3 speku.gmt@… Wed, 10 May 2017 18:34:53 GMT <link>https://svn.boost.org/trac10/ticket/13021#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13021#comment:1</guid> <description> <p> My apologies for a mistake that I just noticed concerning the version number: The workaround consisted in downgrading the Eigen library to version 3.2, and not to 3.3.2, as erroneously stated in the ticket. Perhaps an admin could edit and correct this in the ticket to avoid (further) confusion. Thanks in advance for your help. </p> </description> <category>Ticket</category> </item> <item> <author>speku.gmt@…</author> <pubDate>Wed, 10 May 2017 19:00:42 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/13021#comment:2 https://svn.boost.org/trac10/ticket/13021#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">karsten</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">odeint</span> </li> </ul> Ticket