From 0dd00e9204d12c0c2cc445df1a8636da9f77b9a4 Mon Sep 17 00:00:00 2001 From: Adry <32313532+adrylain@users.noreply.github.com> Date: Mon, 16 Sep 2024 19:18:14 -0400 Subject: [PATCH] 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. --- docs/linux_dependencies.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index b456aba7ce..521a198157 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -205,3 +205,11 @@ sudo eopkg it wayland-devel libxkbcommon-devel ``` 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" +```