Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the Jessie repo build broken? #13

Open
jjakim opened this issue Jan 26, 2017 · 4 comments
Open

Is the Jessie repo build broken? #13

jjakim opened this issue Jan 26, 2017 · 4 comments

Comments

@jjakim
Copy link

jjakim commented Jan 26, 2017

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
Copy link

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

@marthjod
Copy link

marthjod commented Apr 29, 2017

@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
Copy link

cipitaua commented Nov 2, 2021

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
Copy link

cipitaua commented Nov 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants