[mlpack-git] [mlpack/mlpack] link error: undefined reference to `arma::is_Mat_fixed_only (#606)

shvikeray-gelo notifications at github.com
Thu Apr 7 10:16:13 EDT 2016


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

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


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160407/f9659cf7/attachment-0001.html>


More information about the mlpack-git mailing list