[mlpack-git] [mlpack] Error compiling test program (#562)

Ryan Curtin notifications at github.com
Fri Mar 11 11:12:25 EST 2016


This is a simple linker issue.  You need to link against mlpack and its dependencies.  Add `-lmlpack -larmadillo -lboost_serialization -lboost_program_options -lboost_unit_test`.  (I think I got everything there, if not, it should be easy to read the error messages and figure out what needs to be linked against.)

If you haven't installed mlpack on your system you will have to specify the include directory for the mlpack build with `-I/path/to/mlpack/build/include/` and the library directory with `-L/path/to/mlpack/build/lib/`.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/562#issuecomment-195431498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160311/9a613501/attachment.html>


More information about the mlpack-git mailing list