Am 21.12.2013 17:57, schrieb John Paul Adrian Glaubitz:
On 12/21/2013 05:35 PM, Thomas Arp wrote:O.K., here is my updated patch rebased against the current repo on github.Patch #4 currently breaks the build on Unix. The proper include path for libusb-1.0 is missing in the compiler command line. I haven't figured however, why this is happenning:
...
../libnetmd/libnetmd.h:35:20: fatal error: libusb.h: No such file or directory I'm pretty sure it's related to your hack to fix qmake on Windows. Adrian
Hm, Are you sure libusb.h is located anywhere your include path ? I didn't change/hack anything, just used use_libnetmd.prl the same way netmdcli uses it. I don't know what's wrong but it works fine on my ubuntu machine. libusb include and library paths should be handled by pkgconfig. Thomas