I'm trying to get DCLED working, which is a small USB connected LED display - https://github.com/kost/dcled
This chap did it - http://through-the-interface.typepad.com/through_the_interface/2012/10/creating-a-face-recognising-security-cam-with-a-raspberry-pi-part-4.html
but the instructions are incomplete for those without all the right dependencies.
I've compiled the dcled stuff just fine, but I've just had so much trouble trying to get one of it's dependencies, LibHid compiled and working it's borderline ridiculous.
LibHid isn't available as an apt-get thing, so I got hold of the sources from libhid.alioth.debian.org.
I'm using a recent (october I think) image of Raspbian from this very site.
Upon compilation I came across a lot of dependency issues, and made sure I have LibUsb and LibUsb-Dev along with it of various versions.
./configure seemed to work without issue, but this is what I see during make -
root@raspberrypi:~/kost-dcled-c819fec/libhid-0.2.16# make
make all-recursive
make[1]: Entering directory `/root/kost-dcled-c819fec/libhid-0.2.16'
Making all in hidparser
make[2]: Entering directory `/root/kost-dcled-c819fec/libhid-0.2.16/hidparser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/kost-dcled-c819fec/libhid-0.2.16/hidparser'
Making all in src
make[2]: Entering directory `/root/kost-dcled-c819fec/libhid-0.2.16/src'
make[2]: Leaving directory `/root/kost-dcled-c819fec/libhid-0.2.16/src'
Making all in test
make[2]: Entering directory `/root/kost-dcled-c819fec/libhid-0.2.16/test'
make[3]: Entering directory `/root/kost-dcled-c819fec/libhid-0.2.16/src'
make[3]: Leaving directory `/root/kost-dcled-c819fec/libhid-0.2.16/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -I../include -I../hidparser -O2 -Wall -W -Werror -MT lshid.o -MD -MP -MF ".deps/lshid.Tpo" -c -o lshid.o lshid.c; \
then mv -f ".deps/lshid.Tpo" ".deps/lshid.Po"; else rm -f ".deps/lshid.Tpo"; exit 1; fi
lshid.c: In function âdevice_iteratorâ:
lshid.c:32:87: error: parameter âlenâ set but not used [-Werror=unused-but-set-parameter]
cc1: all warnings being treated as errors
make[2]: *** [lshid.o] Error 1
make[2]: Leaving directory `/root/kost-dcled-c819fec/libhid-0.2.16/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kost-dcled-c819fec/libhid-0.2.16'
make: *** [all] Error 2
root@raspberrypi:~/kost-dcled-c819fec/libhid-0.2.16#
Can anybody help out please, this isn't my area of expertise?
Thanks!
Stu