<p>Hi there,</p>

<p>I support mlpack in my free time, so I am not always able to respond immediately. :(</p>

<p>I believe your problem is here:</p>

<p><code>-I/home/rcf-40/haifengc/panfs/armadillo-6.500.4/include</code></p>

<p>You should use <code>/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include</code> as your <code>ARMADILLO_INCLUDE_DIR</code>; without the <code>tmp/</code>, Armadillo is not configured properly.  If you tried to reconfigure this earlier, make sure to remove the <code>CMakeCache.txt</code> file in your build directory (otherwise CMake may not detect the new Armadillo location).  Can you check that and let me know if reconfiguring and rebuilding with the correct include directory makes a difference?</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/511#issuecomment-180032191">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPERbTfjmUBV2cSqPxLRI1gfQhcbks5pg6uAgaJpZM4HPrM8.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/511#issuecomment-180032191"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>