I am not having any luck using make on either the lib or app directories for linux.
The Makefile references ../src and ../boot which are not in the download.
I get libsub.c:39:21: fatal error: libusb.h: No such file or directory.
Similar problems in the apps dir.
Any thoughts?
Compile on Linux/Fedora
Moderator: serg
Re: Compile on Linux/Fedora
You have to install libusb first.
http://libusb.wiki.sourceforge.net/
http://libusb.wiki.sourceforge.net/
Re: Compile on Linux/Fedora
For Fedora go to Add/Remove software and install the "Development files for libusb"
libusb1-devel-1.0.6.1.fc12. By default it installed under /usr, so go to sub20 lib directory
Modify the Makefile by changing the include path from /usr/local/include/libusb-1.0 -> /usr/include/libusb-1.0
libusb1-devel-1.0.6.1.fc12. By default it installed under /usr, so go to sub20 lib directory
Modify the Makefile by changing the include path from /usr/local/include/libusb-1.0 -> /usr/include/libusb-1.0
Code: Select all
make
cd ../app
make