On Fri, Jan 6, 2012 at 12:45 PM, Josh Blum
<address@hidden> wrote:
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
Issue 481 on Redmine discusses a problem with the gr_vector_source in FreeBSD. See my response:
I'd like to get more information about what's going on here with FreeBSD and why the std::invalid_argument exception isn't being handled properly.
Thanks,
Tom