Closed josch1710 closed 11 years ago
After I changed libusb.h to usb.h in CMakeLists.txt
, I could run cmake.
After that I get:
[ 5%] Generate PM hook pathreplace: template=/home/jochen/razer/pm-hook.sh.template target=/home/jochen/razer/pm-hook.sh instdir=/usr/local [ 5%] Built target razer_pm_hook [ 10%] Generate udev rules pathreplace: template=/home/jochen/razer/udev.rules.template target=/home/jochen/razer/udev.rules instdir=/usr/local [ 10%] Built target razer_udev_rules [ 15%] Building C object librazer/CMakeFiles/razer.dir/buttonmapping.o In file included from /home/jochen/razer/librazer/buttonmapping.h:4:0, from /home/jochen/razer/librazer/buttonmapping.c:17: /home/jochen/razer/librazer/razer_private.h:72:34: error: field ‘old_desc’ has incomplete type struct libusb_device_descriptor old_desc; ^ make[2]: *** [librazer/CMakeFiles/razer.dir/buttonmapping.o] Fehler 1 make[1]: *** [librazer/CMakeFiles/razer.dir/all] Fehler 2
The lib version seems to be 0.1.12.
On Wed, 20 Nov 2013 23:57:28 -0800 josch1710 notifications@github.com wrote:
The lib version seems to be 0.1.12.
Please install libusb 1.x
I totally overlooked version 1.0. The default package is just a link to version 0.1. Now it works.
So any chance you post the compiler output?