[Hackrf-dev] Error trying to build HackRF tools

Dominic Spill dominicgs at gmail.com
Fri May 8 17:15:42 EDT 2015


On 8 May 2015 at 21:14,  <heatingengineer at cfl.rr.com> wrote:
>
> Error is:
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> LIBUSB_INCLUDE_DIR (ADVANCED)
>    used as include directory in directory /root/hackrf_files/hackrf/host/libhackrf/src

This error occurs because you are missing the libusb header files.
They can be installed by running:
sudo apt-get install libusb-1.0-0-dev

Thanks,
  Dominic


More information about the HackRF-dev mailing list