From aa33f4f7c706d62a42d3803985957d6368f38024 Mon Sep 17 00:00:00 2001 From: Nir Lichtman Date: Wed, 24 Sep 2025 23:38:30 +0300 Subject: [PATCH] buildguide: fix missing cmake and more details regarding evdev error --- dev/buildguide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/buildguide.rst b/dev/buildguide.rst index d81ce9a..423fd41 100644 --- a/dev/buildguide.rst +++ b/dev/buildguide.rst @@ -168,9 +168,9 @@ FreeBSD .. code-block:: bash - $ pkg install pkgconf freetype-gl sdl2 libspng openal-soft rtmidi qt5 libslirp fluidsynth libsndfile + $ pkg install cmake pkgconf freetype-gl sdl2 libspng openal-soft rtmidi qt5 libslirp fluidsynth libsndfile -.. note:: If you get an error about ``linux/input.h``, edit ``/usr/local/include/libevdev/libevdev.h`` to replace the ``linux/input.h`` reference with ``dev/evdev/input.h`` and try building again. +.. note:: If you get an error about ``linux/input.h`` while building, this is due to ``libevdev.h`` mistakenly importing a Linux header file on FreeBSD. Copy the full path of ``libevdev.h`` from the error and open it with an editor. Within the file, replace the ``linux/input.h`` reference with ``dev/evdev/input.h`` and try building again. Building --------