usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

UHD Build problems on Ubuntu Karmic after enabling USRP1 support

JS
John Shields
Mon, Dec 20, 2010 6:51 AM

First issue is that I received a 'could not find libusb 1.0' even though it was there and I installed the -dev and the cmake ran fine except that it disabled USRP1 - here is the output:

-- Configuring USB support...
-- checking for module 'libusb-1.0'
--  found libusb-1.0, version 1.0.1
-- Found LIBUSB: /usr/lib/libusb-1.0.so
-- USB support enabled via libusb.

--
-- Configuring interface address discovery...
--  Interface address discovery supported through getifaddrs.

-- Configuring USRP1 support...
-- USRP1 support configured ENABLE_USRP1=OFF
--  Disabling USRP1 support.

-- Configuring USRP2 support...
-- USRP2 support configured ENABLE_USRP2=ON
--  Enabling USRP2 support.

-- Configuring USRP-E100 support...
-- USRP-E100 support configured ENABLE_USRP_E100=OFF
--  Disabling USRP-E100 support.

-- Configuring priority scheduling...
--  Priority scheduling supported through pthread_setschedparam.

I read Josh Blums post on Guy Fawkes day on how to enable usrp1 support in UHD and one recommendation was to delete CMakeCache.txt and rerun cmake which I did but now I get:

-- Configuring USB support...
-- checking for module 'libusb-1.0'
--  found libusb-1.0, version 1.0.1
-- Found LIBUSB: /usr/lib/libusb-1.0.so
-- USB support enabled via libusb.

-- Looking for C++ include emmintrin.h
-- Looking for C++ include emmintrin.h - not found
-- Looking for C++ include arm_neon.h
-- Looking for C++ include arm_neon.h - not found

-- Configuring interface address discovery...
-- Looking for C++ include ifaddrs.h
-- Looking for C++ include ifaddrs.h - found
-- Looking for C++ include winsock2.h
-- Looking for C++ include winsock2.h - not found

but, on the good side, I get Enabling USRP1 support so something is working well. The worry thing is that at least some of these missing file diags were output when I first ran it i.e. when it could not find libusb 1.0

Here's hoping someone can tell me where I am going wrong.

Very Kind Regards,

                       John
First issue is that I received a 'could not find libusb 1.0' even though it was there and I installed the -dev and the cmake ran fine except that it disabled USRP1 - here is the output: -- Configuring USB support... -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.1 -- Found LIBUSB: /usr/lib/libusb-1.0.so -- USB support enabled via libusb. -- -- -- Configuring interface address discovery... -- Interface address discovery supported through getifaddrs. -- -- Configuring USRP1 support... -- USRP1 support configured ENABLE_USRP1=OFF -- Disabling USRP1 support. -- -- Configuring USRP2 support... -- USRP2 support configured ENABLE_USRP2=ON -- Enabling USRP2 support. -- -- Configuring USRP-E100 support... -- USRP-E100 support configured ENABLE_USRP_E100=OFF -- Disabling USRP-E100 support. -- -- Configuring priority scheduling... -- Priority scheduling supported through pthread_setschedparam. I read Josh Blums post on Guy Fawkes day on how to enable usrp1 support in UHD and one recommendation was to delete CMakeCache.txt and rerun cmake which I did but now I get: -- Configuring USB support... -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.1 -- Found LIBUSB: /usr/lib/libusb-1.0.so -- USB support enabled via libusb. -- -- Looking for C++ include emmintrin.h -- Looking for C++ include emmintrin.h - not found -- Looking for C++ include arm_neon.h -- Looking for C++ include arm_neon.h - not found -- -- Configuring interface address discovery... -- Looking for C++ include ifaddrs.h -- Looking for C++ include ifaddrs.h - found -- Looking for C++ include winsock2.h -- Looking for C++ include winsock2.h - not found but, on the good side, I get Enabling USRP1 support so something is working well. The worry thing is that at least some of these missing file diags were output when I first ran it i.e. when it could not find libusb 1.0 Here's hoping someone can tell me where I am going wrong. Very Kind Regards, John
JB
Josh Blum
Mon, Dec 20, 2010 9:29 AM

On 12/19/2010 10:51 PM, John Shields wrote:

