How to enable usrp1 in building uhd?

I am trying uhd with my usrp1. However, when I do cmake, it reported
that “usrp1 support disabled by configure flag”.
usrp2 is enabled.
It seems to me usrp1 is disabled by default?
If I need to give some flags to cmake to enable usrp1?
I have no experience in cmake before.
Please help
Thanks
Kyle

~/uhd/host/build$ cmake …/
– Checking for git
– Checking for git - found
– Version: 20101102.160520.082f619
– Using install prefix: /usr/local
– Build type not specified: defaulting to release.
– Checking for rst2html (docutils)
– Checking for rst2html (docutils) - found
– Enabled generation of HTML manual.
– Enabled generation of Doxygen documentation.
– Python checking for Python version 2.6 or greater
– Python checking for Python version 2.6 or greater - found
– Python checking for Cheetah templates 2.0.0 or greater
– Python checking for Cheetah templates 2.0.0 or greater - found
– Has USB support - found
– Configuring interface address discovery…
– Interface address discovery supported through getifaddrs.
– Configuring USRP1 support…
– USRP1 support disabled by configure flag
– Skipping USRP1 support.
– Configuring USRP2 support…
– USRP2 support enabled by configure flag
– Building USRP2 support.

So its looks like it found USB support. My guess is that you ran the
configure again after installing libusb1.0. Either remove the
CMakeCache.txt and re-run cmake, or run the cmake command with the
option -DENABLE_USRP1=TRUE

-Josh

or run cmake-gui and check the box for usrp1 :slight_smile:

-Josh