<p>Hey guys,</p>

<p>I also tried compiling one of the test program (allknn_test.cpp) individually and got the same horde of undefined reference errors. Then I read and applied the advice by rcurtlin to use mlpack_test program to run tests and I am failing the tests in 'AllkNNTest'.</p>

<p>The output I get is:<br>
Running 21 test cases...<br>
mlpack_test: /home/ozair/programming/mlpack/src/mlpack/../mlpack/core/tree/rectangle_tree/rectangle_tree_impl.hpp:882: bool mlpack::tree::RectangleTree::ShrinkBoundForPoint(const vec&amp;) [with MetricType = mlpack::metric::LMetric&lt;2, true&gt;; StatisticType = mlpack::neighbor::NeighborSearchStatmlpack::neighbor::NearestNeighborSort; MatType = arma::Mat; SplitType = mlpack::tree::RStarTreeSplit; DescentType = mlpack::tree::RStarTreeDescentHeuristic; arma::vec = arma::Col]: Assertion `false' failed.<br>
unknown location(0): fatal error in "KNNModelTest": signal: SIGABRT (application abort requested)<br>
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1027): last checkpoint<br>
unknown location(0): fatal error in "KNNModelMonochromaticTest": std::runtime_error: Timer::Start(): timer 'tree_building' has already been started<br>
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1027): last checkpoint<br>
unknown location(0): fatal error in "NeighborPtrDeleteTest": std::runtime_error: Timer::Start(): timer 'tree_building' has already been started<br>
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(1115): last checkpoint</p>

<p>*** 3 failures detected in test suite "mlpackTest"</p>

<p>However, I tried running FeedForwardNetworkTest in mlpack_test and the output is:<br>
Running 2 test cases...</p>

<p>*** No errors detected</p>

<p>At this point, I can't tell whether I am using an outdated/missing library components or anything else to fail AllkNNTest, but the FeedForwardNetworkTest is running just fine, so I am not sure where to go from here to get this AllkNNTest test to pass, I will appreciate any input.</p>

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