<p>Regarding the 64-bit issue, I think we need somebody to bring it all together, at least to describe a fullproof way to recompile everything (3 things: arma, mlpack, your application) in a safe way.</p>

<p>For me, my test program (the linear regression program and the nearest neighbour program copied directly from the mlpack tutorials) crashed (segfault) until I changed my compilation from -std=c++11 to -std=c++03. That suggests that my arma and mlpack binaries were compatible with each other, and were 32-bit, but were incompatible with the test application if the test application was compiled with -std=c++11.</p>

<p>Here's what worked for me to get 64:</p>

<ol>
<li>go back to the start with arma, fresh build directory</li>
<li>cmake for arma</li>
<li>edit the config.hpp (somewhere in build/tmp) to #define ARMA_64BIT_WORD</li>
<li>make</li>
<li>make install </li>
<li>go back to the start with mlpack, fresh build directory</li>
<li>cmake # won't complain about 64. If it does, restart and be sure to do step 3 correctly</li>
<li>make</li>
<li>make install</li>
<li>now my test applications work (regardless of c++03 or c++11) because ARMA_64BIT_WORD has been "baked into" everything, having been defined very early in the process.</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/428#issuecomment-132815932">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIi0IfZ9TRAhYjaBAJZhw-4TdRKVks5opP_DgaJpZM4D3Y7n.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/428#issuecomment-132815932"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>