discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building under FreeBSD


From: Josh Blum
Subject: Re: [Discuss-gnuradio] building under FreeBSD
Date: Fri, 06 Jan 2012 09:45:12 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0


On 01/06/2012 06:27 AM, LRK wrote:
> On Thu, Jan 05, 2012 at 03:18:02PM -0800, Josh Blum wrote:
>>
>>> Best I can make out the cmake stuff, if it doesn't find libusb-1.0 it
>>> does not build. Never looks for any libusb libraries in /usr/lib/ or
>>> /usr/local/lib.
>>
>> Since there is no pc file, you have to manually point cmake to the
>> libusb1.0 install. You might try this (I assume thats the correct lib):
>>
>> cmake -DLIBUSB_INCLUDE_DIR=/usr/include
>> -DLIBUSB_LIBRARIES=/usr/lib/libusb.so <src_dir>
> 
> We are still talking about FreeBSD 8.x here, there IS NO libusb-1.0!
> 

Doesnt matter. There is a libusb 1.0 compatible header. Tell cmake how
to find it with the command above; uhd will configure usb support and
compile. But can the library talk to the usrp?

-Josh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]