usb.h No such file or directory

i enterd following command in wsl terminal

make

and i got following error

cc -W -Wall -O2 -pedantic -std=c99 -DVERSION=\"0.10\" -DBUILD_DATE="\"Mar 30 2026\"" -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -c -o main.o main.c
In file included from operations.h:24,
                 from main.c:37:
usb-device.h:30:10: fatal error: usb.h: No such file or directory
   30 | #include <usb.h>
      |          ^~~~~~~
compilation terminated.
make: *** [Makefile:42: main.o] Error 1

solution

this line tells the error "usb.h: No such file or directory"
that means libusb is not installed. it must be installed to compile oxfff tool.
it is mentioned in documentation of that tool

 sudo apt install libusb-dev
Powered by Forestry.md