Use
To use the bindings create a C# project and just add the corresponding nuget packages.
There are a lot of sample projects available to get you started. Extensive API documentation is provided and the original documentation can also be referenced.
The gir.core project is not providing the actual C libraries but only the C# bindings. Please ensure that the corresponding packages are installed on your system otherwise the binding will not find a target to bind to during runtime.
In case the packages are not installed on your system please refer to the documentation of your systems package manager.
Running on Linux
In most distributions the needed packages should already be installed. In case something is missing use the package manager of your distribution to install the missing dependencies.
Running on MacOS
Use the Homebrew package database to find and install any needed packages.
Running on Windows
The easiest way to get started on Windows is by installing the packages through msys2. The MSYS2 Package Database can be searched for matching packages.
- Download msys2 from the official website.
- Run
pacman -Syu
to update the package database. - Run
pacman -S mingw-w64-x86_64-XXX
to install a package named XXX. - Add the directory
C:/msys64/mingw64/bin
to the front of the PATH.