Page 1 of 1

Compile on Linux/Fedora

Posted: Sat Jan 22, 2011 11:38 pm
by obsidian
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?

Re: Compile on Linux/Fedora

Posted: Sun Jan 23, 2011 3:09 am
by xol
You have to install libusb first.
http://libusb.wiki.sourceforge.net/

Re: Compile on Linux/Fedora

Posted: Sun Jan 23, 2011 4:11 am
by serg
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

Code: Select all

make
cd ../app
make