<p>Hi there,</p>

<p>You need to link against Armadillo in your call to <code>target_link_libraries()</code>.  Take a look at the CMakeLists.txt in the mlpack repository for more information on how to find Armadillo.  Or, you can just add "armadillo" to the <code>target_link_libraries()</code> line and hope that libarmadillo.so is on the linker's default search path. :)</p>

<p>Feel free to reopen if that wasn't the issue, but I'm pretty confident it is in this case.</p>

<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/494#issuecomment-164322118">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLiuIWVOlr1QE753i0lxyjHdmXucks5pPhqLgaJpZM4G0HE2.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/494#issuecomment-164322118"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>