xwiimote / xwiimote-bindings

Language bindings for the xwiimote package
Other
24 stars 10 forks source link

Is the Jessie repo build broken? #13

Open jjakim opened 7 years ago

jjakim commented 7 years ago

Xwiimote code compile on Jessie: sudo apt-get install xwiimote [played with hcitool] [played with xwiishow list] [played with xwiishow 1] [ played with sudo xwiishow 1 - to get rid of the warning in the application] So all this stuff works.

What I REALLY wanted - exposure to an API so I could USE the data for myself (in Perl) - seemed to elude me, until I found

xwiimote-bindings (dvdhrm) !

git clone ...xwiimote-bindings ./configure (no such file...) ./autogen.sh [both had things missing - I think this is where I fell down the rabbit hole...] While trying to compile, I found missing/unknown parts so I installed these prerequisites, compile, repeat. (no libxwiimote, no swig) sudo apt-get install dh-autoreconf sudo apt-get install libwiimote-dev sudo aot-get install swig FINALLY - it compiled. I can Make.... no I can't. (no Python.h) sudo apt-get install python-dev Fails with XWII_ABS_NUM (and a whole lot more...) undefined.

Only one note (Issue 3) seemed to relate. And I see that xwii_abs_num is defined in xwiimote.h (at least in the source, remember I loaded from the repository (version issue?) The 'solution' in #3 was to go back unplug everything and hand-compile wiimote...does this mean the build in the repo is broken? Am I missing something?

barnabuskev commented 7 years ago

Have a look at my install instructions for python. It might help. https://github.com/barnabuskev/wiicop

marthjod commented 7 years ago

@jjakim I also had to uninstall the Jessie repo-provided xwiimote (whose xwiimote.h lacks at least XWII_ABS_NUM) and manually build and install xwiimote before being able to build xwiimote-bindings. Thanks for the pointer, I guess ;)

cipitaua commented 2 years ago

Hello, I'm on ubuntu devel, I have manually compiled xwiimote, and I get errors during compilation of xwiimote-bindings (see attached log). Any suggestion? Thanks in advance

log.make.txt

cipitaua commented 2 years ago

never mind, I've managed to compile by manually compiling also xwiimote, instead of using distro packages