Forum Discussion
Altera_Forum
Honored Contributor
12 years agoPlease try adding the following lines to (the beginning of) your Makefile
(sorry, I can't make sure it works without your setup)
LDFLAGS = -L/path/to/libusb/dir -lusb
CFLAGS = -I/path/to/libusb/include/dir
Also, make sure you have cross-compiled libusb within the nios2-uclinux environment. If you compile libusb for your system by simply typing "make" from the libusb source dir it won't ever work on uclinux.