[mlpack-git] [mlpack] libxml problem compiling kmeans (similar to (#393)

Finlay Maguire notifications at github.com
Tue Jan 27 18:05:59 EST 2015


Fresh build of mlpack on 64-bit linux (Arch) latest stable release following the standard install (`cmake ../; make; make test; make install`).

Cmake seems to find libxml correctly:

    -- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.2", minimum required is "2.6.0") 

All tests pass and make install seems to run fine (binaries all work correctly).

However, when I try to follow the kmeans example compiling with:
     #include <mlpack/methods/kmeans/kmeans.hpp>
  
Gives the following error:

    /usr/local/include/mlpack/core/util/save_restore_utility.hpp:26:27: fatal error: libxml/parser.h: No such file or directory

This might be a very naive issue (and almost certainly similar to #285), clearly I need to correctly link libxml2 when compiling mlpack but I'm not quite sure how to go about that with cMake and I don't trust myself to correctly manually compile everything.


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


More information about the mlpack-git mailing list