[Hackrf-dev] Cmake issues with libhackrf on Ubuntu 12.04

Scott Jordan msc0ttj1996 at gmail.com
Tue Jun 18 14:37:43 EDT 2013


HI, i'm running ubuntu 12.04 on my machine and when i try to install
libhackrf, cmake always gives me this:

scott at 14r:~/Desktop/hackrf-master/host$ cmake ./
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- checking for module 'libusb-1.0'
-- package 'libusb-1.0' not found
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
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
/home/scott/Desktop/hackrf-master/host/libhackrf
used as include directory in directory
/home/scott/Desktop/hackrf-master/host/libhackrf/src
LIBUSB_LIBRARIES (ADVANCED)
linked by target "hackrf" in directory
/home/scott/Desktop/hackrf-master/host/libhackrf/src

-- Configuring incomplete, errors occurred!





I don't know if anyone else has this issue or if i need to use a different
linux distro or what.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20130618/c1be5b31/attachment.htm


More information about the HackRF-dev mailing list