AWPStar wrote:New problem.
Looks like you are still missing some library(libraries) to link. Again, which libraries did you link when compiling the C code you mentioned? Just use the same with FB your FB code.
Alternatively "pkg-config --libs libusb-1.0" may help to find out the needed libraries.
//edit: OR the method name is just wrong.
When looking at
http://libusb.sourceforge.net/api-1.0/api.html this seems to be the case. There's only "libusb_init", but no "usb_init".
//edit2: I just looked at the headers in the first post in this thread: they are outdated and do not match the current version of libusb. I guess they were translated for libusb 0.1, which seemed to use a different API.
You can't use those old headers. I'd suggest recreating the headers from scratch as there are so many differences.