From 5cadc890816e74b086790187f39b87dd67e86f83 Mon Sep 17 00:00:00 2001 From: Nir Lichtman Date: Sat, 25 Oct 2025 23:26:52 +0300 Subject: [PATCH] buildguide: fix missing cmake and more details regarding evdev error (#45) --- 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 --------