<p>All file compile success, but a link error occur. The last output is:</p>

<p>CMakeFiles/mlpack_test.dir/sdp_primal_dual_test.cpp.o: In function <code>arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt;::elem_type arma::op_dot::apply&lt;arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt;, arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; &gt;(arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; const&amp;, arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; const&amp;)':<br>
/usr/include/armadillo_bits/op_dot_meat.hpp:215: undefined reference to</code>arma::is_Mat_fixed_onlyarma::eGlue&lt;arma::Mat&lt;double, arma::eOparma::Mat&lt;double, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; &gt;::value'<br>
/usr/include/armadillo_bits/op_dot_meat.hpp:215: undefined reference to <code>arma::is_Mat_fixed_only&lt;arma::eGlue&lt;arma::Mat&lt;double&gt;, arma::eOp&lt;arma::Mat&lt;double&gt;, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; &gt;::value'<br>
/usr/include/armadillo_bits/op_dot_meat.hpp:215: undefined reference to</code>arma::is_Mat_fixed_onlyarma::eGlue&lt;arma::Mat&lt;double, arma::eOparma::Mat&lt;double, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; &gt;::value'<br>
/usr/include/armadillo_bits/op_dot_meat.hpp:215: undefined reference to `arma::is_Mat_fixed_onlyarma::eGlue&lt;arma::Mat&lt;double, arma::eOparma::Mat&lt;double, arma::eop_scalar_times&gt;, arma::eglue_plus&gt; &gt;::value'<br>
collect2: error: ld returned 1 exit status<br>
src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:1665: recipe for target 'bin/mlpack_test' failed<br>
make[2]: *** [bin/mlpack_test] Error 1<br>
CMakeFiles/Makefile2:2472: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/all' failed<br>
make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2<br>
Makefile:117: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/606">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFAYEbjNQrlCs5jWON9lGZgrrr_q9ks5p1RGtgaJpZM4ICGzq.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/606"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>