[mlpack] Compiling MLPACK as a shared library

Ryan Curtin gth671b at mail.gatech.edu
Sun Jan 4 00:17:33 EST 2015


On Fri, Jan 02, 2015 at 08:01:34PM -0500, Qiang Kou wrote:
> Hi,
> 
> It is not hard, but may be a nightmare to compile and use a dll shared
> library on Windows.
> 
> Look at the several lines from [1], change it into something like below:
> 
> if (WIN32)
>   add_library(mlpack SHARED ${MLPACK_SRCS})
> endif (WIN32)
> 
> You should get the* libmlpack.dll, *however, this is really not recommended.

Hi there Sylvana,

KK's advice is what I was going to suggest, but I think he is also right
that it may be a nightmare...

I am in the process of obtaining consent from contributors to switch to
the BSD license (upon which I'll release 1.0.12 which will be identical
to 1.0.11 but BSD-licensed), which should help keep things easier. :)

Thanks,

Ryan

-- 
Ryan Curtin    | "I am."
ryan at ratml.org |   - Joe


More information about the mlpack mailing list