[mlpack] compiling mlpack with MinGW/MSYS
Ryan Curtin
gth671b at mail.gatech.edu
Fri Aug 1 10:59:09 EDT 2014
On Fri, Aug 01, 2014 at 09:01:33AM +0200, Gilles Barges wrote:
> dear list,
>
> I'm trying to compile mlpack 1.0.9 on Windows, using MinGW and MSYS environment
>
> As I'm porting an app from OSX, I choosed this environment because I can compile most librairies I'm using with ./configute and make.
>
> 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")
>
> Does mlpack requires this exact 3.6.0 version ? or a 3 major version, excluding 4 ?
>
> I tried to hack the file CMakeListe.txt, replacing the line
> find_package(Armadillo 3.6.0 REQUIRED)
> by
> find_package(Armadillo 4.320.0 REQUIRED) -> (found suitable version "4.320.0", required is "4.320.0")
> or even
> find_package(Armadillo) -> (found suitable version "4.320.0")
> with no success.
Hi Gilles,
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.
Thanks,
Ryan
--
Ryan Curtin | "Maybe the next time."
ryan at ratml.org | - J.G. Ballard
More information about the mlpack
mailing list