Re: [linux-minidisc] netmd support for qhimdtransfer gui application


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:

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
-DVER="\"0.9.11-0-gf8ba927\"" -DBDATE="\"Sat 12/21/2013\"" -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I../libhimd
-I../libnetmd -I/usr/include/taglib -I. -I. -o main.o main.cpp
In file included from ../libnetmd/libnetmd_extended.h:5:0,
                 from ./qmdtrack.h:16,
                 from ./qmddevice.h:7,
                 from qhimddetection.h:7,
                 from qhimdmainwindow.h:9,
                 from main.cpp:4:
../libnetmd/libnetmd.h:35:20: fatal error: libusb.h: No such file or
directory
 #include <libusb.h>
                    ^
compilation terminated.
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/glaubitz/tmp/linux-minidisc/qhimdtransfer'
make: *** [sub-qhimdtransfer-make_default] Error 2

I'm pretty sure it's related to your hack to fix qmake on Windows.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913