Dlib GLib
Dlib GLib is a wrapper library for Dlib. Dlib GLib provides C API.
Dlib GLib supports GObject Introspection. It means that you can create language bindings at runtime or compile time.
For example, you can use Dlib from Ruby by Dlib GLib and gobject-introspection gem with the following code:
# Generate bindings at runtime
require "gi"
DLIB = GI.load("Dlib")
# TODO
Install
How to build by users
You need to install the followings before you install Dlib GLib:
You can build and install Dlib GLib after you install them:
% meson build --buildtype=release
% ninja -C build
% ninja -C build install
On macOS you need to set the following environment variable:
% export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:/opt/X11/lib/pkgconfig
How to build by developers
You need to install the followings before you install Dlib GLib:
% meson build -Dgtk_doc=true
% ninja -C build
% ninja -C build install
On macOS you need to set the following environment variable:
% export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:/opt/X11/lib/pkgconfig
% export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
Usage
TODO
License
Boost Software License. See LICENSE for details.