[mlpack] installing mlpack 1.0.10 on Windows with MinGW/MSYS

Ryan Curtin gth671b at mail.gatech.edu
Tue Sep 2 11:10:55 EDT 2014


On Sun, Aug 31, 2014 at 07:12:31PM +0200, Gilles Barges wrote:
> mlpack.a and all exe are generared, except the last one (mlpack_test.exe) that fails with 4 errors, the same I reported in mlpack Digest, Vol 18, Issue 5 and led to http://www.mlpack.org/trac/ticket/360
> 
> As 'make' fails, 'make install' fails. Had to install by hand.
> 
> So, I have suggestions to improve the mlpack installer:
> 
> - detect MinGW/MSYS environment. Maybe by testing the $MSYSTEM env. var., which is set to MINGW32 ?
> - add /mingw/include in the include search path
> - in CMakeLists.txt at line 189, do not clear Boost_LIBRARIES if Windows + MingW
> - let 'make install' install the lib and the headers, even if not all exes are build ? 
> 
> Hope this can help.

Hi Gilles,

Thanks for pointing this out.  Unfortunately as I noted in #360 I don't
have a good test environment with MinGW/MSYS, so I can't effectively
test any patches at the moment.

Do you have a solution for #360?  If so, I'll incorporate the fix into
trunk.

As for the other issues, if you are able to look into them and submit a
patch, I will happily merge it, but if not it may be some time until I
have a chance to look into it further.

Thanks,

Ryan

-- 
Ryan Curtin    | "What? Facts?"
ryan at ratml.org |   - Joe Cairo


More information about the mlpack mailing list