[mlpack-git] [mlpack] Build problem: DSO missing (#490)

Ryan Curtin notifications at github.com
Wed Dec 9 10:43:38 EST 2015


Hi there,

Use `ARMADILLO_INCLUDE_DIR=/home/cassio/tools/armadillo-6.200.4/tmp/include/` and I think your problem will be fixed.

The reason for this is that Armadillo, when built, creates a file 'config.hpp' which has various settings like whether or not the libarmadillo.so wrapper is created or used, whether or not to use ARPACK for sparse eigendecomposition, things like this.  But when this file is created, it (along with the rest of the headers) are put in `tmp/include/` as a staging step, then `tmp/include/` will be installed to `/usr/local/include/` or wherever you install to.

(Side note: on old versions of Armadillo, this directory used to be `build_tmp/include/`.  I think that's Armadillo 3 and earlier...)

In this case the warning given by CMake is the hint here:

```
CMake Warning at CMakeLists.txt:75 (message):
  Armadillo configuration file
  (/home/cassio/tools/armadillo-6.200.4/include;/usr/include/armadillo_bits/config.hpp)
  does not exist!
```

I wonder if that should be a fatal error instead...?

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


More information about the mlpack-git mailing list