Alright. Trying again to build libfreenect from the repo, Make does output an error :
❯ make
Scanning dependencies of target freenectstatic
[ 1%] Building C object src/CMakeFiles/freenectstatic.dir/core.c.o
[ 3%] Building C object src/CMakeFiles/freenectstatic.dir/tilt.c.o
[ 5%] Building C object src/CMakeFiles/freenectstatic.dir/cameras.c.o
/home/pm/libfreenect/src/cameras.c:74:34: attention: « invalid_mode » défini mais pas utilisé [-Wunused-const-variable=]
74 | static const freenect_frame_mode invalid_mode = {0, (freenect_resolution)0, {(freenect_video_format)0}, 0, 0, 0, 0, 0, 0, 0};
| ^~~~~~~~~~~~
[ 7%] Building C object src/CMakeFiles/freenectstatic.dir/flags.c.o
[ 9%] Building C object src/CMakeFiles/freenectstatic.dir/usb_libusb10.c.o
[ 11%] Building C object src/CMakeFiles/freenectstatic.dir/registration.c.o
[ 13%] Building C object src/CMakeFiles/freenectstatic.dir/audio.c.o
[ 15%] Building C object src/CMakeFiles/freenectstatic.dir/loader.c.o
/home/pm/libfreenect/src/loader.c:82:12: attention: « check_version_string » défini mais pas utilisé [-Wunused-function]
82 | static int check_version_string(fnusb_dev* dev) {
| ^~~~~~~~~~~~~~~~~~~~
[ 16%] Linking C static library ../lib/libfreenect.a
[ 16%] Built target freenectstatic
Scanning dependencies of target freenect
[ 18%] Building C object src/CMakeFiles/freenect.dir/core.c.o
[ 20%] Building C object src/CMakeFiles/freenect.dir/tilt.c.o
[ 22%] Building C object src/CMakeFiles/freenect.dir/cameras.c.o
/home/pm/libfreenect/src/cameras.c:74:34: attention: « invalid_mode » défini mais pas utilisé [-Wunused-const-variable=]
74 | static const freenect_frame_mode invalid_mode = {0, (freenect_resolution)0, {(freenect_video_format)0}, 0, 0, 0, 0, 0, 0, 0};
| ^~~~~~~~~~~~
[ 24%] Building C object src/CMakeFiles/freenect.dir/flags.c.o
[ 26%] Building C object src/CMakeFiles/freenect.dir/usb_libusb10.c.o
[ 28%] Building C object src/CMakeFiles/freenect.dir/registration.c.o
[ 30%] Building C object src/CMakeFiles/freenect.dir/audio.c.o
[ 32%] Building C object src/CMakeFiles/freenect.dir/loader.c.o
/home/pm/libfreenect/src/loader.c:82:12: attention: « check_version_string » défini mais pas utilisé [-Wunused-function]
82 | static int check_version_string(fnusb_dev* dev) {
| ^~~~~~~~~~~~~~~~~~~~
[ 33%] Linking C shared library ../lib/libfreenect.so
[ 33%] Built target freenect
Scanning dependencies of target freenect-hiview
[ 35%] Building C object examples/CMakeFiles/freenect-hiview.dir/hiview.c.o
Dans le fichier inclus depuis /usr/include/GL/glut.h:17,
depuis /home/pm/libfreenect/examples/hiview.c:42:
/usr/include/GL/freeglut_std.h:144:13: erreur fatale: GL/glu.h : Aucun fichier ou dossier de ce type
144 | # include <GL/glu.h>
| ^~~~~~~~~~
compilation terminée.
make[2]: *** [examples/CMakeFiles/freenect-hiview.dir/build.make:82 : examples/CMakeFiles/freenect-hiview.dir/hiview.c.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:305 : examples/CMakeFiles/freenect-hiview.dir/all] Erreur 2
make: *** [Makefile:149 : all] Erreur 2