11-18-2015 11:51 AM
In a recent previous post I asked about using the d2xx ftdi drivers. I'm now at the stage of trying to install libusb (a dependent package) on my system.
I've installed the build tools:
opkg gcc gcc-symlinks
And I've downloaded the source from http://www.libusb.org/wiki/libusb-1.0 and put it on the target. Following the instructions in 'install' file I've then tried calling './configure' but get told 'permission denied'. I then tried running 'make install' but get told 'No rule to make target 'install'. Stop'.
I'm now stuck. Can anyone help me understand how to build & install the package please, I've not done it before.
Thanks,
Martin
Solved! Go to Solution.
11-18-2015 12:04 PM
If you are using the 2014 or 2015 software release on your target then I believe libusb is available in the feeds provided by NI and no compilation should be needed.
Try running:
opkg update
opkg install libusb-1.0-0
And if you want the development bits:
opkg install libusb-1.0-dev
11-18-2015 12:16 PM
I ran 'chmod a+x -R ./configure' which meant ./configure would then run although it reported an error.
11-18-2015 12:17 PM
Ahh great, thank you. I'd tried opkg install libusb but now libusb-1.1-0. That's installed now, great.
11-18-2015 01:08 PM
Sorry I didn't make that clearer in your previous post, MartinMcD. Thanks gratian.crisan