Skip to content

Tutorial for Windows

Takuya Takeuchi edited this page Apr 28, 2018 · 1 revision

Requirements

How to build LIBSVM

  1. Open Visual Studio Command Prompt and change to libsvm 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, libsvm.dll will be generated in libsvm\windows.

How to build LibSvmDotNet 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 LibSvmDotNet\LibSvmDotNet.sln in Visual Studio
  2. Do build command for LibSvmDotNet project

How to build LibSvmDotNet by Command Line

Preparations

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

Build

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

Or

dotnet build -c Debug

Clone this wiki locally