Once again…

Yup, once again I’m installing Windows.

There are some people who sometimes are tempted to go for shopping or have some fun at the club, but me… I like from time to time to change the operating system [wat?]. I get the impression then that my computer has been cleared from all of the errors and failures which I did with his previous incarnation.

Okay, seriously, I wanted to finally compile MLPACK under Windows. According to the keonkim's guidelines, it went like clockwork.

========== Build: 40 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

In case I forgot how it was doing:

    1. Configurate MLPACK in Visual Studio 2015 Community:
      • create new project: File > New > Project from Existing Code
      • install dependencies: Tools > NuGet Package Manager > Manage NuGet Packages for Solution > Browse
        • OpenBLAS.
        • boost.1.61.0
        • boost_unit_test_framework-vc140.1.61.0
        • boost_program_options-vc140.1.61.0
        • boost_random-vc140.1.61.0
        • boost_serialization-vc140.1.61.0
        • boost_math_c99-vc11.0
    2. Build latest stable Armadillo
cmake -G "Visual Studio 14 2015 Win64"- BLAS_LIBRARY:FILEPATH="C:/projects/mlpack-2.0.3/packages/OpenBLAS." -DLAPACK_LIBRARY:FILEPATH="C:/projects/mlpack-2.0.3/packages/OpenBLAS." -DCMAKE_PREFIX:FILEPATH="C:/projects/armadillo" -DBUILD_SHARED_LIBS=OFF ..

 3. Build latest stable MLPACK

cmake -G "Visual Studio 14 2015 Win64" -DBLAS_LIBRARY:FILEPATH="C:/projects/mlpack-2.0.3/packages/OpenBLAS." -DLAPACK_LIBRARY:FILEPATH="C:/projects/mlpack-2.0.3/packages/OpenBLAS." -DARMADILLO_INCLUDE_DIR="C:/projects/armadillo-7.400.1/include" -DARMADILLO_LIBRARY:FILEPATH="C:/projects/armadillo-7.400.1/build/Debug/armadillo.lib" -DBOOST_INCLUDEDIR:PATH="C:/projects/mlpack-2.0.3/packages/boost." -DBOOST_LIBRARYDIR:PATH="C:/projects/mlpack-2.0.3/packages/boost_libs" -DDEBUG=ON -DPROFILE=OFF ..