On Apr 10, 2007, at 7:01 AM, Patco wrote:
marius schebella a écrit :
Patco wrote:
For the moment there is no chance that this patch works on
windows unless it's possible to provide hid.dll,did not know that hid is not working???
I tried to compile hid for windows but I couldn't resolve this:
$ make make -C /home/pat/externals hid make[1]: Entering directory
/home/pat/externals' gcc -DPD -O3 -funroll-loops -fomit-frame-pointer -I/home/pat/pd/src -W -ggdb -mms-bitfields -DMSW -DNT -D'O_NONBLOCK=1' -D'srand48(n) =srand((n))' -D'drand48()=((double)rand()/RAND_MAX)' -D'bzero(p,n) =memset(p,0,n)' -o "/home/pat/externals/hcs/hid/input_arrays.o" -c "/home/pat/externals/hcs/hid/input_arrays.c" gcc -DPD -O3 -funroll-loops -fomit-frame-pointer -I/home/pat/pd/src -W -ggdb -mms-bitfields -DMSW -DNT -D'O_NONBLOCK=1' -D'srand48(n) =srand((n))' -D'drand48()=((double)rand()/RAND_MAX)' -D'bzero(p,n) =memset(p,0,n)' -o "/home/pat/externals/hcs/hid/hid_windows.o" -c "/home/pat/externals/hcs/hid/hid_windows.c" C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: In function
hid_print_element_list': C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:75: error:
LOG_DEBUG' undeclared (first use in this function) C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:75: error: (Each undeclared identifier is reported only once C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:75: error: for each function it appears in.) C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: At top level: C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:250: error: conflicting types for 'hid_get_events' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:122: error: previous declaration of 'hid_get_events' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:250: error: conflicting types for 'hid_get_events' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:122: error: previous declaration of 'hid_get_events' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:258: error: conflicting types for 'hid_open_device' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:119: error: previous declaration of 'hid_open_device' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:258: error: conflicting types for 'hid_open_device' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:119: error: previous declaration of 'hid_open_device' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: In function
hid_open_device': C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:259: error:
LOG_DEBUG' undeclared (first use in this function) C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: In function
hid_close_device': C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:269: error:
LOG_DEBUG' undeclared (first use in this function) C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: At top level: C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:278: error: conflicting types for 'hid_build_device_list' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:121: error: previous declaration of 'hid_build_device_list' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:278: error: conflicting types for 'hid_build_device_list' C:/msys/1.0/home/pat/externals/hcs/hid/hid.h:121: error: previous declaration of 'hid_build_device_list' was here C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: In function
hid_build_device_list': C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:279: error:
LOG_DEBUG' undeclared (first use in this function) C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c: In function
hid_platform_specific_free': C:/msys/1.0/home/pat/externals/hcs/hid/hid_windows.c:324: error:
LOG_DEBUG' undeclared (first use in this function) make[1]: *** [/home/pat/externals/hcs/hid/hid_windows.o] Error 1 make[1]: Leaving directory
/home/pat/externals' make: *** [default] Error 2Do I have to install DDK or something?
[hid] was never ported to Windows. You can try externals/io/hidio,
but I don't think that's complete yet.
.hc
PC.
kill your television