YLib (Yorick Library) is a collection of useful interpreted functions for Yorick.
Amon others:
img.i
- routines for manipulation image.utils.i
- various utilities.plot.i
- plotting utilities.
Installation of YLib by EasyYorick is fully supported. Assuming you have installed EasyYorick, you just have to execute:
ypkg install yorick ylib
which should install Yorick (if not yet installed) and YLib.
To upgrade to the last master version:
ypkg upgrade ylib
-
You must have Yorick installed on your machine.
-
Unpack the software code somewhere or clone the Git repository:
git clone https://github.com/emmt/ylib.git ylib
if you want/prefer to use HTTPS, or:
git clone git@github.com:emmt/ylib.git ylib
if you want/prefer to use SSH. Any of these commands creates a local GIT repository named
ylib
. -
Configure for compilation. There are two possibilities:
-
For an in-place build, go to the source directory, say
$SRC_DIR
, of the plug-in code and run the configuration script:cd $SRC_DIR ./configure
To see the configuration options, type:
./configure --help
-
For an out-of-place build, create a dedicated build directory, say
$BUILD_DIR
, go to the build directory and run the configuration script:mkdir -p $BUILD_DIR cd $BUILD_DIR $SRC_DIR/configure
where
$SRC_DIR
is the path to the source directory of the plug-in code. To see the configuration options, type:$SRC_DIR/configure --help
-
-
Build YLib:
make clean make
-
Install YLib (you must have write access granted to Yorick directories):
make install