Skip to content

Tutorial for Windows

Takuya Takeuchi edited this page May 4, 2018 · 1 revision

Requirements

How to build LIBLINEAR

  1. Open Visual Studio Command Prompt and change to liblinear directory
  2. Type the following code in a console:
nmake -f Makefile.win clean all
  1. Type the following code in a console:
nmake -f Makefile.win lib

After this, liblinear.dll will be generated in liblinear\windows.

How to build LibLinearDotNet by Visual Studio

Preparations

  1. Refer Prerequisites for .NET Core on Windows](https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x)

Build

  1. Open LibLinearDotNet\LibLinearDotNet.sln in Visual Studio
  2. Do build command for LibLinearDotNet project

How to build LibLinearDotNet by Command Line

Preparations

  1. Install .NET Core 2.0 by following the official page

Build

  1. Open LibLinearDotNet\src\LibLinearDotNet in console
  2. Type the following code in a console:
dotnet build -c Release

Or

dotnet build -c Debug