First issue is that I received a 'could not find libusb 1.0' even
though it was there and I installed the -dev and the cmake ran fine
except that it disabled USRP1 - here is the output:

Previously, if usb support was disabled and became enabled, it would
remember that the usrp1 support was disabled and keep it disabled.

I just pushed a change to the uhd repo that makes use of the dependent
option macro to create a better component registry for uhd.

-- Configuring USB support... -- checking for module 'libusb-1.0' --
found libusb-1.0, version 1.0.1 -- Found LIBUSB:
/usr/lib/libusb-1.0.so -- USB support enabled via libusb.

This is the output of my configure for you to compare (ubuntu 10.10):

http://pastebin.com/tSBk77pb

-Josh

On 12/19/2010 10:51 PM, John Shields wrote: > First issue is that I received a 'could not find libusb 1.0' even > though it was there and I installed the -dev and the cmake ran fine > except that it disabled USRP1 - here is the output: > Previously, if usb support was disabled and became enabled, it would remember that the usrp1 support was disabled and keep it disabled. I just pushed a change to the uhd repo that makes use of the dependent option macro to create a better component registry for uhd. > -- Configuring USB support... -- checking for module 'libusb-1.0' -- > found libusb-1.0, version 1.0.1 -- Found LIBUSB: > /usr/lib/libusb-1.0.so -- USB support enabled via libusb. > > This is the output of my configure for you to compare (ubuntu 10.10): http://pastebin.com/tSBk77pb -Josh
JS
John Shields
Tue, Dec 21, 2010 7:55 AM

Thanks Josh, I fetched your update and the cmake works like a charm ( i.e.
it enables USRP1 and doesn't have cannot find .h issues).

     Great Support,

             Kind Regards,

                      John

----- Original Message -----
From: "Josh Blum" josh@ettus.com
To: usrp-users@lists.ettus.com
Sent: Monday, December 20, 2010 10:29 PM
Subject: Re: [USRP-users] UHD Build problems on Ubuntu Karmic after enabling
USRP1 support

On 12/19/2010 10:51 PM, John Shields wrote:

First issue is that I received a 'could not find libusb 1.0' even
though it was there and I installed the -dev and the cmake ran fine
except that it disabled USRP1 - here is the output:

Previously, if usb support was disabled and became enabled, it would
remember that the usrp1 support was disabled and keep it disabled.

I just pushed a change to the uhd repo that makes use of the dependent
option macro to create a better component registry for uhd.

-- Configuring USB support... -- checking for module 'libusb-1.0' --
found libusb-1.0, version 1.0.1 -- Found LIBUSB:
/usr/lib/libusb-1.0.so -- USB support enabled via libusb.

This is the output of my configure for you to compare (ubuntu 10.10):

http://pastebin.com/tSBk77pb

-Josh


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 1435/3326 - Release Date: 12/19/10

Thanks Josh, I fetched your update and the cmake works like a charm ( i.e. it enables USRP1 and doesn't have cannot find .h issues). Great Support, Kind Regards, John ----- Original Message ----- From: "Josh Blum" <josh@ettus.com> To: <usrp-users@lists.ettus.com> Sent: Monday, December 20, 2010 10:29 PM Subject: Re: [USRP-users] UHD Build problems on Ubuntu Karmic after enabling USRP1 support > > > On 12/19/2010 10:51 PM, John Shields wrote: >> First issue is that I received a 'could not find libusb 1.0' even >> though it was there and I installed the -dev and the cmake ran fine >> except that it disabled USRP1 - here is the output: >> > > Previously, if usb support was disabled and became enabled, it would > remember that the usrp1 support was disabled and keep it disabled. > > I just pushed a change to the uhd repo that makes use of the dependent > option macro to create a better component registry for uhd. > >> -- Configuring USB support... -- checking for module 'libusb-1.0' -- >> found libusb-1.0, version 1.0.1 -- Found LIBUSB: >> /usr/lib/libusb-1.0.so -- USB support enabled via libusb. >> >> > > This is the output of my configure for you to compare (ubuntu 10.10): > > http://pastebin.com/tSBk77pb > > -Josh > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1170 / Virus Database: 1435/3326 - Release Date: 12/19/10 >