I need a helloworld project for using a libusb-1.0 on OpenWRT SDK. I want to compile the example of libusb library files to access usb device on my OpenWRT router. I have written an application to use libusb and to send commands to an external device. I managed to compile it on Ubuntu 16.04 with linked libusb-1.0.a file in the executable. Now I need to compile the source code for an .ipk file for OpenWRT for KVM_guest and ar9331 devices. I create makefile for that in the /package directory of my project directory but when I add the flags to the makefile for compiling I receive the following error during the compilation process ( undefined reference to `libusb_init'). So my compiler does not link the library correctly.
6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_18% %project_currencyDetails_sign_sub_19%/tunti tähän työhön
I have a previous experience with openwrt and lede projects. If you want I can send you some of my previous projects. If you are interested in - contact me.