[USRP-users] No UHD Devices Found (USRP1)
steven.p.clark at gmail.com
Thu Nov 11 15:33:44 EST 2010
> did you install the development files for libusb1? the *-dev packages, same
> as with gnuradio
I decided to ignore what yum was saying and explicitly install the version
of libusb linked from http://www.ettus.com/uhd_docs/manual/html/build.html
Still it complained:
[foo at bar build]$ cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
-- checking for module 'libusb-1.0'
-- package 'libusb-1.0' not found
-- Could NOT find LIBUSB (missing: LIBUSB_INCLUDE_DIR)
-- Has USB support - not found
-- Configuring interface address discovery...
-- Interface address discovery supported through getifaddrs.
-- Configuring USRP1 support...
-- USRP1 support enabled by configure flag
CMake Error at lib/usrp/usrp1/CMakeLists.txt:38 (MESSAGE):
USRP1 support enabled without USB support
Call Stack (most recent call first):
-- Configuring incomplete, errors occurred!
Finally I tried:
cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
and this seemed to make cmake happy.
Now I'm on to:
linux; GNU C++ version 4.4.4 20100630 (Red Hat 4.4.4-10); Boost_104100;
Could not locate USRP1 firmware.
Please install the images package.
No UHD Devices Found
After some head-scratching I followed the README in uhd/images, using:
cmake -DCPACK_GENERATOR=RPM ../
sudo rpm -i UHD-images-20101109.230702.c0dfc2c-Linux.rpm
Finally, uhd_find_devices found my usrp1.
Thanks for your help!
(10 minutes of adding a few more notes to the install guide could save hours
of answering questions from befuddled users like me in the months to come :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users