# How to enable usrp1 in building uhd?

**URL:** <https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671>\
**Category:** GNU Radio\
**Created:** [November 5, 2010, 5:15am UTC](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671 "2010-11-05T05:15:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 5, 2010, 5:15am UTC](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671/1 "2010-11-05T05:15:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kyle\_Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/6f9a4e/32.png) [@Kyle\_Z](https://www.ruby-forum.com/u/Kyle_Z)\
**Post date:** [November 5, 2010, 6:17am UTC](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671/2 "2010-11-05T06:17:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kyle\_Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/6f9a4e/32.png) [@Kyle\_Z](https://www.ruby-forum.com/u/Kyle_Z)\
**Post date:** [November 5, 2010, 6:20am UTC](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671/3 "2010-11-05T06:20:20Z")

</div>

or run cmake-gui and check the box for usrp1 🙂

-Josh
