From db9530899168c1f776532681f8b0b4f5b4fa359c Mon Sep 17 00:00:00 2001 From: Armin Luntzer <armin.luntzer@univie.ac.at> Date: Fri, 11 Sep 2020 08:20:28 +0200 Subject: [PATCH] add some notes on building --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 8bc0c31..4110513 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,27 @@ and the application of a filter to the spectral data received by the telescope.  +# Building + +If you want to use this library from python or any other language using +gobject introspection bindings, make sure the build tools (g-ir-scanner, +g-ir-compiler). If bindings are still not generated, enable introspection +explicitly: + + +``` +./configure --enable-introspection=yes + +``` + +If you want to try the python example without installing the library system-wide, +make sure to export the proper paths, i.e. from the examples/ subdirectory +run the demo like this: + +``` +GI_TYPELIB_PATH=../src/ LD_LIBRARY_PATH=../src/.libs python img.py +``` + # Build dependencies -- GitLab