[mlpack-git] [mlpack] ARMADILLO_INCLUDE_DIR-NOTFOUND/armadillo_bits/config.hpp not found (#511)

Ryan Curtin notifications at github.com
Mon Feb 8 12:23:53 EST 2016


I'm really at a loss for what this could be.  I'm running out of ideas, and to me it is not making sense why you are not able to link successfully even when things are configured correctly.  Are you even able to link a simple test program?  Like this one maybe:

```
#include <armadillo>

int main()
{
  arma::mat a = arma::randu<arma::mat>(10, 10);
  arma::mat b = arma::randu<arma::mat>(10, 10);

  arma::mat c = a * b;
  c.print();
}
```

(I hope that compiles, I'm pretty sure it should.)

Can you test to see if you can even compile that from the command line and link successfully?  I think the command will be:

```
$ g++ -o test test.cpp -I/home/rcf-40/haifengc/panfs/tmp/include/ -L/home/rcf-40/haifengc/panfs/ -larmadillo -std=c++11
```

Does that work, or do you end up getting the same linker errors?

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


More information about the mlpack-git mailing list