[mlpack] compiling mlpack with MinGW/MSYS

Ryan Curtin gth671b at mail.gatech.edu
Mon Aug 4 10:28:24 EDT 2014


On Fri, Aug 01, 2014 at 11:07:15PM +0200, Gilles Barges wrote:
> 
> >> I'm trying to compile mlpack 1.0.9 on Windows, using MinGW and MSYS environment
> >> 
> >> when running:
> >> cmake -G "MSYS Makefiles" -D ARMADILLO_INCLUDE_DIR=/usr/local/include ../
> >> it complains :
> >> Could NOT find Armadillo (missing: ARMADILLO_LIBRARY) (found suitable version "4.320.0", required is "3.6.0")
> > 
> > The error message from CMake is a little bit cryptic, but what it is
> > trying to say is that the library itself could not be found; therefore,
> > specify -D ARMADILLO_LIBRARY=/usr/local/lib/libarmadillo.so (or whatever
> > the location of the actual library is).  The version of Armadillo you
> > have is just fine.
> > 
> > Ryan
> 
> hi Ryan,
> 
> I have no lib file at all !
> Armadillo install only .hpp files. (the same on OSX)
> As it exists only one .cpp file in the source tree, and it is called wrapper.cpp,
> I suppose that the absence of a lib file has something to do with an option in Armadillo bui ld; probably ARMA_USE_WRAPPER

Hm, interesting.  Can you tell me whether or not ARMA_USE_WRAPPER is
defined in armadillo_bits/config.hpp?

This is possibly related to #312
(http://www.mlpack.org/trac/ticket/312).

-- 
Ryan Curtin    | "You can think about it... but don't do it."
ryan at ratml.org |   - Sheriff Justice


More information about the mlpack mailing list