<p><strong>If I use this</strong><br>
export ARMADILLO_INCLUDE_DIR=/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include<br>
export ARMADILLO_LIBRARY=/home/rcf-40/haifengc/panfs/armadillo-6.500.4/libarmadillo.so<br>
cmake ../<br>
<strong>I cannot pass cmake and got the following errors</strong><br>
-- Looking for backtrace<br>
-- Looking for backtrace - found<br>
-- backtrace facility detected in default set of libraries<br>
-- Found Backtrace: /usr/include<br><br>
CMake Error at CMake/FindArmadillo.cmake:327 (message):<br>
  ARMADILLO_INCLUDE_DIR-NOTFOUND/armadillo_bits/config.hpp not found! Cannot<br>
  determine what to link against.<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:113 (find_package)<br>
-- Configuring incomplete, errors occurred!</p>

<p><strong>but if I use **<br>
cmake -D ARMADILLO_INCLUDE_DIR=/home/rcf-40/haifengc/panfs/armadillo-6.500.4/include -D ARMADILLO_LIBRARY=/home/rcf-40/haifengc/panfs/armadillo-6.500.4/libarmadillo.so ..<br>
**then I can pass cmake</strong></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-180468342">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNiv6OJR_rhQuPGmWPJBxfsj81Rqks5phNjzgaJpZM4HPrM8.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-180468342"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>