Skip to main content

Installation

note

This guide assumes you are comfortable with cloning Git repositories and building C libraries using CMake

Prerequisites:

Clone and build the files using CMake.

git clone -b main git@github.com:PeppermintSnow/ml-in-c.git --single-branch && cd ml-in-c
mkdir build && cd build
cmake ..
make
Global Install

It is also recommended to install globally for ease of use.

sudo make install
Compiling

Now you can compile your programs with the library.

gcc myProgram.c -I/usr/local/include/ml-in-c -L/usr/local/lib -lml-in-c -o myProgram
Uninstall

You can also remove the library by running the uninstall command.

sudo make uninstall