milk |
---|
Modular Image processing Library tooLkit |
branch | version | status | latest |
---|---|---|---|
master | 1.01.01 | ||
dev | 1.01.02 |
⚠
milk uses git submodules. Use git clone --recursive
git clone --recursive https://github.com/milk-org/milk-package milk
cd milk
mkdir _build; cd _build
cmake ..
make
sudo make install
Will install milk in /usr/local/milk-<version>. Multiple versions of milk can coexist in separate milk-<version> directories. To select the version to be used:
sudo ln -s /usr/local/milk-<version> /usr/local/milk
Add environment variables. Add to .bashrc file or similar :
export MILK_ROOT=${HOME}/src/milk # point to source code directory. Edit as needed.
export MILK_INSTALLDIR=/usr/local/milk
export PATH=${PATH}:${MILK_INSTALLDIR}/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${MILK_INSTALLDIR}/lib/pkgconfig
Create tmpfs disk for high performance I/O:
echo "tmpfs /milk/shm tmpfs rw,nosuid,nodev" | sudo tee -a /etc/fstab
sudo mkdir -p /milk/shm
sudo mount /milk/shm