To use the bindings create a C# project and just add the corresponding nuget packages.
There are a lot of sample projects available which should get you started.
As long as there is no API documentation available you can refer to the original documentation.
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.
pacman -Syuto update the package database.
pacman -S mingw-w64-x86_64-XXXto install a package named XXX.
- Add the directory
C:/msys64/mingw64/binto the front of the PATH.