Note on compiling on FreeBSD (#15232)

The hgame kernel module is necessary to load on start up, otherwise,
Bevy will crash. Adding a note to the docs to help anyone struggling
with this.
This commit is contained in:
Adry 2024-09-16 19:18:14 -04:00 committed by GitHub
parent 23a77ca5eb
commit 0dd00e9204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,3 +205,11 @@ sudo eopkg it wayland-devel libxkbcommon-devel
``` ```
Compiling with clang is also possible - replace the `g++` package with `llvm-clang` Compiling with clang is also possible - replace the `g++` package with `llvm-clang`
## [FreeBSD](https://www.freebsd.org/)
It is necessary to have the hgame module loaded in order to satisfy gli-rs. It will still throw an error, but the program should run successfully. You can make sure the kernel module is loaded on start up by adding the following line to /boot/loader.conf:
```sh
hgame_load="YES"
```