mbuesch / razer

Razer device library and tools
http://bues.ch/h/razercfg
GNU General Public License v2.0
253 stars 50 forks source link

Doesn't compile on Ubuntu 13.10 #2

Closed josch1710 closed 11 years ago

mbuesch commented 11 years ago

So any chance you post the compiler output?

josch1710 commented 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.

mbuesch commented 11 years ago

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

josch1710 commented 11 years ago

I totally overlooked version 1.0. The default package is just a link to version 0.1. Now it works.