Use the build script from the root directory of this repository to build the library that is compatible with cgo.
- On Windows, run
BuildMsys2.sh --golangto build the Go wrapper with the MSYS2/CLANG64 environment. - On Linux, run
BuildLinux.sh --golang.
The --golang argument generates the intermediate configuration file LLGL.pc for the pgk-config command to find the binary dependencies.