[mlpack-git] [mlpack] Getting started - xmllib2, libmlpack.so.1 and "undefined reference to mlpack" issue (Solutions to ticket 357, 348, 268) (#402)

Ryan Curtin notifications at github.com
Thu Feb 12 09:45:34 EST 2015


You can just add the libxml2 include path to GCC's search path by adding `-I/path/to/include/libxml2/` (which on your system, I guess, is `/usr/local/include/libxml2/`).  The right solution for libxml2 is either a complete redesign of the SaveRestoreUtility, or a refactoring that completely hides the libxml2 classes in `.cpp` files (so that the libxml2 headers aren't required by any of the mlpack headers).  If you're interested in trying to do that, please feel free, but I think the refactoring may be somewhat complex.  (We should probably discuss on that issue instead, if you're interested in continuing the discussion.)

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


More information about the mlpack-git mailing list